Chat freely about anything...

User avatar
By Jonathancorera
#54157 I've been testing Tuanpmt's native mqtt library (https://github.com/tuanpmt/esp_mqtt) and managed to get it to work. However, I'm having some difficulty creating and parsing JSON objects in the eclipse environment. Is there an library included for this? Also, would it be possible to send a JSON object with the library?
The function is described as:
BOOL MQTT_Publish(MQTT_Client *client, const char* topic, const char* data, int data_length, int qos, int retain);

It seems to only accept only const chars