User's Manual
Telit TRIZIUM Product Description
80264ST10007a Rev. 4– 09/09/04
Reproduction forbidden without DAI Telecom written authorization – All Right reserved – Right of modification reserved page 137 of 202
5.5.4 Message sending and writing
5.5.4.1 +CMGS - send message
+CMGS – send message
Execute command
(PDU Mode)
AT+CMGS = <length>
(PDU Mode)
Sends to the network a SMS message input as a PDU.
Parameter:
<length> = 8…176 - represents the length of the PDU to be sent in bytes.
The device responds to the command with the prompt '>' and awaits for the
number of bytes of PDU specified.
To complete the operation send Ctrl-Z char (0x1A hexadecimal) , to exit without
sending the message send ESC char (0x1B hexadecimal ).
If message is successfully sent to the network, then the result is sent in the format:
+CMGS: <mr>
where <mr> is the message reference number.
If message sending fails for some reason, an error code is reported.
(Text Mode)
AT+CMGS=<da>
(Text Mode)
Sends to the network a SMS message input as a text message.
Parameter:
<da> = destination address number
The device responds to the command with the prompt '>' and awaits for message
text (max 160 characters).
To complete the operation send Ctrl-Z char (0x1A hexadecimal) , to exit without
sending the message send ESC char (0x1B hexadecimal).
If message is successfully sent to the network, then the result is sent in the format:
+CMGS: <mr>
where <mr> is the message reference number.
If message sending fails for some reason, an error code is reported.
Note: Care must be taken to ensure that during the command execution, which
might take several seconds, no other SIM interacting commands are issued.
To avoid malfunctions is suggested to wait for the +CMGS:<mr> or
+CMS ERROR:<err> response before issuing further
commands.
Read command
Write command
Test command
Example
Reference GSM 07.05
SW release
Version A
5.5.4.2 +CMSS - send message from storage
+CMSS – send message from storage
Execute command
AT+CMSS = <index>
Sends to the network, the message which is already stored in the <memw>
storage (see +CPMS) at the location <index>.
Parameter: <index>
If message is successfully sent to the network, Sends to the network, then the
result is sent in the format: