MQTT JSON component added

Compile with #define MQTT_MAX_PACKET_SIZE 512 modified in PubSubClient library. Default is #define MQTT_MAX_PACKET_SIZE 128. Will not work here.
This commit is contained in:
Deb 2018-02-15 13:09:27 -05:00 committed by GitHub
parent 5b1f020f02
commit 1955cbb096
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -27,6 +27,7 @@
// MQTT
#ifdef ENABLE_MQTT
#include <PubSubClient.h>
#include <ArduinoJson.h>
WiFiClient espClient;
PubSubClient mqtt_client(espClient);