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 168 of 329
+CMGS
+CMGS
+CMGS
+CMGS ---- Send Message
Send Message
Send Message
Send Message
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.
<scts> - TP-Service Centre Time Stamp in Time String Format.
Note: 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 may take several seconds, no other SIM interacting commands are
issued.
Note: it is possible to send a concatenation of at most 10 SMs; the
maximum number of chars depends on the <dcs>
<dcs>
<dcs>
<dcs>: 1530 chars if 3GPP TS
03.38/23.038 default alphabet is used, 1340 chars if 8-bit is used, 670 chars
if UCS2 is used
AT+CMGS=?
AT+CMGS=?
AT+CMGS=?
AT+CMGS=?
Test command resturns the OK
OK
OK
OK result code.
Note
To avoid malfunctions is suggested to wait for the +CMGS: <mr>
+CMGS: <mr>
+CMGS: <mr>
+CMGS: <mr> or +CMS
+CMS
+CMS
+CMS
ERROR: <err>
ERROR: <err>
ERROR: <err>
ERROR: <err> response before issuing further commands.
Example
Set PDU mode
AT+CMGF=0
AT+CMGS=18
> 088128010099010259115507811020905512F90000A704F4F29C0E
+CMGS: 124
OK
Set text mode
AT+CMGF=1
AT+CSMP=17,167,0,0
AT+CMGS=”01090255219”,129
>TEST MESSAGE
+CMGS:125