You've already forked Adafruit_MQTT_Library
mirror of
https://github.com/adafruit/Adafruit_MQTT_Library.git
synced 2025-07-29 02:02:00 +03:00
add new processSubscriptionPacket func
This commit is contained in:
@ -209,10 +209,12 @@ public:
|
||||
// messages!
|
||||
Adafruit_MQTT_Subscribe *readSubscription(int16_t timeout = 0);
|
||||
|
||||
// Handle any data coming in for subscriptions and fires them off to the
|
||||
// appropriate callback
|
||||
// Handle any data coming in for subscriptions
|
||||
Adafruit_MQTT_Subscribe *handleSubscriptionPacket(uint16_t len);
|
||||
|
||||
// Execute a subscription packet's associated callback and mark as "read"
|
||||
void processSubscriptionPacket(Adafruit_MQTT_Subscribe *sub);
|
||||
|
||||
void processPackets(int16_t timeout);
|
||||
|
||||
// Ping the server to ensure the connection is still alive.
|
||||
|
Reference in New Issue
Block a user