MQTT JSON classic/multi topic/flat

This commit is contained in:
Gunnar Skjold
2024-03-23 11:20:39 +01:00
parent 5022f42692
commit 71abe188ca
15 changed files with 162 additions and 323 deletions

View File

@@ -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: