This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Backup Zigbee NVRAM

Hi,

We are designing a device based on nRF52840 that implements the Zigbee ZBOSS stack. We are interested to get ZB NVRAM configuration (network id, bindings, reports, etc) backuped so that when there is a power failure it can be safely restored before starting the zigbee stack.

My questions are:

1) Is there any way to backup the ZB NVRAM config and restore it?

2) Is there any way to get noticed when ZB config is updated to trigger the backup process?

Thanks in advance,

Santiago

Parents
  • Hello Santiago,

    The Zigbee stack that we use in the SDKs will automatically store the network data whenever it joins a network. Unless you set ERASE_PERSISTENT_CONFIG to ZB_TRUE (true), it will use the network data stored in flash (if it exists).

    Please look for ERASE_PERSISTENT_CONFIG in the zigbee examples in our SDK, which is used in 

    zigbee_erase_persistent_storage(ERASE_PERSISTENT_CONFIG);

    Best regards,

    Edvin

Reply
  • Hello Santiago,

    The Zigbee stack that we use in the SDKs will automatically store the network data whenever it joins a network. Unless you set ERASE_PERSISTENT_CONFIG to ZB_TRUE (true), it will use the network data stored in flash (if it exists).

    Please look for ERASE_PERSISTENT_CONFIG in the zigbee examples in our SDK, which is used in 

    zigbee_erase_persistent_storage(ERASE_PERSISTENT_CONFIG);

    Best regards,

    Edvin

Children
No Data
Related