adafruit / Adafruit_IO_Arduino

Arduino library to access Adafruit IO from WiFi, cellular, and ethernet modules.
Other
208 stars 108 forks source link

fix(definitions): feed name incorrectly small #126

Closed blaskovicz closed 3 years ago

blaskovicz commented 4 years ago

Grouped feeds can be a max of 258 characters long (128 for the group, a single dot, and another 128 for the feed name).

Fixes #119

blaskovicz commented 4 years ago

will look at it when i have time, thanks for the feedback 👍

brentru commented 3 years ago

This tests properly on hardware.

To test, I created a grouped feed with len 128 and then used example adafruitio_11_group_pub:

Adafruit IO connected.
sending example.ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff-> 0
sending example.count-2 -> 0

On io web, example.ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff correctly obtained value 0