MM6854/64 Dual Band GSM Data Modem
ME 820047 Issue 1.0
Page 22 03/00
5.1.35 AT+CMGR – Read messages
This command is used to read SMS messages.
Enter
AT+CMGR=<index>,<data>
Where
<index>
<data>
Response
Integer indicating the location of the SMS to be read.
TP user data GSM 03.40
Notes: None.
Result codes:
OK
ERROR
Message service failure result codes.
5.1.36 AT+CMGS – Send messages
This command is used to send SMS messages.
Enter
In text mode:
AT+CMGS=”Receiver
number”<CR><text to be
sent>CtrlZ
In PDU mode:
AT+CMGS=<length><CR><p
du>CtrlZ/esc
Where
<length>
<pdu>
AT+CMGS<mr>
Where <mr>
Response
OK
Number of characters in text mode, or length of binary string in
PDU mode.
Binary string coded according to GSM 03.38
Message reference according to GSM 03.40.
Notes: Esc quits without sending.
Result codes:
OK
ERROR
Message service failure result codes.