The command allows writing previously backed up [C] network data to the same or another [C] device. To execute the full restore all data blocks (in any order) obtained by Backup commands must be written to the device. Because the data to restore is encrypted by an AES-128 algorithm using an access password as a key, the access password at the device must be the same as the access password at the device that was originally backed up.
The following conditions must be met to make the [C] backup fully functional:
• Backed-up and restored devices have the same access password.
• No network traffic comes from/to restored [C] during the restore process.
• [C] device is reset or restarted after the whole restore is finished.
• It is recommended to run the Discovery command before the network is used after the restoration because of possible RF differences between new and previous [C] device HW.
Request
NADR |
PNUM |
PCMD |
HWPID |
0 … 48 |
NADR |
0x00 |
0x0C |
? |
NetworkData |
NetworkData One block of the [C] network info data that was previously obtained by the Backup command.
Response: General response to writing request with STATUS_NO_ERROR Error code
Error codes
ERROR_DATA Invalid (access password does not match) or inappropriate (e.g. [C] data used to restore [N] or vice versa) NetworkData content.
ERROR_FAIL Error accessing serial EEPROM chip.