In my .Net MAUI Windows C# App, I can get the lists of all Bluetooth adapters and devices by the following code:
BluetoothAdapter bluetoothAdapter = null;
foreach (var deviceInformation in DeviceInformation.FindAllAsync(BluetoothAdapter.GetDeviceSelector()).AsTask().Result)
bluetoothAdapter = BluetoothAdapter.FromIdAsync(deviceInformation.Id).AsTask().Result;
BluetoothDevice bluetoothDevice;
foreach (var deviceInformation in DeviceInformation.FindAllAsync(BluetoothDevice.GetDeviceSelector()).AsTask().Result)
bluetoothDevice = BluetoothDevice.FromIdAsync(deviceInformation.Id).AsTask().Result;
But how can I figure out, which BluetoothDevice uses which BluetoothAdapter to connect to another device?
Perfectly, each adapter would be able to connect every device, but maybe some devices are reachable for one adapter only. In this case, I would like to know which one?