Don't mix MQTT Payloads of Firmware 1.2 and 1.3/2.0 (#1767)

This commit is contained in:
Thomas Göttgens
2022-10-07 12:54:42 -05:00
committed by GitHub
co-authored by GitHub
parent f4945729bc
commit 186374525a
+3 -3
View File
@@ -14,9 +14,9 @@
MQTT *mqtt;
String statusTopic = "msh/1/stat/";
String cryptTopic = "msh/1/c/"; // msh/1/c/CHANNELID/NODEID
String jsonTopic = "msh/1/json/"; // msh/1/json/CHANNELID/NODEID
String statusTopic = "msh/2/stat/";
String cryptTopic = "msh/2/c/"; // msh/2/c/CHANNELID/NODEID
String jsonTopic = "msh/2/json/"; // msh/2/json/CHANNELID/NODEID
void MQTT::mqttCallback(char *topic, byte *payload, unsigned int length)
{