A3LA-R-MIL-MOD User Guide Version B
Document Number: 451-93156-001A
51 of 159
B.36 +CMGF
–
SMS
M
ESSAGE
F
ORMAT
Set Command: +CMGF=[<mode>]
Set command tells the A3LA-R, which input and output format of messages to use.
<mode> indicates the format of messages used with send, list, read and write
commands and unsolicited result codes resulting from received messages. Mode can
be either PDU mode (entire TP data units used) or text mode (headers and body of
the messages given as separate parameters). Only PDU mode is supported at this
time.
Valid values for <mode> are:
0
PDU mode (default)
Read Command: +CMGF?
Read command returns the current <mode> set. Response is in the form:
+CMGF: <mode>
Test Command: +CMGF=?
Test command returns the list of supported <mode>s. Response is in the form:
+CMGF: (list of supported <mode>s)
B.37 +CMGL
–
L
IST
SMS
M
ESSAGES
Exec Command: +CMGL[=<stat>]
Execution command returns messages with status value <stat> from message storage
<mem1> (<mem1> is the selected message storage from the +CPMS command) to the
DTE. If listing fails, final result code +CMS ERROR: <cms_err> is returned.
Valid values for <stat> are:
PDU Text
0
"REC UNREAD" received unread message (i.e. new message) (default)
1
"REC READ" received read message
2
"STO UNSENT" stored unsent message (only applicable to SMs)
3
"STO SENT" stored sent message (only applicable to SMs)
4
"ALL" all messages (only applicable to +CMGL command)