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

how to send mesh messages from client to a specific server

Hello,

I am using the light-switch example and I want to send a message or let say get the status of led of a particular server node....so how do I do that?

How to address them individually ..as the provisioner already assigns the addresses right  

BR

Nakul

Parents Reply
  • Hi ,

    According to my knowledge only the 1st 2 devices that get provisioned have unicast address then after it is divided into odd and even group. So we can send message to server 3 (which belongs to odd group so therefore we have to set the odd address in the simple_on_off_client_set() function) but that message will also be relayed to other nodes in that group.

    Probably you have to tweak the node_setup.c file in provisioner to change the addressing style if you want to send messages to a specific server.

Children
No Data
Related