NAL Research Corporation (451-93156-002A)
31
<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.
A.8.39 +CMGS – Send SMS Message
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.
A.8.40 +CMGW – Write SMS Message To Memory
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 [9] TPDU in
hexadecimal format. By default, message status will be set to ’stored unsent’, but parameter
<stat> allows also other status values to be given.
PDU entry must be terminated by <ctrl-Z>. Storing can be cancelled by sending the <ESC>
character.
Response is in the following format for PDU mode:
+CMGW: <index>
where <index> indicates the memory location where the message is stored.
If storing fails, final result code +CMS ERROR: <cms_err> is returned.
A.8.41 +CMOD – Call Mode
Set Command: +CMOD=[<mode>]
Set command selects the call mode of further dialing commands (D) or for next answering
command (A). Mode can be either single or alternating (the terms "alternating mode" and
"alternating call" refer to all GSM bearer and tele-services that incorporate more than one basic
service (voice, data, fax) within one call). For the satellite modem, only a single call is
supported.
<mode>:
0
single mode (default)