|
SARA-R4/N4 series - AT Commands ManualUBX-17003787 - R09 14 System featuresPage 161 of 30714.12 Last gasp configuration +ULGASP+ULGASPSARA-R410M-52BModulesSARA-N4Syntax PIN required Settings saved Can be aborted Response time Error referenceAttributespartial No NVM No < 10 s +CME Error14.12.1 DescriptionThe command enables/disables and configures the last gasp feature. The application is automaticallytriggered by a properly configured GPIO (see GPIO Introduction). The feature supports the sending of apredefined last notification in case of power outage, just before the power goes off. It is assumed that thecellular module is registered to the network when the alarm is triggered; however the command just configuresthe feature so it is possible to issue it also if PIN is not inserted. It is possible to enable/disable the +UULGASPURC in order to be notified about the operation result.This AT command must be issued after a proper configuration of the GPIO has been performed via the+UGPIOC command. Otherwise, if +UGPIOC is issued after +ULGASP, the Last Gasp will work only aftera reboot.The parameters will be set to the values stored in the NVM in case they are omitted in the set command.14.12.2 SyntaxType Syntax Response ExampleSet AT+ULGASP=,,,,,,[,[],,[],[upd_freq>],[]]OK AT+ULGASP=0,"Power_loss",0,,1,17,"192.168.100.20:8080"OKRead AT+ULGASP? +ULGASP: ,,,,,,,,,,freq>,OK+ULGASP: 0,"Power_loss",0,,1,17,"192.168.100.20:8080",1,,1,0,1OKTest AT+ULGASP=? +ULGASP: (list of supported mode>'s),,(list of supported format>'s),,(list of supported's),(list of supported's),,(list of supported's),,(list of supported <urc_enable>'s),(list of supported's),(list of supported's)OK+ULGASP: (0-2),,(0-1),,(1),(17),,(1),,(0-1),(0-3600),(1-10)OKURC +UULGASP: , +UULGASP: 0,114.12.3 Defined valuesParameter Type Description Number Select the interrupt trigger. Allowed values:• 0 (factory-programmed value): trigger disabled; the following arguments will beignored.• 1: falling edge• 2: rising edge String The string that will be sent upon GPIO movement. Text or binary format can beselected with the parameter. When text format is selected, amaximum of 256 ASCII chars is allowed. When the binary format is selected, amaximum of 512 chars (0-9,A-F) is allowed. Every 8-bit octet of the message must bewritten as two IRA character long hexadecimal numbers, e.g. an octet with integervalue 42 (i.e. 0x2A) must be written as a string of two characters "2A" (IRA 50 and 65).
PreviousNext |