adafruit / Adafruit_Blinka_bleio

`_bleio` for Blinka based on `bleak`
58 stars 19 forks source link

hcitool backend: poll on hcidump (not hcitool) #55

Closed cj8scrambler closed 1 year ago

cj8scrambler commented 1 year ago

The _start_scan_hcitool() loop should poll on the hcidump subprocess, not the hcitool subprocess. The hcitool command doesn't work on BlueZ 5 so it immediately fails. It may still be needed on Bluez 4. The main loop should continue as long as hcidump is still running and ignore the status of hcitool.

cj8scrambler commented 1 year ago

This is to resolve issue #54.

It looks like the CI test is broken.

kattni commented 1 year ago

The CI issue has been addressed, it was unrelated to your PR. Please pull adafruit:main into your main, and then push another commit to the PR. That will trigger the CI to run again with the updated code, and CI should pass.