Tom's Guide > Forum > Mobility Technologies > GSM > AT Commands AT+CMGS" SEND SHORT MESSAGE"

AT Commands AT+CMGS" SEND SHORT MESSAGE"

Forum Mobility Technologies : GSM - AT Commands AT+CMGS" SEND SHORT MESSAGE"

TomsGuide.com: Over 800,000 questions and answers to address all your high-tech questions. Sign up now! Its free!
Word :    Username :           
 

hi friends

i am begineer in using at command.
till now i am suceeded in reading sms form sim memory and succeded in receiving the sms.

now i stuck with at+CMGS and AT+CMGC.
"
Write Command
If text mode (seeAT+CMGF=1)
AT+CMGS=<da>[, <toda>]<CR> Text can be entered. <CTRL-Z>/<ESC>
Response(s)
+CMGS: <mr>[, <scts>]
OK

"

What does this "da" and "toda" means .

plus where can i find good stuff regarding AT SMS commands.

ranjha

Sponsored Links
Register or log in to remove.

the simplest way to send SMS is just as follows:

Step (1):To set the format to text
AT+CMGF=1, then press Enter

Step (2):Set the receiver HP number
AT+CMGS=0123456789, then Enter

Step (3):Set the Message
Just key in the message then Ctrl+Z when done.

Reply to leonghz

Quote :

hi friends

i am begineer in using at command.
till now i am suceeded in reading sms form sim memory and succeded in receiving the sms.

now i stuck with at+CMGS and AT+CMGC.
"
Write Command
If text mode (seeAT+CMGF=1)
AT+CMGS=<da>[, <toda>]<CR> Text can be entered. <CTRL-Z>/<ESC>
Response(s)
+CMGS: <mr>[, <scts>]
OK

"

What does this "da" and "toda" means .

plus where can i find good stuff regarding AT SMS commands.

ranjha



buddy.. here da simply means "dastination address" ur mobile number
toda means "type of destination" eg: national,international,ISDN,Unknown etc...

Reply to super_byte

The following documents explains how to send SMS using at commands ( also unicode, other VP paramaters etc ):

http://www.smssolutions.net/tutorials/gsm/sendsmsat/

Reply to shibbyonline

If you don't have a lot of time it could be a good idea to use an SMS gateway, such as the Ozeki SMS Sending and SMS receiving Gateway available at http://www.ozekisms.com/sms_sending_software/index.php, because it does a lot of things that is very hard to implement: character conversion to unicode SMS messages, GSM 7 bit, segmentation and reassembly for multipart SMS messages with 8 bit reference numbering and 16 bit reference numbering, message delivered to network report, message delivered to handset report, message delivery failed report, etc. Not to talk about long term upgrade.

Tipp: In the trial version you can enable low level communication logging in the GSM modem connection, which gives you the ability to see what the software does. How it encodes the PDU-s. This is a good way to do some reverse engineering to see how to send SMS PDU's with AT+CMGS commands.

If you do a system now with a GSM modem, it might be possible that you will have to upgrade in the long term to higher capcity IP SMS connection, such as SMPP sms sending, UCP sms sending or CIMD2 sms sending. Remember, a GSM modem can only send 10 SMS meessages per minute, while an IP SMS connection will allow you to send 3000 or more SMS messages per minute. If you use an SMS Gateway, this upgrade can be done with a simple configuration.

Reply to willamike
Tom's Guide > Forum > Mobility Technologies > GSM > AT Commands AT+CMGS" SEND SHORT MESSAGE"
Go to:

There are 21 identified and unidentified users. To see the list of identified users, Click here.

Please mind

You are about to answer a thread that has been inactive for more than 6 months.
If you still wish to proceed, please ensure that your posting is original and does not duplicate or overlap any prior responses to this thread.

Add a reply Cancel
Google ads