15 #ifndef ADAFRUITIO_TIME_H 16 #define ADAFRUITIO_TIME_H 20 #include "Adafruit_MQTT.h" 51 Adafruit_MQTT_Subscribe *_sub;
55 #endif // ADAFRUITIO_FEED_H Class for interacting with Adafruit IO.
Definition: AdafruitIO.h:45
void(* AdafruitIOTimeCallbackType)(char *value, uint16_t len)
Definition: AdafruitIO_Time.h:26
char * data
Definition: AdafruitIO_Time.h:43
aio_time_format_t format
Definition: AdafruitIO_Time.h:44
aio_time_format_t
Definition: AdafruitIO_Definitions.h:165
void onMessage(AdafruitIOTimeCallbackType cb)
Sets up a MQTT message callback.
Definition: AdafruitIO_Time.cpp:62
Class that contains MQTT subscription callbacks.
Definition: AdafruitIO_MQTT.h:25
~AdafruitIO_Time()
Deconstructor for Adafruit IO time service.
Definition: AdafruitIO_Time.cpp:44
Class that contains functions for interacting with the Adafruit IO Time Service.
Definition: AdafruitIO_Time.h:36
void subCallback(char *val, uint16_t len)
Sets up a MQTT subscription callback. Calls data callback with data.
Definition: AdafruitIO_Time.cpp:76
friend class AdafruitIO_Time
AdafruitIO_Time addition.
Definition: AdafruitIO.h:74