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

How to control a light from one server to another server in light switch example of BLE mesh SDK?

I am working on light switch example of BLE mesh SDK.

I am using five nRF52840 boards one for provisioner,one for client and rest for servers.

I am using Segger embedded studio for programming, mesh SDK v2.1.1.

The network is working fine I am able to control the servers from the client.

I want to know whether it is possible to control the light of a server from another sever.

If it is possible I want to know what are the changes needed to be  made and in which examples we need to make the changes.

Could anyone please help in this?

Thanks in advance.

Parents Reply
  • I am not sure I fully understand. I thought you just wanted to control the light from one server by pushing a button on another server. You can send messages to the group address to change the LED status of multiple servers. This is done by pressing button 3 or 4 on the client. Take a look at the button_event_handler function in the client example code. You can always update the button_event_handler function to do something different than it is doing at the moment.

Children
No Data
Related