JSON serialization refactor (#4331)

This commit is contained in:
Ben Meadors
2024-07-25 20:50:42 -05:00
committed by GitHub
parent 4b0bbb8af1
commit f645ae943d
9 changed files with 331 additions and 305 deletions

View File

@@ -5,7 +5,7 @@
#include "concurrency/OSThread.h"
#include "mesh/Channels.h"
#include "mesh/generated/meshtastic/mqtt.pb.h"
#include "mqtt/JSON.h"
#include "serialization/JSON.h"
#if HAS_WIFI
#include <WiFiClient.h>
#if !defined(ARCH_PORTDUINO)
@@ -106,9 +106,6 @@ class MQTT : private concurrency::OSThread
/// Called when a new publish arrives from the MQTT server
void onReceive(char *topic, byte *payload, size_t length);
/// Called when a new publish arrives from the MQTT server
std::string meshPacketToJson(meshtastic_MeshPacket *mp);
void publishQueuedMessages();
void publishNodeInfo();