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

Add more clients too the mesh network

Hi
I'm a bit confused about how to get two clints on the same mesh network and can you have more clients on the same network.
If yes, is there someone who has an example or just a place where I can read more about it


-good day to all

  • Hi,

    Yes, you can have several clients on a Bluetooth Mesh network.

    If you try to do so with the light switch examples in the nRF5 SDK for Mesh v2.0.1 you might get some problems, and that is because the provisioner in that example is hard coded to provision and configure one client only. You will find that the UUID of the client is hardcoded in light_switch_example_common.h, and it is then used by the client (in order to set it there) and the proivsioner (in order to find the correct device to provision and configure as client.)

    The easiest way to test multiple clients is probably to use the nRF mesh App, as with that one you can manually provision and configure the devices. You can also do something similar using the Interactive PyACI, or by modifying the provisioner so that it provisions and configures more than one client.

    You can read more about the provisioning process in Provisioning process and APIs. For understanding the configuration I must refer to Interactive mesh provisioning and configuration, as well as the source code for the light switch provisioner example.

    Regards,
    Terje

Related