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

Update Bleak to use BleakScanner #31

Open
stocktonkincade opened this issue Feb 26, 2024 · 0 comments
Open

Update Bleak to use BleakScanner #31

stocktonkincade opened this issue Feb 26, 2024 · 0 comments

Comments

@stocktonkincade
Copy link
Contributor

stocktonkincade commented Feb 26, 2024

Update backend_bleak.py to use BleakScanner and avoid future deprecation of scanning/discovery. See this example and this example for ideas.

The error we currently see is:
C:\Python311\Lib\site-packages\godirect-1.1.4-py3.11.egg\godirect\backend_bleak.py:21: FutureWarning: The discover function will removed in
a future version, use BleakScanner.discover instead.
C:\Python311\Lib\site-packages\godirect-1.1.4-py3.11.egg\godirect\backend_bleak.py:28: FutureWarning: BLEDevice.rssi is deprecated and will
be removed in a future version of Bleak, use AdvertisementData.rssi instead

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

No branches or pull requests

1 participant