Hi,
I am trying to read the "Client. subscribe("Topic B")
and want to publish the content in Topic B to Topic A. I found that client.subscribe
is bool
function . How we can access the message in it.Can anyone guide me in this regards?
I am trying with
`int value= client.subscribe("Topic B");
client.publish("Topic A", value);`
The publish output is 1
no matter what the content is in the Topic A
Thanks