mirror of
https://github.com/UtilitechAS/amsreader-firmware.git
synced 2026-01-27 20:48:36 +00:00
MQTT JSON classic/multi topic/flat
This commit is contained in:
@@ -1433,6 +1433,8 @@ void MQTT_connect() {
|
||||
if(mqttHandler == NULL) {
|
||||
switch(mqttConfig.payloadFormat) {
|
||||
case 0:
|
||||
case 5:
|
||||
case 6:
|
||||
mqttHandler = new JsonMqttHandler(mqttConfig, &Debug, (char*) commonBuffer, &hw);
|
||||
break;
|
||||
case 1:
|
||||
|
||||
Reference in New Issue
Block a user