You've already forked Adafruit_MQTT_Library
mirror of
https://github.com/adafruit/Adafruit_MQTT_Library.git
synced 2025-07-30 13:23:06 +03:00
adds packet ids for publish QoS > 0
also adds packet id counter so packet ids aren't static values. this is a step in the direction of QoS 1 support
This commit is contained in:
@ -193,6 +193,7 @@ class Adafruit_MQTT {
|
||||
uint8_t will_qos;
|
||||
uint8_t will_retain;
|
||||
uint8_t buffer[MAXBUFFERSIZE]; // one buffer, used for all incoming/outgoing
|
||||
uint16_t packet_id_counter = 0;
|
||||
|
||||
private:
|
||||
Adafruit_MQTT_Subscribe *subscriptions[MAXSUBSCRIPTIONS];
|
||||
|
Reference in New Issue
Block a user