MQTT - Save datra to a variable
Posted: Fri Mar 20, 2020 8:56 pm
Hi Guys,
I am new to esp32, I am trying to implement MQTT using the example (TCP) provided. I am able to establish connection and sub to topics.
I want to know how I can save the data and topic to variables from event MQTT_EVENT_DATA.
Kindly help.
Regards,
Sreedhar
I am new to esp32, I am trying to implement MQTT using the example (TCP) provided. I am able to establish connection and sub to topics.
I want to know how I can save the data and topic to variables from event MQTT_EVENT_DATA.
Kindly help.
Regards,
Sreedhar