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

Fixed issue where an unknown packet would cause library to forcibly exit #14

Merged
merged 3 commits into from
Sep 28, 2020

Conversation

raetha
Copy link
Contributor

@raetha raetha commented Jul 12, 2020

Fixes #9

There appears to be a type of packet that the library couldn't handle with the asserts around the payload. This change causes those packets to be ignored without triggering a Python asset error and crashing all code using this library. Ideally someone with more hardware skills could figure out what the errant packet is and take a meaningful action. It may be related to a sensor running low on battery, but am unable to confirm for sure.

@HclX HclX merged commit 88067be into HclX:master Sep 28, 2020
@raetha
Copy link
Contributor Author

raetha commented Sep 28, 2020

Nice to see you back!

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.

AssertionError in gateway.py
2 participants