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

is it possible to add client and server functionality on the same nRF52 DK Mesh network LightSwitch Example?

Hi,

I am using nrf52 DK with BLE mesh Light-Switch Example. I was looking for changing behavior of the client/server.  Is it possible to have both Client and server functionality in the same board.

I am attachingimage showing sample network. the mesh network design I'm looking to implement. Please let me know if this is doable.

Parents
  • Hi Pavan, 

    Yes you can have both server, client of the same model on one node, but they need to be on different elements. 

    You can have a look at and example here

    However, for your application, do you really need server and client on Switch 1 & 2 ? You can always control Light1&2 and light 3&4 directly from the Main Switch by just let them subscribe to Group Switch 1 and Group Switch 2. You don't really need to implement a server on Switch 1 and Switch 2

Reply
  • Hi Pavan, 

    Yes you can have both server, client of the same model on one node, but they need to be on different elements. 

    You can have a look at and example here

    However, for your application, do you really need server and client on Switch 1 & 2 ? You can always control Light1&2 and light 3&4 directly from the Main Switch by just let them subscribe to Group Switch 1 and Group Switch 2. You don't really need to implement a server on Switch 1 and Switch 2

Children
No Data
Related