Persistent data saving callback
Hello,
Based on the NVM example, after: ZbPersistNotifyRegister(zigbee_app_info.zb,APP_ZIGBEE_persist_notify_cb,NULL).
What actions cause the device to enter the callback? Where can this information be found?
Thanks,
Hello,
Based on the NVM example, after: ZbPersistNotifyRegister(zigbee_app_info.zb,APP_ZIGBEE_persist_notify_cb,NULL).
What actions cause the device to enter the callback? Where can this information be found?
Thanks,
Hi
The persistence notify callback is called every time a persistent data change occurs on zigbee network, the stack notifies the change using this callback to the application layer.
As an example, the NVM data is saved immediately in case of network update ( device join, device leave, NWK key update..), ZCL attributes change.
You can refer to the wiki page below that describes the Zigbee persistent data management :
Connectivity:Zigbee persistent data management and non-volatile memory - stm32mcu
Best regards,
Ouadi
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.