At+Cmgs Send Sms Message - Siemens M20 Terminal Technical Description

Cellular engine
Hide thumbs Also See for M20 Terminal:
Table of Contents

Advertisement

Siemens Information and Communication Products
AT+CMGS
Send SMS message
Test command
Response
AT+CMGS=?
OK
Parameter
Execute command
Response
1) If text mode
TA transmits SMS message from a TE to the network (SMS-SUBMIT). Message reference value
(+CMGF=1):
<mr> is returned to the TE on successful message delivery. Value can be used to identify message
upon unsolicited delivery status report result code.
+CMGS=<da>[,<t
oda>]<CR>
1) If text mode (+CMGF=1) and sending successful:
text is entered
+CMGS: <mr>[,scts>] OK
<ctrl-Z/ESC>
2) If PDU mode (+CMGF=0) and sending successful:
2) If PDU mode
+CMGS: <mr>[,ackpdu>] OK
(+CMGF=0):
3) If error is related to ME functionality:
+CMGS=<length>
+CMS ERROR: <err>
<CR>
Parameter
PDU is given <ctrl-
<da>
Z/ESC>
ESC aborts messa-
ge
<toda>
<length>
<mr>
<scts>
<dt>
<ackpdu>
<pdu>
Reference
Note
GSM 07.05
Version 8 dated 15.03.00
GSM 03.40 TP-Destination-Address Address-Value field in string format; BCD
numbers (or GSM default alphabet characters) are converted into characters; type of
address given by <toda>
GSM 04.11 TP-Destination-Address Type-of-Address octet in integer format (when
first character of <da> is + (IRA 43) default is 145, otherwise default is 129)
integer type value indicating in the text mode (+CMGF=1) the length of the message
body <data> (or <cdata>) in characters; or in PDU mode (+CMGF=0), the length of
the actual TP data unit in octets (i.e. the RP layer SMSC address octets are not coun-
ted in the length)
GSM 03.40 TP-Message-Reference in integer format
GSM 03.40 TP-Service-Centre-Time-Stamp in time-string format (refer <dt>)
GSM 03.40 TP-Discharge-Time in time-string format: "yy/MM/dd,hh:mm:ss±zz",
where characters indicate year (two last digits), month, day, hour, minutes, seconds
and time zone. For example, 6th of May 1994, 22:10:00 GMT+2 hours equals "94/
05/06,22:10:00+08"
GSM 03.40 RP-User-Data element of RP-ACK PDU; format is same as for <pdu>
in case of SMS, but without GSM 04.11 SC address field and parameter shall be
enclosed in double quote characters like a normal string type parameter
In the case of SMS: GSM 04.11 SC address followed by GSM 03.40 TPDU in he-
xadecimal format: ME/TA converts each octet of TP data unit into hexadecimal
numbers containing two IRA characters (e.g. octet with integer value 42 is presented
to TE as two characters 2A (IRA 50 and 65)). In the case of CBS: GSM 03.41 TPDU
in hexadecimal format.
Use CTRL-Z at the end of input to send the message and return OK.
Use ESC at the end of message input to abort message send operation. NO message is sent
although display returns OK!
Sending e-mails via SMS: Note that some providers do not recognise @ symbol. Possible
alternative "!" for "@"
AT command interface
A
100

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents