RoyLi, I ran the busiotool commands shown in the Readme.md on both machines, but I dont know where it saves the logs. Let me know and I will include them.
Thanks for the help.
All test PCs are running updated Windows 10 Pro, 2004, 19041.508
Bluetooth level on Test PCs:
Intel HCI 9.265/LMP 9.256 - Falcon NW Initial app development PC(works)
Marvel Avastar HCI 8.33536/LMP 8.37138 -- Surface Pro 6 fails
Belkin 4.0 adapter LMP 7.xxx - OriginPC (works)
Qualcomm QCA9565 HCI 6.12545/ LMP6.1 - Dell sometimes yes, sometimes no
Application code is from Windows-universal-samples-master archive: BluetoothLE
Device under test: Microchip RN4870, a transparent UART.
https://www.microchip.com/wwwproducts/en/RN4870
Latest firmware 1.4 installed, BT 5 Certified device. I have several of them to test, but they all act similarly.
BluetoothLE App - All machines Enumerate and Pair successfully.
The result of the next step, Connect, varies, or is inconsistent.
This occurs in Scenario2_Client.xaml.cs, Line 130
GattDeviceServicesResult result = await bluetoothLeDevice.GetGattServicesAsync(BluetoothCacheMode.Uncached);
In a good system the result = Success, in a bad Device_Unreachable. I have been trying to zero in on what might be the cause (as I need to deploy my app to a Surface eventually).
To reach that line it means the bluetoothLeDevice = await BluetoothLEDevice.FromIdAsync(SelectedBleDeviceId); result is not Null. It sees the device.
Just a Theory:
IsConnectable - an object called DeviceWatcher updates a list of BT devices. I noticed that the variable IsConnectable flickers true/false in the RN4870 entry. I am wondering if that state or timeout might be why the device is choppy or doesn’t lock in the response.
I have tried to hack at the example and was, at least in one attempt able to get the Surface to connect. So its not dead.. its just not working in the app as given on several systems. I have not figured out a solid work around to force it. I was not able to tie the issue into bluetooth revision level of the modems. Worked on an earlier, worked on a later, swapping fobs did not cure the issue for the surface.
![26090-a.png][1]