32feet库无法发现设备

时间:2018-07-17 13:27:58

标签: c# bluetooth

我无法找到具有32feet库的任何设备。我尝试了一些不同的方法:

localEndpoint = new BluetoothEndPoint(BluetoothRadio.PrimaryRadio.LocalAddress, BluetoothService.SerialPort);
localClient = new BluetoothClient(localEndpoint);

BluetoothDeviceInfo[] allDevicesInRange = localClient.DiscoverDevices(255, false, false, true);

allDevicesInRange = localClient.DiscoverDevices(255, false, true, true);
allDevicesInRange = localClient.DiscoverDevices(255, true, false, true);

localComponent = new BluetoothComponent(localClient);

我的主要目标是找到并连接到已与Windows蓝牙配对的设备。这是我要发现然后连接的设备的屏幕截图:

Device that I want to connect

The device is paired

0 个答案:

没有答案