Skip to content

fix scan filtering for cases like (Advertisement, SubclassOfAdvertisment) #93

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

Merged
merged 2 commits into from
Jun 28, 2020

Conversation

dhalbert
Copy link
Collaborator

Fixes #92.

start_scan() did not handle the case of mixing an Advertisement class with no prefixes with classes with some prefixes. This is used in examples/ble_detailed_scan.py.

Thanks to anecdata (in discord) for spotting this problem.

@dhalbert dhalbert requested a review from tannewt June 27, 2020 20:48
@dhalbert dhalbert force-pushed the start_scan-prefix-fix branch from 904f8ae to 354134f Compare June 27, 2020 21:23
@dhalbert dhalbert force-pushed the start_scan-prefix-fix branch from 354134f to 8e32223 Compare June 27, 2020 21:28
@dhalbert
Copy link
Collaborator Author

anecdata tested and verified

Copy link
Member

@ladyada ladyada left a comment

Choose a reason for hiding this comment

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

didnt test but did look at the diffs!

@dhalbert dhalbert merged commit 7b06c53 into adafruit:master Jun 28, 2020
@dhalbert dhalbert deleted the start_scan-prefix-fix branch June 28, 2020 15:11
adafruit-adabot added a commit to adafruit/Adafruit_CircuitPython_Bundle that referenced this pull request Jun 29, 2020
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.

examples/ble_detailed_scan.py no longer working
2 participants