Compare commits

...

5 commits

Author SHA1 Message Date
brentru
e1a05c6301 bump lib name 2020-09-23 12:58:50 -04:00
Brent Rubell
cc5331c470
Merge branch 'master' into patch-1 2020-09-23 12:49:02 -04:00
Zach Auclair
ec80bf783a chore(build): version bump for release 2020-07-08 22:36:27 -04:00
Zach Auclair
c74c56769a fix(definitions): csv length incorrectly small
The max csv length should be 4 characters larger than the max feed name,
so update the definition accordingly.

fixes #127
2020-07-08 22:35:59 -04:00
Zach Auclair
14c311d301 fix(definitions): feed name incorrectly small
Grouped feeds can be a max of 258 characters long (128 for the group, a single dot,
and another 128 for the feed name).
2020-07-08 22:35:59 -04:00
2 changed files with 7 additions and 3 deletions

View file

@ -1,5 +1,5 @@
name=Adafruit IO Arduino
version=3.8.0
version=3.9.1
author=Adafruit
maintainer=Adafruit <adafruitio@adafruit.com>
sentence=Arduino library to access Adafruit IO.

View file

@ -124,11 +124,15 @@ public:
///< SSL
///< Fingerprint
#define AIO_FEED_NAME_LENGTH 20 ///< Maximum length of an Adafruit IO Feed name
#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_DATA_LENGTH \
45 ///< Maximum length of data sent/recieved from Adafruit IO
#define AIO_CSV_LENGTH \
150 ///< Maximum comma-separated-value length from Adafruit IO
AIO_FEED_NAME_LENGTH + 4 ///< Maximum comma-separated-value length from \
///< Adafruit IO
/** aio_status_t offers 13 status states */
typedef enum {