mirror of
https://github.com/meshtastic/firmware.git
synced 2025-12-22 02:32:23 +00:00
JSON MQTT Integration (#1283)
* Added downstream JSON MQTT handling. * Added uplink JSON messaging * Fixed shadow variable. * Added missing dependency. * Fixes Environment -> Telemetry. * Fixed native issue. * Added json11 pio reg dependency. * Fixed json11 library dependency. Co-authored-by: Sacha Weatherstone <sachaw100@hotmail.com>
This commit is contained in:
committed by
GitHub
parent
f33cd4081e
commit
d4e6dd32c5
@@ -57,6 +57,9 @@ class MQTT : private concurrency::OSThread
|
||||
/// Called when a new publish arrives from the MQTT server
|
||||
void onPublish(char *topic, byte *payload, unsigned int length);
|
||||
|
||||
/// Called when a new publish arrives from the MQTT server
|
||||
String downstreamPacketToJson(MeshPacket *mp);
|
||||
|
||||
/// Return 0 if sleep is okay, veto sleep if we are connected to pubsub server
|
||||
// int preflightSleepCb(void *unused = NULL) { return pubSub.connected() ? 1 : 0; }
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user