Hello!
I'm very new to ESP-IDF and C programming in general. I'm currently studying the example on Github about MQTT over TCP (https://github.com/espressif/esp-idf/tr ... s/mqtt/tcp).
If I understand correctly the data I sent or received is available in event->data. How can I save this data as text, so that I can compare it
and make it do something (ex. if (strcmp(a, b) == 0) { do stuff }).
An example would be very appreciated!
Regards,
palee
ESP_MQTT saving data from topic
Re: ESP_MQTT saving data from topic
IT Professional, Maker
Santiago, Dominican Republic
Santiago, Dominican Republic
Who is online
Users browsing this forum: Corand, Google [Bot] and 144 guests