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

Integrate serial and light_switch client example

Hi,

We want to subscribe the provisioner in the serial example to any state changes of light_switch server. The light_switch server will publish this to a specific group. How do we subscribe the provisioner to that group? Is this possible, if not do we need to integrate the light_switch client into the provisioner? If so, how do we proceed with this?

Regards,

Suhas K V

Parents Reply
  • But I am a bit confused. The servers doesn't publish much by default. Do you mean that you want to subscribe to the messages that the light_switch\client publishes? The light_switch\server typically only listens to the messages from the client.

    This is also a page that has some information in the very end on how to add subscriptions and publications. 

Children
Related