AirPrime and HL7548 AT Commands Interface Guide Rev10 0

Table Of Contents
4116303 Rev 10.0 August 10, 2017 138
AT Commands Interface Guide
SMS Commands
HL7518 and HL7548
Write command
Syntax
AT+CMGD=
<index>
[,<delflag>]
Response
OK
or
+CMS ERROR: <err>
Parameters
<delflag> Integer indicating multiple message deletion request
0 (or omitted) Delete the message specified in <index>
1 Delete all read messages from preferred message storage, leaving unread
messages and stored mobile originated messages (whether sent or not)
untouched
2 Delete all read messages from preferred message storage and sent mobile
originated messages, leaving unread messages and unsent mobile originated
messages untouched
3 Delete all read messages from preferred message storage, sent and unsent
mobile originated messages leaving unread messages untouched
4 Delete all messages from preferred message storage including unread
messages
Notes
Execution command deletes message from preferred message storage <mem1>, location
<index>. If <delflag> is present and not set to 0 then the ME shall ignore <index> and follow
the rules for <delflag> shown above.
8.3. +CMGF Command: Set Message Format
HL7518 and HL7548
Test command
Syntax
AT+CMGF=?
Response
+CMGF: (list of supported <mode>s)
OK
Read command
Syntax
AT+CMGF?
Response
+CMGF: <mode>
OK
Write command
Syntax
AT+CMGF=
[<mode>]
Response
OK
or
+CMS ERROR: err>
Parameters
<mode> 0 PDU mode (default when implemented)
1 Text mode
Notes
<mode> is saved in non-volatile memory per AT port over module reboot