device.GattServices returns an empty set for BLE devices on a Windows universal app
See original GitHub issueI am using this sample and when an advertisement is received I am calling
device.GattServices()
but that always returns an empty list. Why is this happening? I have found no answer no matter where I have looked.
Issue Analytics
- State:
- Created 6 years ago
- Comments:18 (6 by maintainers)
Top Results From Across the Web
bluetooth - device.GattServices returns an empty set for BLE ...
To get the GattServices, first check if the device is not null. ... a observable observable collection of blueutooth devices // to bind...
Read more >Bluetooth GATT Client - UWP applications - Microsoft Learn
This article provides an overview of Bluetooth Generic Attribute Profile (GATT) Client for Universal Windows Platform (UWP) apps, ...
Read more >[Solved]-Why is BluetoothLEDevice.GattServices Empty-C#
For some reason in Windows Universal Apps you can only list the Gatt Services for paired devices despite one of the advantages of...
Read more >LabVIEW Bluetooth Low Energy Driver development using ...
This example demonstrate on how to use the windows 10 BLE native library to communicate with BLE devices (Smart watch, bulb or any...
Read more >Bluetooth Framework and Bluetooth Low Energy GATT
Your application must not destroy the Bluetooth Radio Object returned by ... On Windows 10 1703 and above you do not need to...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The GetGattServicesAsync method is new for Windows 10 version 15063. (The WindowsBase in the .NETFramework directory is not related to the UWP SDK.)
BluetoothLE app is not working with BluetoothCacheMode.Uncached,it gives error “Device Unreachable”. But it works with BluetoothCacheMode.Cached . It shows the services and characterstics with BluetoothCacheMode.Cached method but I am not able to see temperature value, it gives error Read Failed. Please help
Thanks
On Thu, May 17, 2018 at 6:40 PM, Shikhar Tandon <shikhartandon1993@gmail.com