AT Commands User Manual : may be in range 0-400; value 0 is possible only if a SMS class 0 is received and previously the setting +CNMI=1,… was set may be: − 0 in PDU mode or “REC UNREAD” in text mode: received unread SMS − 1 in PDU mode or “REC READ” in text mode: received read SMS − 2 in PDU mode or “STO UNSENT” in text mode: stored unsent SMS − 3 in PDU mode or “”STO SENT” in text mode: stored sent SMS − 4 in PDU mode or “ALL” in text mode: all SMS’s 37 10.9 Read message +CMGR Command syntax Description +CMGR= AT+CMGR=3 This execution command returns message with location value from message storage to the TE. for SMS-DELIVER in text mode: +CMGR:
, , , , , , , , , , for SMS-SUBMIT in text mode: +CMGR: , ,[ ][ , , , ,[ ], , , ] for SMS-STATUS-REPORT in text mode: +CMGR: , , ,[ ],[ ] , for SMS-COMMAND in text mode: +CMGR: , , [, ,[ ],[ ],[ ], ]for CBM storage in text mode: +CMGR: , , , , , in PDU mode: +CMGR: ,[ ], OK or CMS ERROR: Test command AT+CMGR=? OK 10.10 New Message Acknowledgement to ME/TA +CNMA Command syntax Description if text mode (+CMGF=1 enabled) +CNMA if PDU mode (+CMGF=0 nabled)+CNMA= , PDU AT+CNMA This execution command confirms correct reception of a new message (SMS-DELIVER or SMS-REPORT) which is routed directly to the TE.
This acknowledgement command (causing ME to send RP-ACK to the network) shall be used when +CSMS parameter equals 1. MS shall not send another +CMT or +CDS result code to TE before previous one is acknowledged. If the mobile does not get the acknowledgement within required time (network timeout), it must send RP-ERROR to the network. Both settings and of +CNMI command will be automatically set to zero. If the command +CNMA is received, but no acknowledgement is expected, or some other ME related errors occurs, a corresponding +CMS ERROR: is returned. OK or CMS ERROR: Test command AT+CNMA=? OK