User Manual

Table Of Contents
SARA-R4 series-AT commands manual
UBX-17003787 - R16
14System features
Page 177 of 401
Type Syntax Response Example
uFOTA retry timer
Set AT+UFOTACONF=3,<retry_timer> OK AT+UFOTACONF=3,120
OK
Read AT+UFOTACONF=<mode> +UFOTACONF: <mode>,<param>
OK
+UFOTACONF: 1,1
OK
Test AT+UFOTACONF=? +UFOTACONF: (list of supported
<mode>s),(list of supported
<param>s)
OK
+UFOTACONF: (0-3),(-1,1-
4294967295)
OK
14.9.3Defined values
Parameter Type Description
<mode> Number uFOTA parameter to be configured:
0: address of uFOTA server
1: module registration to uFOTA server
2: timer for periodic connection to the uFOTA server
3: retry timer for periodic connection to the uFOTA server
<hostname> String Hostname of the FOTA server. The maximum length is 128 characters. The factory-
programmed value is the empty string.
<remote_port> Number Remote port of the FOTA server. The range goes from 1 to 65535. The default and
factory-programmed value is:
5683 if DTLS is disabled
5684 if DTLS is enabled
<registration> Number uFOTA registration:
0: module registration to uFOTA server disabled
1 (factory-programmed and default value): module registration to uFOTA server
enabled
<timer> Number Timer for periodic connection to the uFOTA server (in seconds); the factory-
programmed and default value is 604800 (7 days):
If <timer>=-1 or 0 the module never periodically connects to the uFOTA server
1-4294967295: range in seconds for periodic connections
<retry_timer> Number Timer for periodic connection to the uFOTA server expressed in seconds; the allowed
range is 0-86400. The factory-programmed value is 60.
<param> Number /
String
Type and supported content depend on the related <op_code> parameter; details are
given above
<param1> Number /
String
Type and supported content depend on the related <op_code> parameter; details are
given above
14.9.4Notes
SARA-R4 / SARA-N4
<mode> = 1 is not supported. Disable the uFOTA registration by means of <mode> = 2 and <timer> = -1.
Upon boot-up, the set and read commands will provide an error result code until the LwM2M application
is ready which can take up to 45 s.
The <mode> = 0 and 3 are not supported.
SARA-R410M-02B / SARA-R410M-52B / SARA-R412M
The command is not supported by SARA-R410M-02B-00, SARA-R410M-02B-02, SARA-R410M-52B-02
and SARA-R412M-02B-02.