有没有任何方法来发现所有的设备,目前在范围内使用32英尺?
我试过了
BluetoothDeviceInfo[] allDevicesInRange = client.DiscoverDevices(255, false, false, true);这将返回范围内的所有未知设备。一旦我和我的设备配对,如果我再试一次,它就不会再找到设备了(因为它不再是未知的了)。我必须进入蓝牙设备应用程序在Windows和删除它之前,这将再次找到它。
我也试过
BluetoothDeviceInfo[] allDevicesInRange = client.DiscoverDevices(255, false, true, true);和
BluetoothDeviceInfo[] allDevicesInRange = client.DiscoverDevices(255, true, false, true);在这种情况下,它确实找到了我的设备每次,但现在它找到他们,即使当设备被关闭!
发布于 2018-02-05 07:43:33
BluetoothDeviceInfo[] DiscoverDevices(int maxDevices, bool authenticated, bool remembered, bool unknown, bool discoverableOnly);你得分两部分去做
https://stackoverflow.com/questions/46362938
复制相似问题