Wavecom G900 Instrukcja Użytkownika Strona 35

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 67
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 34
Wavecom GSM Modem
This confidential document is the property of WAVECOM and may not be copied or circulated without permission
35
Application to GSM AT+CMGS="+33146290800"<CR>
Hello, how are you ?^Z
Send a message in text
mode
GSM to application +CMGS : 116
OK
Successful transmission
GSM to application +CDS : 2,116, "+33146290800",145,
"13/01/96 12h30m00s","14/01/96
20h51m05s",16
5.10. Read message +CMGR
This command allows the application to read incoming stored messages.
AT+CMGR=<index>
+CMGR=<stat>,<oa>,<scts>[,<tooa>,<fo>,<pid>,<dcs>,<sca>,<tosca>,
<length>]<CR><LF><data> (for SMS-DELIVER only)
This command is also available in PDU mode.
+CMGR=<stat>,<length<CR><LF><pdu>
Example :
GSM to application +CMTI: "SM",1 New message received
Application to GSM AT+CMGR=1 read the message
GSM to application +CMGR: "REC UNREAD",
"43322449"<CR>
To be or not to be!
OK
Application to GSM AT+CMGR=1 read again the message
GSM to application +CMGR: "REC READ",
"43322449",20<CR>
To be or not to be!
OK
Application to GSM AT+CMGR=2 read + bad index
GSM to application +CMS ERROR: 321 error : invalid index
Application to GSM AT+CMGR=1 in PDU mode
GSM to application +CMGR: "REC READ",
<length><CR><LF><pdu>
OK
Przeglądanie stron 34
1 2 ... 30 31 32 33 34 35 36 37 38 39 40 ... 66 67

Komentarze do niniejszej Instrukcji

Brak uwag