User Manual

Table Of Contents
SARA-R4/N4 series-AT Commands Manual
UBX-17003787 - R11
14System features
Page 161 of 308
Type Syntax Response Example
OK
URC +UULGASP: <result>,<bearer> +UULGASP: 0,1
14.12.3Defined values
Parameter Type Description
<GPIO_mode> Number Select the interrupt trigger. Allowed values:
0 (factory-programmed value): trigger disabled; the following arguments will be
ignored.
1: falling edge
2: rising edge
<text> String The string that will be sent upon GPIO movement. Text or binary format can be
selected with the <msg_format> parameter. When text format is selected, a
maximum of 256 ASCII chars is allowed. When the binary format is selected, a
maximum of 512 chars (0-9,A-F) is allowed. Every 8-bit octet of the message must be
written as two IRA character long hexadecimal numbers, e.g. an octet with integer
value 42 (i.e. 0x2A) must be written as a string of two characters "2A" (IRA 50 and 65).
Factory-programmed value: empty string.
<msg_format> Number Format of the <text> parameter. Allowed values:
0 (factory-programmed value): text
1: binary
<profile_id> Number PSD profile identifier. Only the value 1 is allowed.
<IP_protocol> Number IP protocol used for socket connection. Allowed values:
17: UDP
<IP_addr:PORT> String IPv4 or IPv6 server address with the socket port.
Factory-programmed value: empty string.
<method> Number Notification method, it is the way the application send out the <text message>.
Allowed values:
1: use IP (TCP or UDP) connection
<urc_enable> Number Flag determining if the URC is to be issued or not. Allowed values:
0: disabled
1 (factory-programmed value): enabled
<result> Number Operation result. Allowed values:
0: success
1: generic fail
<bearer> Number Notification used bearer. Allowed values:
1: IP (TCP or UDP) connection
<nv_upd_freq> Number NVM update frequency in seconds. Valid range of 0-3600 seconds indicating how
frequently to flush the settings to NVM. A zero value indicates that settings should
never be saved to NVM, otherwise the following settings will be saved to NVM based
on the timer: <GPIO_mode>, <text>, <IP_addr:PORT>, <urc_enable>, <tx_count>.
Factory-programmed value: 60.
<tx_count> Number Indicates the number of times to transmit the last gasp message. Valid range is 1-10.
Factory-programmed value: 1.
14.12.4Notes
SARA-R410M-52B / SARA-N4
The <urc_enable>,<nv_upd_freq>,<tx_count> parameters will return 0, 0 and 0 if read for the first time
before setting the mandatory last gasp parameters. Once the mandatory last gasp parameters are set,
these values take on the factory-programmed values.