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

How mesh node provising itself?

Hi  Guys,

               According to the  MESH document, there are two ways of node provision: PB-ADV  and PB-GATT(smart phone) . A provisioner provides the unprovisioned device with provisioning data that allows it to become a mesh node. the provisioning data includes a network key, the current IV index,and the unicast address for each element.

               if a unprovisioned device holds all provisioning data,can it  provisioning itself?

            For example, I use a smart phone , a node and a mesh gateway to build a mesh network.After i provision a node with my phone. the mesh gateway obtains provisioning data of the mobile phone through the  cloud. Can the gateway provision itself to join the network?

 

              

              

  • Hi,

    The idea with exporting the provisioning data to import into another phone or computer. It is also possible to import it into a mesh node acting as a gateway device, but we don't have built-in support for these exported files in the SDK so you have to implement this yourself.

    if a unprovisioned device holds all provisioning data,can it  provisioning itself?

    The exported data is not intended for self-provisioning. Using this to self-provision would be bad for security of the mesh network since whoever that has the exported file will be able to control the entire network, So importing this into a node isn't recommended.