A3LA-R-MIL-MOD User Guide Version B
Document Number: 451-93156-001A
53 of 159
3 - MO message sent
(When reading an MT message the first time, the status is reported as 0 (unread).
The status is then changed to 1 (read), and that is reported on subsequent reads
of that message.)
<alpha>:string type alphanumeric representation of TP-destination address or TP-
originating address corresponding to the entry found in the phonebook (optional
field);
<length>:in PDU mode, this is the length of the actual TP data unit in octets (i.e.
the RP layer SMSC address octets are not counted in the length)
<pdu>: GSM 04.11 [8] SC address followed by GSM 03.40 [9] TPDU in hexadecimal
format.
B.39 +CMGS
–
S
END
SMS
M
ESSAGE
Exec Command: +CMGS=<length><CR><pdu><ctrl-Z/ESC> (PDU mode)
Execution command sends message from the DTE to the network (SMS-SUBMIT). In
PDU mode, <length> is the length of the actual TP data unit in octets; <pdu> is the
GSM 04.11 [8] SC address followed by GSM 03.40 [9] TPDU in hexadecimal format.
PDU entry must be terminated by <ctrl-Z>. Sending can be cancelled by the <ESC>
character.
Response is in the following format for PDU mode:
+CMGS: <mr>
where <mr> is the message reference value of the message.
If sending fails, final result code +CMS ERROR: <cms_err> is returned.
B.40 +CMGW
–
W
RITE
SMS
M
ESSAGE
T
O
M
EMORY
Exec Command: +CMGW=<length>[,<stat>]<CR><pdu><ctrl-Z/ESC> (PDU mode)
Execution command stores a message to memory storage <mem2> (<mem2> is
selected by the +CPMS command). In PDU mode, <length> is the length of the actual
TP data unit in octets; <pdu> is the GSM 04.11 [8] SC address followed by GSM 03.40