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

Detect provisioning state after power cycle

Hi,

How can I detect, whether a server node in a mesh network was already provisioned directly after power up?

Kind regards

Gerry

Parents
  • 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.

Reply
  • 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.

Children
Related