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
bump lib to 0.17.0
This commit is contained in:
@ -30,8 +30,8 @@
|
||||
#endif
|
||||
|
||||
#define ADAFRUIT_MQTT_VERSION_MAJOR 0
|
||||
#define ADAFRUIT_MQTT_VERSION_MINOR 16
|
||||
#define ADAFRUIT_MQTT_VERSION_PATCH 1
|
||||
#define ADAFRUIT_MQTT_VERSION_MINOR 17
|
||||
#define ADAFRUIT_MQTT_VERSION_PATCH 0
|
||||
|
||||
// Uncomment/comment to turn on/off debug output messages.
|
||||
//#define MQTT_DEBUG
|
||||
@ -116,7 +116,7 @@
|
||||
#define SUBSCRIPTIONDATALEN 100
|
||||
#endif
|
||||
|
||||
class AdafruitIO_Feed; // forward decl
|
||||
class AdafruitIO_MQTT; // forward decl
|
||||
|
||||
//Function pointer that returns an int
|
||||
typedef void (*SubscribeCallbackUInt32Type)(uint32_t);
|
||||
@ -125,7 +125,7 @@ typedef void (*SubscribeCallbackDoubleType)(double);
|
||||
// returns a chunk of raw data
|
||||
typedef void (*SubscribeCallbackBufferType)(char *str, uint16_t len);
|
||||
// returns an io data wrapper instance
|
||||
typedef void (AdafruitIO_Feed::*SubscribeCallbackIOType)(char *str, uint16_t len);
|
||||
typedef void (AdafruitIO_MQTT::*SubscribeCallbackIOType)(char *str, uint16_t len);
|
||||
|
||||
extern void printBuffer(uint8_t *buffer, uint16_t len);
|
||||
|
||||
@ -277,7 +277,7 @@ class Adafruit_MQTT_Subscribe {
|
||||
void setCallback(SubscribeCallbackUInt32Type callb);
|
||||
void setCallback(SubscribeCallbackDoubleType callb);
|
||||
void setCallback(SubscribeCallbackBufferType callb);
|
||||
void setCallback(AdafruitIO_Feed *io, SubscribeCallbackIOType callb);
|
||||
void setCallback(AdafruitIO_MQTT *io, SubscribeCallbackIOType callb);
|
||||
void removeCallback(void);
|
||||
|
||||
const char *topic;
|
||||
@ -293,7 +293,7 @@ class Adafruit_MQTT_Subscribe {
|
||||
SubscribeCallbackBufferType callback_buffer;
|
||||
SubscribeCallbackIOType callback_io;
|
||||
|
||||
AdafruitIO_Feed *io_feed;
|
||||
AdafruitIO_MQTT *io_mqtt;
|
||||
|
||||
private:
|
||||
Adafruit_MQTT *mqtt;
|
||||
|
Reference in New Issue
Block a user