AirPrime and HL7548 AT Commands Interface Guide Rev10 0

Table Of Contents
4116303 Rev 10.0 August 10, 2017 141
AT Commands Interface Guide
SMS Commands
HL7518 and HL7548
Parameters
For parameter information and values, refer to section 8.1 Parameters Definition.
Notes
The TA shall send a four-character sequence <CR><LF><greater_than><space>
(IRA 13, 10, 62, 32) after command line is terminated with <CR>; after that PDU
can be given from TE to ME/TA.
The PDU shall be hexadecimal format (similarly as specified for <pdu>) and given
in one line; ME/TA converts this coding into the actual octets of PDU.
When the length octet of the SMSC address (given in the PDU) equals zero, the
SMSC address set with command Service Centre Address +CSCA is used; in this
case the SMSC Type-of-Address octet shall not be present in the PDU, i.e. TPDU
starts right after SMSC length octet.
Sending can be cancelled by giving <ESC> character.
<ctrl-Z> must be used to indicate the ending of PDU.
+CMGS: <mr>[,<scts>] is not available in +CMGS intermediate response as SMS
is sent over IMS using 3GPP2 SMS PDU format and protocol.
8.7. +CMGW Command: Write Message to Memory
HL7518 and HL7548
Test command
Syntax
AT+CMGW=?
Response
OK
Write command
Syntax
If text mode
(+CMGF=1):
AT+CMGW[=
<oa/da>
[,<tooa/toda>
[,<stat>]]]<CR>
text is entered
<ctrl-Z/ESC>
If PDU mode
(+CMGF=0):
AT+CMGW=
<length>[,<stat>]
<CR>
PDU is given
<ctrl-Z/ESC>
Response
+CMGW: <index>
OK
or
+CMS ERROR: <err>
Parameters
For parameter information and values, refer to section 8.1 Parameters Definition.
Notes
Execution command stores a message to memory storage <mem2>, and memory
location <index> of the stored message is returned.
By default, message status will be set to 'stored unsent', but parameter <stat> also
allows other status values to be given. (ME/TA manufacturer may choose to use
different default <stat> values for different message types.)
Entering of PDU is done similarly as specified in command +CMGS.