Wavecom G900 Manuel d'utilisateur Page 36

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 67
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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
Vue de la page 35
1 2 ... 31 32 33 34 35 36 37 38 39 40 41 ... 66 67

Commentaires sur ces manuels

Pas de commentaire