UC864
UC864
UC864
UC864----E/G/WD/WDU
E/G/WD/WDU
E/G/WD/WDU
E/G/WD/WDU AT Commands Reference Guide
AT Commands Reference Guide
AT Commands Reference Guide
AT Commands Reference Guide
80304ST10041a Rev. 6
80304ST10041a Rev. 6
80304ST10041a Rev. 6
80304ST10041a Rev. 6 ---- 2010
2010
2010
2010----0
00
05
55
5----20
20
20
20
Reproduction forbidden without Telit Communications S.p.A’s. written authorization - All Rights Reserved.
Page 166 of 329
3.5.5.4.
Message Sending And Writing
Message Sending And Writing
Message Sending And Writing
Message Sending And Writing
3.5.5.4.1.
Send Message
Send Message
Send Message
Send Message ---- +CMGS
+CMGS
+CMGS
+CMGS
+CMGS
+CMGS
+CMGS
+CMGS ---- Send Message
Send Message
Send Message
Send Message
(PDU Mode)
AT+CMGS=
AT+CMGS=
AT+CMGS=
AT+CMGS=
<length>
<length>
<length>
<length>
(PDU Mode)
(PDU Mode)
(PDU Mode)
(PDU Mode)
Execution command sends to the network a message.
Parameter:
<length>
<length>
<length>
<length> - length of the PDU to be sent in bytes (excluding the SMSC
address octets).
7..164
After command line is terminated with <CR>
<CR>
<CR>
<CR>, the device responds sending a
four character sequence prompt:
<CR><LF><greater_than><space> (IRA 13, 10, 62, 32)
<CR><LF><greater_than><space> (IRA 13, 10, 62, 32)
<CR><LF><greater_than><space> (IRA 13, 10, 62, 32)
<CR><LF><greater_than><space> (IRA 13, 10, 62, 32)
and waits for the specified number of bytes.
Note: the DCD
DCD
DCD
DCD signal shall be in ON
ON
ON
ON state while PDU is given.
Note: the echoing of given characters back from the TA is controlled by
echo command E
E
E
E
Note: the PDU
PDU
PDU
PDU shall be hexadecimal format (each octet of the PDU
PDU
PDU
PDU is given
as two IRA character long hexadecimal number) and given in one line.
Note: when the length octet of the SMSC address (given in the PDU
PDU
PDU
PDU) equals
zero, the SMSC address set with cCSCA is used; in this case the
SMSC Type-of-Address octet shall not be present in the PDU
PDU
PDU
PDU.
To send the message issue Ctrl
Ctrl
Ctrl
Ctrl----Z
Z
Z
Z char (0x1A
0x1A
0x1A
0x1A hex).
To exit without sending the message issue ESC
ESC
ESC
ESC char (0x1B
0x1B
0x1B
0x1B hex).
If message is successfully sent to the network, then the result is sent in the
format:
Note : Optionally (when +CSMS <service> value is 1 and network supports)
<scts> is returned:
+CMGS: <mr>[, <scts>]
+CMGS: <mr>[, <scts>]
+CMGS: <mr>[, <scts>]
+CMGS: <mr>[, <scts>]
where
<mr>
<mr>
<mr>
<mr> - message reference number.