Hi,
How can I detect, whether a server node in a mesh network was already provisioned directly after power up?
Kind regards
Gerry
Hi,
How can I detect, whether a server node in a mesh network was already provisioned directly after power up?
Kind regards
Gerry
Hi Gerry,
Do you mean that the node detects itself if it has been provisioned? Could you please add some more details describing your scenario?
Ketil
Hi Ketil
Sorry for my short question. Here ist the scenario: The servers in our mesh network only get provisioned after pressing a button. This already works. After a power cycle, it would be good to know, wether this server already was successfully provisioned before, so I then can start the provisioning again and the server gets his provisioning data from flash. I tried to store this flag in Flash memory, but since I use SDK 1.0.0 for mesh i had to merge the fsstorage from another SDK and this didn't work. So I thought it should be possible to detect wether a server has valid provisionig info already.
Hi Gerry,
Sorry for the late reply. I hope you managed to figure out the issue.
If not, you should use the Flash manager library in the Mesh SDK. Also see the chapter nRF5 SDK NVM storage modules in Coexistence with other Nordic SDKs.
Ketil
Hi Ketil
Thanks for your answer. I studied the flash manager library in infocenter Do you have some sample code
how a simple integer would be saved and read back correctly? I tried already using SDK 1.0.0 for Mesh, but without success.
Kind regards
Gerry