adafruit / adafruit/Adafruit_IO_Arduino

getting data unreliable if datapoint is large

Open
#141 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
222
Forks
109
PR merge metrics
No merged PRs in 30d

Description

- Arduino board: ESP32 from AZ-Delivery

- Arduino IDE version (found in Arduino -> About Arduino menu): 1.8.13 (or/and plattform io)

- List the steps to reproduce the problem below (if possible attach a sketch or
copy the sketch code in too):
Simple Sketch that inits a connection subscribes to a topic and requests that with feed->get() or gets the last data with feed->lastValue()
If you enter data of more than 80-85 characters the value is not received. (with get() it will never call the handler and with lastValue() it will never finish the call) (That is true for feeds with history turned off and on)

It also happens with the example sketch:
https://github.com/adafruit/Adafruit_IO_Arduino/blob/master/examples/adafruitio_01_subscribe/adafruitio_01_subscribe.ino

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with examples/adafruitio_01_subscribe/adafruitio_01_subscribe.ino and trace the feed->get() and feed->lastValue() calls described in the report. Reproduce the failure with values over 80–85 characters on the ESP32 setup, then verify that the handler receives the value and lastValue() completes for feeds with and without history.

Written by the indexing model from the issue text.

Assessment

Tech stack
arduino, cpp
Domain
embedded-iot
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.