41110590
Rev 6.1
January 28, 2019
35
Product Technical Specification and
User Guide
Last Gasp Configuration
+LASTGASPSMS Command: Last Gasp Configuration Command for SMS Content
Write command
Syntax
AT+
LASTGASPSMS=
<da>[
,
<msg>]
Response
OK
Parameters
<da>
Destination address. String quoted type. Maximum length = 81 characters,
inc sign. Empty string ("") erases the last gasp SMS configuration.
<msg>
Message text. String quoted type. Maximum length = 134 characters
Reference
Sierra Wireless
Proprietary
Notes
•
Configurations are not saved in non-volatile memory and lost when the module
boots. Configuration is needed each time the module boots up.
•
Messages are concatenated with the current time in ISO 8601 format when sent:
"<date>T<time><timezone> / YYYY-MM-DDThh:mm:ss±hh:mm".
Example: "TEST MESSAGE" is concatenated as "TEST MESSAGE 1997-07-
16T19:20:30+01:00"
•
The total length of the SMS sent is less than or equal to 160 characters. It is
recommended to configure the current time using the
+CCLK
command.
•
The device shuts down immediately if there is no SMS configuration.
Examples
AT+LASTGASPSMS?
+LASTGASPSMS: ""
OK
AT+LASTGASPSMS="0123456789","TEST MESSAGE"
OK
AT+LASTGASPSMS?
+LASTGASPSMS: "0123456789","TEST MESSAGE"
OK
AT+LASTGASPSMS=""
OK
AT+LASTGASPSMS?
+LASTGASPSMS: ""
OK
5.3.
+LASTGASPUDP Command: Last Gasp
Configuration Command for UDP Content
+LASTGASPUDP Command: Last Gasp Configuration Command for UDP Content
Test command
Syntax
AT+
LASTGASPUDP
=?
Response
+LASTGASPUDP: <ipa>,<port>,<msg>
OK