You Are Here:

Community: Developer Discussion Boards

#1 Old escape sequences - 1970-01-01, 02:00

Join Date: Mar 2003
Posts: 10
baumi78
Offline
Registered User
Hello everybody!

I want to send a sms via a java application directly to the com-port of my notebook (where a 6310 waits for AT-commands). Therefore I want to use the command CMGS. To indicate the end of my sms text I have to send <ctr-Z/ESC> to my nokia 6310. Does anyone know how to do this??

Another question is: what exactly is the difference between AT+CMGS and AT+CMGC ??

Thanks in advance
baumi
Reply With Quote

#2 Old RE: escape sequences - 1970-01-01, 02:00

Join Date: Mar 2003
Posts: 1,839
Location: Tampere / Finland
auvinent's Avatar
auvinent
Offline
Forum Nokia Expert
Hello!

As I'm not a Java expert I don't know how you should form the ESC character, but as a hex it should be 0x1a or 26d decimal notation.

+CMGC command sends a command message from a TE to the network (SMS-COMMAND). The entering of text (GSM 03.40 TP-Command-Data) is done similarly as specified in command Send Message +CMGS, but the format is fixed to be a sequence of two IRA character long hexadecimal numbers which terminal converts into 8-bit octets. Message reference value <mr> is returned to the TE on successful message delivery. Optionally (when +CSMS <service> value is 1 and network supports) <scts> is returned. Values can be used to identify message upon unsolicited delivery status report result code.

Teemu / Forum Nokia
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules

You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia