You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So tested this with laptop, after a windows update I had to get the latest intel BLE drivers but laptop can resolve services and characteristics and then write to device.
On Desktop my motherboards BLE could not resolve services until I updated the intel BLE driver but it would then never resolve characteristics. I went out and got an ASUS BLE Dongle and it too has the same issue, and if I can't resolve the characteristics I can't write to the device or subscribe.
Has anyone noticed any odd issues like this? Where it works on some machines but not others?
The Same BLE project by microsoft has no issue, so I'll be looking at their code and trying to understand what may be different.
The text was updated successfully, but these errors were encountered:
Notice there are two different ways to obtain services?
One is via the ScanServicesAsync which uses the same calls in the example.
The other is via retreiveServices which uses GetGattServicesForUuidAsync.
Not sure why we do it two different ways but the way its done in ScanServiceAsync seems to work on my PC where as the GetGattServicesForUuidAsync doesn't seem to work on my PC but does for my laptop.
Thank you for posting the results of your investigation!
Not sure why we do it two different ways
GetGattServicesAsync is used to explore available services, GetGattServicesForUuidAsync is used to retreive a previously known service, without the need to list all services. Given your description of your driver, one random guess of mine is that your driver doesn't support that api?
the way its done in ScanServiceAsync seems to work on my PC
I guess you can add the services found during ScanServiceAsync to the cache. That way you can run a service scan before you retrieve the characteristic.
So tested this with laptop, after a windows update I had to get the latest intel BLE drivers but laptop can resolve services and characteristics and then write to device.
On Desktop my motherboards BLE could not resolve services until I updated the intel BLE driver but it would then never resolve characteristics. I went out and got an ASUS BLE Dongle and it too has the same issue, and if I can't resolve the characteristics I can't write to the device or subscribe.
Has anyone noticed any odd issues like this? Where it works on some machines but not others?
The Same BLE project by microsoft has no issue, so I'll be looking at their code and trying to understand what may be different.
The text was updated successfully, but these errors were encountered: