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

Mesh receive state on all nodes

Hi,

I want to implement Server/Client model light switch where all nodes should receive the state from all.

How can we read the state of one client on another client ?

Thanks

Parents
  • By spec, the client was designed not to talk to other client but to server. But it's possible. Simply change the publication address of the client to either the unicast address of the other client or the address that the client listen to, then the message will be received by that client.

    If you want to broadcast a message to all devices, you can simply let all device subscribe to one group address and then publish the message to that address.

    You can always go directly to access layer (skip the model layer) to send and receive message over mesh.

Reply
  • By spec, the client was designed not to talk to other client but to server. But it's possible. Simply change the publication address of the client to either the unicast address of the other client or the address that the client listen to, then the message will be received by that client.

    If you want to broadcast a message to all devices, you can simply let all device subscribe to one group address and then publish the message to that address.

    You can always go directly to access layer (skip the model layer) to send and receive message over mesh.

Children
Related