hello Sara,
In chap 5.7, I don’t understand how to display multiple topics from the same Mqtt broker. Doo you have a piece of code to process.
Thanks,
marc
2 Answers
Hi.
you need to:
– create a variable for each of the topics you want to subscribe to
– subscribe to every topic individually
– create different text labels , one for each topic
– upon receiving an Mqtt message, verify in which topic it was published and display it on the right text label.
At the moment, we don’t have an example for that and I’m currently out of the office, so I don’t have a way to try it out at the moment.
Regards.
Sara