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.

  • Hi, thanks for answering.

    I just want to use a single provisioner to configure the different networks, hence I want to know where the network ID is stated in the static provisioner example so that I can manually change it.

    Is it possible?

  • Hi,

    No, this is not possible with the static provisioner. Like mentioned the provisioner has its own limitation and its main purpose is to be a tool to evaluate SDK examples, The static provisioner is far from suitable for any production deployment. 

    I'm not completely sure what you want to accomplish but would using different app keys instead of entirely seperate networks be an option? 

Reply
  • Hi,

    No, this is not possible with the static provisioner. Like mentioned the provisioner has its own limitation and its main purpose is to be a tool to evaluate SDK examples, The static provisioner is far from suitable for any production deployment. 

    I'm not completely sure what you want to accomplish but would using different app keys instead of entirely seperate networks be an option? 

Children
Related