How do I know the network ID of my client and servers when using static provisioner?

As stated in the title.

I am using nrf52832 provisioner example with light_lightness example in v4.2.0. Provisioner is able to set up the network with clients and servers properly. However, if I have 2 provisioners, how do I differentiate which servers & clients are provisioned by? Can it be identified by RTT Viewer log?

And can I modify the network ID?

Parents
  • Hi,

    You can differentiate by their network ID. A network ID is a unique, public identifier derived from a Network Key. The network ID is included in the header of the messages sent by the example (after provisioning). 

    What do you mean by modifying the network ID?

  • Hi,

    Sorry for the late response.

    Can you give more details on what you are trying to do here? Do you really in need of two independent networks? Having two different provisioners and two different networks might not be the solution here. You shouldn't often be in a situation with multiple provisioners being able to be confused about which nodes are provisioned onto which network.

    Also note that the static provisioner works in a fixed and predefined way. It has its own limitations and is mainly provided as a quick way to demonstrate all the other examples of the ecosystem, not really meant for production deployment. Often you would a use a computer(something like Interactive PyACI) or a mobile app(like the nRF Mesh app for mobile(iOS/Android)) as a provisioner.

Reply
  • Hi,

    Sorry for the late response.

    Can you give more details on what you are trying to do here? Do you really in need of two independent networks? Having two different provisioners and two different networks might not be the solution here. You shouldn't often be in a situation with multiple provisioners being able to be confused about which nodes are provisioned onto which network.

    Also note that the static provisioner works in a fixed and predefined way. It has its own limitations and is mainly provided as a quick way to demonstrate all the other examples of the ecosystem, not really meant for production deployment. Often you would a use a computer(something like Interactive PyACI) or a mobile app(like the nRF Mesh app for mobile(iOS/Android)) as a provisioner.

Children
Related