SMS
3-126 AT Commands Reference Manual June 30, 2008
When the given index is an incoming message index the header settings will be as follows:
<first-octet> will be SMS-SUBMIT and VPF - relative.
The TP-RP and TP-UDHI settings will be taken from the incoming message's first octet.
<vp> - will be set to the default value -167 - as defined in 03.40.
<sca>,<tosca>, <pid> and <dcs> will be set according the incoming message parameters.
If <da> and/or <toda> are not given by the command, the <oa> and <tooa> will be set
instead.
The following table shows the +CMSS parameters.
Example
AT+CM SS= 7
+CMSS: 12
OK
AT+CMSS=7,"054565132",129
+CMSS: 13
OK
Note: Any character sent by TE to G24 before G24 has reported a result of AT+CMSS
operation, will abort AT+CMSS command execution. However, if SMS was already sent
to network and sending operation was successful, the result of operation "+CMSS <mr>"
will be reported by G24. If after aborting AT+CMSS command execution and before
result of operation was reported by G24, a second AT+CMSS command is executed, then
the result of the second AT+CMSS operation only will be reported by G24.
Command Type Syntax Response/Action Remarks
Set +CMSS=<index>[
,<da>[,<toda>]] +CMSS: <mr>
or:
+CMS ERROR: <err>
The Set command sends a message
from storage to the network.
Table 3-73:+CMSS Parameters
<Parameter> Description
<index> 1-352 Index in storage of the message to be sent.
<da> Destination address in quoted string. This field contains a single phone number.
<toda> Type of DA. Value between 128-255 (according to GSM 03.40, 9.1.2.5). If this field is
not given and first character of <da> is '+' , <toda> will be 145, otherwise 129.
<mr> Sent message reference number.