BK (Centralized Trust Center Backup and Restore)

This command applies to the XBee 3 Zigbee RF Module.

BK is used to create a backup file in the file system named backup_TC.xbee. This command is also used to restore a trust center using a backup file stored in the file system.

USAGE:

BK 0

Passing a parameter of zero creates a unique backup file using the device's SL and stores it in the centralized trust center’s file system. To create a backup file, the module must be configured as coordinator (CE = 1), as a centralized trust center (EO = 2), with security enabled (EE = 1), and have a KB key set.

BK 1 <Backup Filename> <CX Output>

Note The backup filename is not an optional parameter.

Passing a parameter of 1 causes the device to look for a backup file in the file system and uses it to set the device’s configuration to match the original coordinator.

Passing a parameter of 1 and <Backup Filename> causes the device to look for a backup file with the given name in the file system and uses it to set the device’s configuration to match the original coordinator.

After restoring the backup, if the new coordinator fails to communicate, the CX command may need to be used to refresh needed network information in the new coordinator. The values returned by executing the CX command on a router that is part of the existing network can be passed as optional parameters to the new coordinator using the BK 1 <Backup Filename> command.