mirror of
https://github.com/meshtastic/firmware.git
synced 2025-04-24 17:32:18 +00:00
Don't mix MQTT Payloads of Firmware 1.2 and 1.3/2.0 (#1767)
This commit is contained in:
parent
f4945729bc
commit
186374525a
@ -14,9 +14,9 @@
|
|||||||
|
|
||||||
MQTT *mqtt;
|
MQTT *mqtt;
|
||||||
|
|
||||||
String statusTopic = "msh/1/stat/";
|
String statusTopic = "msh/2/stat/";
|
||||||
String cryptTopic = "msh/1/c/"; // msh/1/c/CHANNELID/NODEID
|
String cryptTopic = "msh/2/c/"; // msh/2/c/CHANNELID/NODEID
|
||||||
String jsonTopic = "msh/1/json/"; // msh/1/json/CHANNELID/NODEID
|
String jsonTopic = "msh/2/json/"; // msh/2/json/CHANNELID/NODEID
|
||||||
|
|
||||||
void MQTT::mqttCallback(char *topic, byte *payload, unsigned int length)
|
void MQTT::mqttCallback(char *topic, byte *payload, unsigned int length)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user