-
Notifications
You must be signed in to change notification settings - Fork 51
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
Issue #126 #127
Issue #126 #127
Conversation
Added bytearray('\x00') to the list of expected "noop" returns from the socket.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
THanks! One question.
Use |
Fixed linting errors using Black
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm wondering whether the fact that you have to check for one byte of zeros is a bug in the underlying network code. But I think this is a good workaround to add to the library for now.
@brentru Do you have any comment about this from an MQTT protocol point of view?
@jinglemansweep Hi - thanks for fixing this issue. @dhalbert - I do not think this is a network or a MQTT spec issue, Considering some in #126 are having issues with non-native wifi, it's possible (don't know, guessing right now) that the issue is within this library's local implementation of
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For now, though, I think this is an OK temporary change and will cause clients to poll faster until we resolve why the socket is rcv'ing a bytearray on some clients.
Updating https://github.com/adafruit/Adafruit_CircuitPython_MiniMQTT to 6.0.1 from 6.0.0: > Merge pull request adafruit/Adafruit_CircuitPython_MiniMQTT#127 from jinglemansweep/main Updating https://github.com/adafruit/Adafruit_CircuitPython_PortalBase to 1.14.5 from 1.14.4: > Merge pull request adafruit/Adafruit_CircuitPython_PortalBase#84 from makermelissa/main > Update .pylintrc for v2.15.5 > Fix release CI files > Update pylint to 2.15.5 > Updated pylint version to 2.13.0 > Switching to composite actions
Added bytearray('\x00') to the list of expected "noop" returns from the socket.