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

How to connect two or more groups with one server? (nRF52 Mesh)

Hello to everyone.
I´m starting to work with Mesh configuration in nRF52 SDK.
I was testing the "light_switch" example as client and server in Mesh v3.10, provisioning with a mobile device with Android App: "nRF Mesh". It worked fine.
Now, I want to make use of "groups" model (like the image above). I know that a group can has many nodes inside (red area), but I got a doubt: Can a server control the messages of two or more groups? (blue area)


I´m trying to make a configuration like previous image, but I want to control the network with a mobile, so I have to make it a only server. And, if I have only one server, to test the "groups" model, I must have several groups with the combination of those three devices (all are nRF52).
How can I do that?
I hope you can help me.

Parents
  • Hi.

    Can a server control the messages of two or more groups? (blue area)

    Yes, this is possible.

    I think the easiest way to solve this, is by having the different server nodes subscribe to multiple publication addresses.
    For example;
    If we look at the first picture in your question. You can have the "Bedroom" nodes and the "Garden" garden nodes both subscribe to the same address.

    Regards,
    Joakim

  • Hello Joakim, thank you for answer.
    I understand what are you saying, but to do that, I need to know where the entire information a configuration of the nodes are saved, to reconfigure them and put different addresses.
    Now, I´m using dynamic provisioning with "light_switch_provisioner.h" example in a nRF52 DK. How to rewrite the code to assign the servers to different addresses in the same client?
    More important, how to put different addresses in only one client?

Reply
  • Hello Joakim, thank you for answer.
    I understand what are you saying, but to do that, I need to know where the entire information a configuration of the nodes are saved, to reconfigure them and put different addresses.
    Now, I´m using dynamic provisioning with "light_switch_provisioner.h" example in a nRF52 DK. How to rewrite the code to assign the servers to different addresses in the same client?
    More important, how to put different addresses in only one client?

Children
Related