|
1 | 1 | /*! |
2 | 2 | * @file AdafruitIO.h |
3 | 3 | * |
4 | | - * Adafruit invests time and resources providing this open source code. |
5 | | - * Please support Adafruit and open source hardware by purchasing |
| 4 | + * This is part of the Adafruit IO library for the Arduino platform. |
| 5 | + * |
| 6 | + * Adafruit invests time and resources providing this open source code, |
| 7 | + * please support Adafruit and open-source hardware by purchasing |
6 | 8 | * products from Adafruit! |
7 | 9 | * |
8 | | - * Copyright (c) 2015-2016 Adafruit Industries |
9 | | - * Authors: Tony DiCola, Todd Treece |
10 | | - * Licensed under the MIT license. |
| 10 | + * Written by Tony DiCola, Todd Treece for Adafruit Industries |
| 11 | + * |
| 12 | + * BSD license, all text here must be included in any redistribution. |
11 | 13 | * |
12 | | - * All text above must be included in any redistribution. |
13 | 14 | */ |
14 | 15 |
|
15 | 16 | #ifndef ADAFRUITIO_H |
|
28 | 29 |
|
29 | 30 | #ifndef ADAFRUIT_MQTT_VERSION_MAJOR |
30 | 31 | #error \ |
31 | | - "This sketch requires Adafruit MQTT Library v0.17.0 or higher. Please install or upgrade using the Library Manager." |
| 32 | + "This sketch requires Adafruit MQTT Library v1.0.0 or higher. Please install or upgrade using the Library Manager." |
32 | 33 | #endif |
33 | 34 |
|
34 | | -#if ADAFRUIT_MQTT_VERSION_MAJOR == 0 && ADAFRUIT_MQTT_VERSION_MINOR < 17 |
| 35 | +#if ADAFRUIT_MQTT_VERSION_MAJOR == 1 && ADAFRUIT_MQTT_VERSION_MINOR < 0 |
35 | 36 | #error \ |
36 | | - "This sketch requires Adafruit MQTT Library v0.17.0 or higher. Please install or upgrade using the Library Manager." |
| 37 | + "This sketch requires Adafruit MQTT Library v1.0.0 or higher. Please install or upgrade using the Library Manager." |
37 | 38 | #endif |
38 | 39 |
|
39 | 40 | /**************************************************************************/ |
40 | 41 | /*! |
41 | | - @brief Class for interacting with adafruit.io (AIO) |
| 42 | + @brief Class for interacting with Adafruit IO |
42 | 43 | */ |
43 | 44 | /**************************************************************************/ |
44 | 45 | class AdafruitIO { |
|
0 commit comments