I have been trying to enumerate and connect to a BLE device using UWP. My BLE server is a Raspberry Pi running windows IOT.
I am running the BLE Client on my laptop. However, I usually get an Unreachable error when I try to enumerate the services on the Raspberry Pi. In the below code the serviceResult.Status is usually Unreachable. The Raspberry PI is placed right next to my laptop.
device = await BluetoothLEDevice.FromBluetoothAddressAsync(bleDeviceAddress);
GattDeviceServicesResult serviceResult = await device.GetGattServicesForUuidAsync(guid);
if (serviceResult.Status == GattCommunicationStatus.Success)