At+Cmgw Write Sms Message To Memory - Siemens M20 Terminal Technical Description

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

Advertisement

Siemens Information and Communication Products
AT+CMGW
Write SMS message to memory
Test command
Response
AT+CMGW=?
OK
Parameter
Execute command
Response
1) If text mode
TA transmits SMS message (either SMS-DELIVER or SMS-SUBMIT) from TE to memory stora-
(+CMGF=1):
ge <mem2>. Memory location <index> of the stored message is returned. Message status will be
+CMGW[=<oa/
set to 'stored unsent' unless otherwise given in <stat>.
da>[,<tooa/to-
Note:
da>[,stat>]]]
If writing is successful:
<CR> text is en-
+CMGW: <index> OK
tered ctrl-Z/ESC>
If error is related to ME functionality:
<ESC> quits wit-
+CMS ERROR: <err>
hout sending
Parameter
2) If PDU mode
<oa>
(+CMGF=0):
+CMGW=<length
>[,stat]<CR>
<da>
PDU is given <ctrl-
Z/ESC>
<tooa>
<toda>
<length>
<stat>
<pdu>
<index>
Reference
Note
GSM 07.05
ctrl-Z sends/writes message, Returns OK
ESC aborts input, message NOT sent/written. Returns OK
Sending e-mails via SMS: Note that some providers do not recognise @ symbol. Possible alterna-
tive "!" for "@"
Version 8 dated 15.03.00
SMS-COMMANDs and SMS-STATUS-REPORTs can not be stored in text mode.
GSM 03.40 TP-Originating-Address Address-Value field in string format; BCD
numbers (or GSM default alphabet characters) are converted into characters; type of
address given by <tooa>
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-Originating-Address Type-of-Address octet in integer format (de-
fault refer <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
counted in the length)
0
"REC UNREAD"
1
"REC READ"
2
"STO UNSENT"
3
"STO SENT"
4
"ALL"
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.
Index of message in selected storage <mem2>
AT command interface
Received unread messages (default)
Received read messages
Stored unsent messages
Stored sent messages
All messages
A
101

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents