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

light switch example modification (using nRF SDK for Mesh 2.0.1)

Hi there,

I was hoping someone could help me out. I recently got a hold of the nRF5 SDK for Mesh v2.0.1, and had a play around with the light switch example. I modified the code to instead send sensor data from each server instead of a simple on/off setting etc (like in the Nordic Thingy52 mesh demo). At the moment I am only able to receive sensor data at the client side from 2 out of 6 servers on the mesh (the two servers with addresses 0x0105 & 0x0106 respectively).  I understand that the issue probably arises from the fact that the light switch example organises all nodes into odd/even groups. What I would like to know is how to organise all servers into one group OR maybe set it up so that it is like the Thingy52 mesh demo which has two groups, but the first group is for all the nodes, and the second group is for user defined node etc. Any help and/or setup code snippets  would be greatly appreciated thanks Slight smile

Related