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

Properly handle unknown broadcast messages #231

Merged
merged 3 commits into from
Feb 15, 2024
Merged

Properly handle unknown broadcast messages #231

merged 3 commits into from
Feb 15, 2024

Conversation

Orhideous
Copy link
Collaborator

@Orhideous Orhideous commented Feb 14, 2024

At the moment, MikroTik routers, and probably other devices will break Roomba integration because roombapy can't handle unknown packets being sent — for example, serialized ND packets.

This PR adds more robust handling of unknown data.

Follow-up for #225

@Orhideous Orhideous marked this pull request as draft February 15, 2024 12:04
@Orhideous Orhideous marked this pull request as ready for review February 15, 2024 12:39
Copy link
Owner

@pschmitt pschmitt left a comment

Choose a reason for hiding this comment

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

Few nitpicks here and there but otherwise lgtm!

roombapy/discovery.py Outdated Show resolved Hide resolved
roombapy/roomba_info.py Outdated Show resolved Hide resolved
roombapy/roomba_info.py Outdated Show resolved Hide resolved
roombapy/roomba_info.py Outdated Show resolved Hide resolved
roombapy/roomba_info.py Outdated Show resolved Hide resolved
roombapy/discovery.py Outdated Show resolved Hide resolved
@Orhideous
Copy link
Collaborator Author

Done.

@pschmitt
Copy link
Owner

Thanks!

@pschmitt pschmitt merged commit b1d4364 into pschmitt:main Feb 15, 2024
5 checks passed
@Orhideous Orhideous deleted the fix_broadcast branch February 15, 2024 21:12
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.

2 participants