Skip to content

fix(definitions): feed name incorrectly small #126

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Sep 23, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions src/AdafruitIO_Definitions.h
Original file line number Diff line number Diff line change
Expand Up @@ -124,11 +124,15 @@ class AdafruitIOGroupCallback {
///< 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 {
Expand Down