This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Power down feature of the BLE Mesh

Hi, There. I am preparing to program a Mesh application based on nrf52840. The application supports the recovery from the points of power off. 

So, I have a question. It will storage all info on the power-off point? ANd it will resume from the point, like intermittent computing?

  • Hi, 

    All our examples can recover from a power reset. Except if you select PERSISTENT_STORAGE  = 0. 

    It stores everything, netkey, devkey, appkey, IV Index. The sequence number is stored in a block.  The reason is that if we store the sequence number every time it changes, it will wear out the flash, so we store the sequence number in the block, everytime you booting up, you use the next block.  
    It will storage all info on the power-off point?

     What do you mean by the "power-off point"? Is it as I mentioned above we can recover from a power reset, soft reset, etc?

    -Amanda H

  • Hi,

    thanks for the reply.

    The "power-off" point means the device is powered off, the info means the program's execution progress, for example, before power off, the device prepares for sending a message. So, my question is that can it recover the "sending message" state(same as the state before power off) when power on again. 

  • Hi, 

    No, that's not stored. It only stores enough information so that the device can join the network and communicate in the network again. 

    -Amanda H.

  • Hi Amanda,

    1. Can it store the packets that send it again? 

    2. What's the difference between power off then on and reset?

    Kind regards,

    Gaosheng

  • Hi, 

    lgs said:
    1. Can it store the packets that send it again? 

    No, see the previous answer.  

     

    lgs said:
    2. What's the difference between power off then on and reset?

     For recovery of netkey, devkey, appkey, IV Index, it is the same. 

    -Amanda

Related