Closed

AT Commands AT+CMGS" SEND SHORT MESSAGE"

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
7 answers Last reply
More about commands cmgs quot send short message quot
  1. 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.
  2. 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...
  3. 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.


    here wat is that hp number.. is that phone number..?
  4. what is the syntax of at*psstk="get input"?

    AT*PSSTKI=1
    OK
    AT+CMGF=1
    OK
    AT*PSSTK="SETUP MENU",1,1
    OK

    *PSSTK: "END SESSION"
    AT*PSSTK="GET ITEM LIST",8
    *PSSTK: "GET ITEM LIST",1,1,4,"Top-Up Customer",0,0,0

    *PSSTK: "GET ITEM LIST",2,2,4,"Top-Up Retailer",0,0,0

    OK
    AT*PSSTK="MENU SELECTION",1
    OK

    *PSSTK: "SELECT ITEM",1,4,"Top-Up Customer",0,0,1,0,0,6
    AT*PSSTK="GET ITEM LIST",6
    *PSSTK: "GET ITEM LIST",1,1,4,"Balance Transfer",0,0,0

    *PSSTK: "GET ITEM LIST",2,2,4,"Balance Inquiry",0,0,0

    *PSSTK: "GET ITEM LIST",3,3,4,"Last Transaction",0,0,0

    *PSSTK: "GET ITEM LIST",4,4,4,"Check Trans ID",0,0,0

    *PSSTK: "GET ITEM LIST",5,5,4,"Change PIN",0,0,0

    *PSSTK: "GET ITEM LIST",6,6,4,"U-Top Up Help Line",0,0,0

    OK
    AT*PSSTK="SELECT ITEM",1,2,0,0
    OK

    *PSSTK: "GET INPUT",1,0,4,0,4,"Enter Customer Mobile Number",0,0,255,"",11,11,0


    *PSSTK: "GET INPUT",1,0,4,0,4,"Enter Top-Up Amount",0,0,255,"",2,4,0
    AT*PSSTK="GET INPUT",1,4,"03425100762",0,0
    ERROR

    plz tell me the exact syntax of get input so that error didnot occur

    Thanks
  5. I have written very detailed article on how to send long SMS using AT Commands.

    Please refer http://hiteshagja.com/send-long-sms/
  6. hi,
    usman

    I have fetch same problem with get input command.

    did get any solution. now I'm stuck in this stage.

    If you share any kinds of information that will very honor me.


    Thanks and regards
    ASM
  7. This topic has been closed by Buwish
Ask a new question

Read More

GSM Command Prompt Memory