User Manual

Table Of Contents
SARA-R4 series-AT commands manual
UBX-17003787 - R16
14System features
Page 175 of 401
Type Syntax Response Example
URC +UFOTASTAT: 2,<status>,<status_
details>
OK
+UFOTASTAT: 2,2,100
OK
FOTA status
URC +UFOTASTAT: 3,<update_result>,
<update_state>
OK
+UFOTASTAT: 3,1,0
OK
Registration status
URC +UFOTASTAT: 4,<registration_
result>
OK
+UFOTASTAT: 4,2
OK
14.8.3Defined values
Parameter Type Description
<n> Number Enable FOTA status URCs:
0: FOTA status URC disabled
1 (factory-programmed value): FOTA status +UFOTASTAT URC enabled
<event> Number Event type:
0: download progress
1: download start
2: download complete
3: FOTA status
4: registration status
Allowed values:
SARA-R4 - 0, 1, 2, 3
<progress_status> Number Allowed value:
1: download in progress
<percentage> Number Download completion in percentage
<start_triggered> Number Allowed value:
0: download start triggered
<status> Number FOTA completed download status:
2: success
3: fail
<status_details> Number Provides more information about FOTA completed download status:
100: success if <status>=2
100: user cancel if <status>=3
101: memory error
102: network error
103: unknown error
104: bad url
<update_result> Number Provides more information about FOTA completed download status:
0: initial
1: success
2: memory error
3: RAM error
4: connection lost
5: checksum error
6: unsupported package
7: URI error
8: firmware update fail
9: unsupported protocol
100: user abort
<update_state> Number Provides more information about FOTA completed download status:
0: idle
1: downloading
2: downloaded