Skip to content
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

Read larger chunks to avoid loosing data. #41

Merged
merged 1 commit into from
Sep 10, 2021
Merged

Conversation

PontusO
Copy link
Contributor

@PontusO PontusO commented Sep 10, 2021

When receiving large amounts of data we would sometimes loose information here and there. By reading all available data from the uart this problem has been solved.

Copy link
Member

@tannewt tannewt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@tannewt tannewt merged commit 5f4b840 into adafruit:main Sep 10, 2021
adafruit-adabot added a commit to adafruit/Adafruit_CircuitPython_Bundle that referenced this pull request Sep 22, 2021
Updating https://github.com/adafruit/Adafruit_CircuitPython_AS7341 to 1.2.0 from 1.1.2:
  > Merge pull request adafruit/Adafruit_CircuitPython_AS7341#19 from bjones14/main
  > Moved CI to Python 3.7
  > Added help text and problem matcher
  > Added pull request template

Updating https://github.com/adafruit/Adafruit_CircuitPython_DisplayIO_SH1107 to 1.4.1 from 1.4.0:
  > Merge pull request adafruit/Adafruit_CircuitPython_DisplayIO_SH1107#10 from lesamouraipourpre/cpython
  > Merge pull request adafruit/Adafruit_CircuitPython_DisplayIO_SH1107#9 from lesamouraipourpre/multiplex

Updating https://github.com/adafruit/Adafruit_CircuitPython_ESP_ATcontrol to 0.5.7 from 0.5.6:
  > Merge pull request adafruit/Adafruit_CircuitPython_ESP_ATcontrol#41 from PontusO/main

Updating https://github.com/adafruit/Adafruit_CircuitPython_IS31FL3741 to 1.1.1 from 1.1.0:
  > Merge pull request adafruit/Adafruit_CircuitPython_IS31FL3741#5 from adafruit/philb-bytes
  > Merge pull request adafruit/Adafruit_CircuitPython_IS31FL3741#3 from rhooper/grid
  > Merge pull request adafruit/Adafruit_CircuitPython_IS31FL3741#4 from adafruit/philb-buffer

Updating https://github.com/adafruit/Adafruit_CircuitPython_BLE to 8.1.0 from 8.0.3:
  > Merge pull request adafruit/Adafruit_CircuitPython_BLE#135 from tannewt/connect_to_address

Updating https://github.com/adafruit/Adafruit_CircuitPython_MIDI to 1.4.3 from 1.4.2:
  > Merge pull request adafruit/Adafruit_CircuitPython_MIDI#41 from EMATech/mtc

Updating https://github.com/adafruit/Adafruit_CircuitPython_PortalBase to 1.9.2 from 1.9.1:
  > Merge pull request adafruit/Adafruit_CircuitPython_PortalBase#49 from makermelissa/main

Updating https://github.com/adafruit/Adafruit_CircuitPython_Bundle/circuitpython_library_list.md to NA from NA:
  > Added the following libraries: Adafruit_CircuitPython_UC8151D
@waiweng83 waiweng83 mentioned this pull request Oct 12, 2021
@kevinjwalters
Copy link

The bug from this change manifests itself as connectivity problems, in my case with an ESP-01S. It was the first time I've used one of these so took me some time to come looking in github for bugs - I see this was reverted in #43. I downloaded lastest library (20211029) and that works well with 0.5.8 version of library.

This is the sort of thing that appears with broken libraries from last September/early October in case anyone else hits this.


Traceback (most recent call last):
  File "code.py", line 168, in <module>
  File "adafruit_io/adafruit_io.py", line 110, in connect
AdafruitIO_MQTTError: MQTT Error: Unable to connect to Adafruit IO.

Plus oddities like high "packet loss" (>50%) with pings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants