Enumerate QBluetoothDeviceDiscoveryAgent-s
Solved
General and Desktop
-
Hello all,
Is there any way to enumerate the local Bluetooth adapters?
I am especially interested of doing this on Linux.
-
Hi,
Do you mean in case you have several bluetooth adapters on your computer ?
-
@SGaist
Correct, I have multiple BT adapters in my machine.
I can select them by passing the specific MAC address to the QBluetoothDeviceDiscoveryAgent's constructor, but I have not found any way to get the local device's MAC addresses. -
Isn't QBluetoothLocalDevice::allDevices what you are looking for ?