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

Modify Light Switch Example on nRF5 Mesh SDK v3.0.0

I am a beginner and I need to know how we can further modify the light switch example codes to access gpio pins and get some output from that.

I have run the example using nRF Mesh App as the provisioner.

I want to code such that when each of the buttons on the client is pressed, for a customized task to happen. That means for example to light an external LED connected to a GPIO pin on a server. And I want to know how we can configure tasks like that to each button. Should I modify both client and server codes ? Where should I modify ?

I also want to know how I can add more elements to the client so that it can publish to many servers. I could only publish to two servers for now. For that, can elements be added in the nRF Mesh app ? Or should I edit the codes ?

Also, as unicasting is done here, I want to know how I can broadcast using this example. 

Related