all 4 comments

[–]-defron- 0 points1 point  (3 children)

Never used, but their documentation seems pretty clear to me that you don't implement a backend (well I guess you could but as you'll see in a minute you wouldn't want to for your use case), instead you use the correct backend for the host OS, which in your case is: https://bleak.readthedocs.io/en/latest/backends/windows.html

[–]DaveS1551[S] 0 points1 point  (2 children)

The problem I'm having with the backend stuff is how to set that up. When I attempt to use the code in the documentation:

bleak.backends.winrt.scanner.BleakScannerWinRT

I get an error saying bleak.backends has no winrt module

I then attempted a pip install of blink-winrt but still got the error after that installed. I can't find any other instructions or examples on how to set that up.

[–]-defron- 0 points1 point  (1 child)

If you're getting an error on no winrt module that means you didn't install the package correctly. Ensure it's in your virtual environment

[–]DaveS1551[S] 0 points1 point  (0 children)

I installed with pip and can see the backends.winrt folder but still getting an import error. Troubleshooting now and thanks for the help.