Skip to content

Commit c2d12eb

Browse files
author
brentru
committed
modifications per blaskovicz-patch-1
1 parent 926a4ff commit c2d12eb

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

src/AdafruitIO_Definitions.h

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -124,11 +124,15 @@ class AdafruitIOGroupCallback {
124124
///< SSL
125125
///< Fingerprint
126126

127-
#define AIO_FEED_NAME_LENGTH 20 ///< Maximum length of an Adafruit IO Feed name
127+
#define AIO_FEED_NAME_LENGTH \
128+
258 ///< Maximum length of an Adafruit IO Feed \
129+
///< Name; 128 + 1 + 128 for the group, a dot \
130+
///< , and actual feed name.
128131
#define AIO_DATA_LENGTH \
129132
45 ///< Maximum length of data sent/recieved from Adafruit IO
130133
#define AIO_CSV_LENGTH \
131-
150 ///< Maximum comma-separated-value length from Adafruit IO
134+
AIO_FEED_NAME_LENGTH + 4 ///< Maximum comma-separated-value length from \
135+
///< Adafruit IO
132136

133137
/** aio_status_t offers 13 status states */
134138
typedef enum {
@@ -162,4 +166,4 @@ typedef enum {
162166

163167
} aio_time_format_t;
164168

165-
#endif /* ADAFRUITIO_DEFINITIONS_H_ */
169+
#endif /* ADAFRUITIO_DEFINITIONS_H_ */

0 commit comments

Comments
 (0)