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

How to handle power failure in Bluetooth Mesh Applications?

Hi,

Each node has some state which should be saved in case of a power failure
and recovered after it.

The problems:

  • how to detect the power failure?
  • where to save the state?
  • how to restore after power failure?

States I see:

  • Application state
  • Bluetooth Mesh state:
    • Keys
    • IV Index
    • Sequence numbers
    • Replay cache
    • What else?

Some states above can change often so they should be not written regularly
to the flash to not wear it out.
To workaround this it was suggested in
devzone.nordicsemi.com/.../95283
to detect the drop in power supply and only then write into the flash.

The questions:
1. Does SDK for Mesh save and restore the complete Bluetooth Mesh state in case of drop in power supply?
2. Is there a mechanism to let inform the application in case of drop in power supply?

Thanks,

Parents Reply Children
No Data
Related