Open ggadalet opened 5 years ago
@ggadalet use pubsubclient ( https://github.com/knolleary/pubsubclient )
Used the https://github.com/knolleary/pubsubclient and it's working now.
Be aware of this constant I had to change in PubSubClient.h to accomodate my json message in the payload to be sent.
// MQTT_MAX_PACKET_SIZE : Maximum packet size
//#define MQTT_MAX_PACKET_SIZE 128
thanks regards Giovanni
Would this library work for ESP8266 microcontroller ?