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

Minimum required data to reconnect to existing mesh network

Devices: nRF52840

Example: Light switch provisioner/client in one device

I have been looking into provisioner flash storage and am trying to understand at a fundamental level what things are stored and for what purpose.

I understand that storing all the network information about the mesh (through PERSISTENT_STORAGE) would allow the provisioner to power cycle and still be able to talk to the mesh nodes. What I wanted to know was what is the minimum amount of information required to listen to messages from nodes on a mesh?

Say for instance I had PERSISTENT_STORAGE disabled and had to reconnect to a mesh just enough to receive messages, what things would I need at minimum? Could these be statically allocated to be the same each time? I'm less concerned about the security of the network at this point in time.

Related