User Manual

Table Of Contents
SARA-R4 series-AT commands manual
UBX-17003787 - R16
26Lightweight M2M
Page 324 of 401
The LwM2M pulse feature can be triggered by the LwM2M server and also by the +ULWM2MCREATE,
+ULWM2MWRITE, +ULWM2MDELETE, +ULWM2MREAD AT commands.
26.2.8.2Syntax
Type Syntax Response Example
Set AT+ULWM2MPULSE=<gpio_id>,
<active_polarity>,<duration>,<boot_
with_last_event>
OK AT+ULWM2MPULSE=16,1,100,0
OK
Read AT+ULWM2MPULSE? +ULWM2MPULSE:
<gpio_id>,<gpio_mode>,<active_
polarity>,<duration>,<boot_with_
last_event>
[...]
OK
+ULWM2MPULSE:
16,25,0,5000,1
19,25,0,5000,1
23,25,0,5000,1
24,25,0,5000,1
25,25,0,5000,1
42,25,0,5000,1
OK
Test AT+ULWM2MPULSE=? +ULWM2MPULSE: (list of
supported <gpio_id>s),(list of
supported <active_polarity>s),
(list of supported <duration>s),
(list of supported <boot_with_last_
event>s)
OK
+ULWM2MPULSE: (16,19,23,24,25,
42),(0-1),(0-10000),(0-1)
OK
26.2.8.3Defined values
Parameter Type Description
<gpio_id> Number GPIO pin identifier: pin number.
See the GPIO mapping for the available GPIO pins, their mapping and factory-
programmed values on different u-blox cellular modules series and product version.
<gpio_mode> Number GPIO mode identifier: configured function. Allowed value:
25: LwM2M pulse
<active_polarity> Number Allowed values:
0: active low (i.e., normally high)
1: active high (i.e., normally low)
<duration> Number Provide the pulse duration expressed in milliseconds. The range goes from 0 to 10000
where 0 means to be left asserted.
<boot_with_last_
event>
Number Configures the pulse behaviour at the module power-on. Allowed values:
0: always negated
1: comes up asserted or negated according to last state at power down/reset
26.2.8.4Notes
SARA-R410M-02B / SARA-R410M-52B / SARA-R412M
The command is not supported by SARA-R410M-02B-00, SARA-R410M-02B-01, SARA-R410M-52B-00,
SARA-R410M-52B-01, SARA-R412M-02B-00 and SARA-R412M-02B-01.
26.2.9LwM2M object notification +ULWM2MNOTIFY
+ULWM2MNOTIFY
Modules SARA-R410M-02B SARA-R410M-52B SARA-R410M-63B SARA-R410M-73B SARA-R410M-83B
SARA-R412M
Syntax PIN required Settings saved Can be aborted Response time Error referenceAttributes
full No NVM No - -
26.2.9.1Description
Enables or disables the +ULWM2MNOTIFY URC defined in the Lua objects. The trigger which determines when
the +ULWM2MNOTIFY URC is issued and the returned message string are custom, according to the object Lua
script definition; for more details on the URC definition, see the LwM2M objects and commands application