User Manual

Table Of Contents
SARA-R4 series-AT commands manual
UBX-17003787 - R16
14System features
Page 173 of 401
receiving the action command and after the backup process is finished, the module performs a reboot. Upon a
detection of a file system corruption, the module triggers a restore and immediately performs a reboot.
The read command displays the backup and restore statistics. The +UUBKUPDATA URC notifies the result of
the backup / restore operation.
14.6.2Syntax
Type Syntax Response Example
Action AT+UBKUPDATA OK OK
Read AT+UBKUPDATA? +UBKUPDATA: <last_backup>,
<last_restore>,<backup_number>,
<restore_number>,<failed_op_
type>,<last_failed_op>,<failure_
code_location>
+UBKUPDATA: 172800,20,2,1,1,20
,"file: fs_db.c, function: down_find,
line: 1168"
OK
URC +UUBKUPDATA: <op_type>,
<result>
+UUBKUPDATA: 0,0
14.6.3Defined values
Parameter Type Description
<last_backup> Number Time in seconds elapsed since last backup operation
<last_restore> Number Time in seconds elapsed since last restore operation
<backup_number> Number Total number of backup operations performed
<restore_number> Number Total number of restored operations performed
<failed_op_type> Number Last failed operation type. Allowed values:
0: no operation failed
1: backup operation
2: restore operation
<last_failed_op> Number Time in seconds elapsed since last failed operation. If there are no failures (<failed_
op_type>=0), value 0 is returned.
<failure_code_
location>
String Filename, function name and line number where the failure was triggered. If there
are no failures, no indication regarding filename, function name and line number are
provided.
<op_type> Number Operation type. Allowed values:
0: backup operation
1: restore operation
<result> Number Operation result. Allowed values:
0: operation success
1: operation failure
2: operation start
14.6.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, SARA-R412M-02B-01.
14.7Cancel FOTA download +UFOTA
+UFOTA
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 Yes No No - -
14.7.1Description
Cancels the FW download to the device when a FOTA session is in progress. To make use of this command,
enable URCs for FOTA sessions (for more details on enabling FOTA URCs, see +UFOTASTAT AT command).