Telit LE910 V2 Series AT Commands
80446ST10707A Rev. 0– 2015-11-03
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved page 182 of 509
Mod. 0808 2011-07 Rev.2
4.1.5.5. Message Sending And Writing (3GPP2 mode)
The commands in this section are valid only if #SMSFORMAT is set to 1.
Send Message - +CMGS
AT+CMGS=
<length>
Execution command sends to the network a message. After command line is
terminated with <CR>, the device responds sending a four character sequence
prompt:
<CR><LF><greater_than><space> (IRA 13, 10, 62, 32) and waits for the specified
number of bytes.
Parameter:
<length>- length of the PDU to be sent in bytes (excluding the Destination
address octets).
5..183
Note: the echoing of given characters back from theTA is controlled by echo
command E
Note: the PDU shall be hexadecimal format (each octet of the PDU is given as two
IRA character long hexadecimal number) and given in one line.
To send the message issue Ctrl-Z char (0x1A hex).
To exit without sending the message issue ESC char (0x1B hex).
If message is successfully sent to the network, then the result is sent in the format:
+CMGS: <mr>
where
<mr>- message reference number.
Note: if message sending fails for some reason, an error code is reported.
Note: The limit of user data is 160 characters.
OK
AT+CMGS=35
>
07801091346554F307801096224658F110020000166262626262626262626262626
2626262626262626262
+CMGS: 4
OK
07 <addr_len: 7byte>
80 <type_addr: 128>
1091346554F3 <Destination_address:01194356453>
07 <addr_len: 7byte>
80 <type_addr: 128>
1096224658F1 <callback_address:01692264851>
1002 <Teleservice_id: 4098(decimal)>
00 <priority: normal>
00 <encoding_type: octet>