Skip to content

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
Updating https://github.com/adafruit/Adafruit_CircuitPython_ADS1x15 to 2.2.2 from 2.2.1:
  > Merge pull request adafruit/Adafruit_CircuitPython_ADS1x15#57 from caternuson/iss55

Updating https://github.com/adafruit/Adafruit_CircuitPython_BLE to 7.0.1 from 7.0.0:
  > Merge pull request adafruit/Adafruit_CircuitPython_BLE#93 from dhalbert/start_scan-prefix-fix
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