|
Adafruit IO Arduino Library
|
Go to the source code of this file.
Classes | |
| class | AdafruitIOGroupCallback |
| Class that contains methods for Adafruit IO MQTT callbacks. More... | |
Macros | |
| #define | ADAFRUITIO_VERSION_MAJOR 3 |
| Adafruit IO Arduino Major Semvar. | |
| #define | ADAFRUITIO_VERSION_MINOR 5 |
| Adafruit IO Arduino Minor Semvar. | |
| #define | ADAFRUITIO_VERSION_PATCH 0 |
| Adafruit IO Arduino Patch Semvar. | |
| #define | AIO_PRINTER Serial |
| Where debug messages will be printed. | |
| #define | AIO_DEBUG_PRINT(...) {} |
| Prints debug output. | |
| #define | AIO_DEBUG_PRINTLN(...) {} |
| Prints line from debug output. | |
| #define | AIO_ERROR_PRINT(...) {} |
| Prints error output. | |
| #define | AIO_ERROR_PRINTLN(...) {} |
| Prints line from error output. | |
| #define | AIO_PING_INTERVAL 60000 |
| Adafruit IO Ping Interval, in milliseconds. | |
| #define | AIO_THROTTLE_RECONNECT_INTERVAL 60000 |
| Time to wait between re-connecting to Adafruit IO after throttled. | |
| #define | AIO_MQTT_CONNECTION_TIMEOUT 60000 |
| Time to wait for a successful reconnection after MQTT disconnect. | |
| #define | AIO_NET_CONNECTION_TIMEOUT 60000 |
| Time to wait for a successful reconnection after network disconnect. | |
| #define | AIO_NET_DISCONNECT_WAIT 300 |
| Time to wait for a net disconnect to take effect. | |
| #define | AIO_ERROR_TOPIC "/errors" |
| Adafruit IO Error MQTT Topic. | |
| #define | AIO_THROTTLE_TOPIC "/throttle" |
| Adafruit IO Throttle MQTT Topic. | |
| #define | AIO_SSL_FINGERPRINT "59 3C 48 0A B1 8B 39 4E 0D 58 50 47 9A 13 55 60 CC A0 1D AF" |
| #define | AIO_FEED_NAME_LENGTH 258 |
| #define | AIO_DATA_LENGTH 45 |
| Maximum length of data sent/recieved from Adafruit IO. | |
| #define | AIO_CSV_LENGTH AIO_FEED_NAME_LENGTH + 4 |
| Adafruit IO. More... | |
Typedefs | |
| typedef void(* | AdafruitIODataCallbackType) (AdafruitIO_Data *data) |
Enumerations | |
| enum | aio_status_t { AIO_IDLE = 0, AIO_NET_DISCONNECTED = 1, AIO_DISCONNECTED = 2, AIO_FINGERPRINT_UNKOWN = 3, AIO_NET_CONNECT_FAILED = 10, AIO_CONNECT_FAILED = 11, AIO_FINGERPRINT_INVALID = 12, AIO_AUTH_FAILED = 13, AIO_SSID_INVALID, AIO_NET_CONNECTED = 20, AIO_CONNECTED = 21, AIO_CONNECTED_INSECURE = 22, AIO_FINGERPRINT_UNSUPPORTED = 23, AIO_FINGERPRINT_VALID = 24 } |
| enum | aio_time_format_t { AIO_TIME_SECONDS = 0, AIO_TIME_MILLIS = 1, AIO_TIME_ISO = 2 } |
This is part of the Adafruit IO library for the Arduino platform.
Adafruit invests time and resources providing this open source code, please support Adafruit and open-source hardware by purchasing products from Adafruit!
Written by Tony DiCola, Todd Treece for Adafruit Industries
MIT license, all text here must be included in any redistribution.
| #define AIO_SSL_FINGERPRINT "59 3C 48 0A B1 8B 39 4E 0D 58 50 47 9A 13 55 60 CC A0 1D AF" |
Latest Adafruit IO SSL Fingerprint
| #define AIO_FEED_NAME_LENGTH 258 |
Maximum length of an Adafruit IO Feed \ Name; 128 + 1 + 128 for the group, a dot \ , and actual feed name.
| #define AIO_CSV_LENGTH AIO_FEED_NAME_LENGTH + 4 |
Adafruit IO.
Maximum comma-separated-value length from \
| typedef void(* AdafruitIODataCallbackType) (AdafruitIO_Data *data) |
Data callback type
| enum aio_status_t |
aio_status_t offers 13 status states
| enum aio_time_format_t |
Three different types of MQTT time feeds from IO
1.8.13