Timeular / noble-winrt

Noble Windows 10 bindings using the official C++/WinRT API
MIT License
20 stars 25 forks source link

Connectable value in noble is false, when other bindings report true for same advertisement? #22

Closed tony-gutierrez closed 4 years ago

tony-gutierrez commented 4 years ago

I am not sure how the noble connectable flag on an advertisement is controlled, but the winrt bindings seem to report false?

tony-gutierrez commented 4 years ago

It looks like only the connectable value from the first advertised packet is ever used. It does not get updated once added to the cache.

Am I incorrect in thinking each advert needs to be evaluated for connectable?

Noticed that noble-uwp has the same bug.

pursual commented 4 years ago

https://github.com/Timeular/noble-winrt/pull/23

tony-gutierrez commented 4 years ago

Fixed in #23 , Hopefully gets merged.

There are a lot of good updates at https://github.com/fido-alliance/noble-winrt as well, wish we could get them integrated.