Wavecom G900 Uživatelský manuál Strana 36

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 67
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 35
Wavecom GSM Modem
This confidential document is the property of WAVECOM and may not be copied or circulated without permission
36
5.11. List message +CMGL
This command allows the application to read stored messages, by
indicating the type of the message to read.
AT+CMGL=<stat>
<stat> (status of message in memory) :
0 "REC UNREAD" ( received unread message )
1 "REC READ"( received read message )
2 "STO UNSENT"( stored unsent message )
3 "STO SENT"( stored sent message )
4 "ALL"( all messages )
+CMGL=<index>,<stat>,<da/oa>[,<alpha>,<scts>,<tooa/toda>,<length>]
<CR><LF><data>
This command is also available in PDU mode.
+CMGL=<index>,<stat>,<length<CR><LF><pdu>
Examples :
Application to GSM AT+CMGL=0 read the message
GSM to application +CMGL: 1, "REC UNREAD",
"43322449"<CR>
To be or not to be!
+CMGL: 3, "REC UNREAD",
"46290800"<CR>
Be happy!
OK
Application to GSM AT+CMGL=1 read again the message
GSM to application +CMGL: 2, "REC READ",
"43322449",20<CR>
Keep cool
OK
Application to GSM AT+CMGL=2 read + bad index
GSM to application +CMS ERROR: 321 error : invalid index
Zobrazit stránku 35
1 2 ... 31 32 33 34 35 36 37 38 39 40 41 ... 66 67

Komentáře k této Příručce

Žádné komentáře