List adapters and specify which adapter to use?
- bleak version: Latest
- Python version: 3.10
- Operating System: Linux
- BlueZ version (
bluetoothctl -v) in case of Linux:
Description
I can not tell how to connect to one adapter when you have multiple and list the devices that the adapter sees.
What I Did
Read the docs but I don't see how you can set the deviceID to use. And even how to get that devicesID.
There currently isn't a way to list adapters.
On Linux, you can add an adapter="hci1" keyword argument to BleakScanner and BleakClient.
To list the available Bluetooth adapters on your system, you can use the bluetooth-adapters package.
How does bleak handle the adapter=hci1 argument in different OS's? Is it just ignored, or will it cause trouble?
I'm pretty sure it is just ignored.