mirror of
https://github.com/meshtastic/firmware.git
synced 2025-12-23 11:10:52 +00:00
Use encoded ServiceEnvelope in mqttQueue (#5619)
This commit is contained in:
@@ -78,7 +78,11 @@ class MQTT : private concurrency::OSThread
|
||||
void start() { setIntervalFromNow(0); };
|
||||
|
||||
protected:
|
||||
PointerQueue<meshtastic_ServiceEnvelope> mqttQueue;
|
||||
struct QueueEntry {
|
||||
std::string topic;
|
||||
std::basic_string<uint8_t> envBytes; // binary/pb_encode_to_bytes ServiceEnvelope
|
||||
};
|
||||
PointerQueue<QueueEntry> mqttQueue;
|
||||
|
||||
int reconnectCount = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user