jasongin / noble-uwp

Noble (Node.js Bluetooth LE) with Windows 10 UWP bindings
MIT License
83 stars 45 forks source link

Fix for stuck connectable flag. #89

Closed tony-gutierrez closed 3 years ago

tony-gutierrez commented 3 years ago

The connectable flag is calculated from the first advert per device, and then cached. It never gets updated by subsequent adverts. This commit fixes that.

tony-gutierrez commented 3 years ago

Hold off on this, still trying to evaluate the proper behavior

tony-gutierrez commented 3 years ago

After reviewing other bindings, I believe this fix should be merged. I think in most cases, the user would want to know the CURRENT connectable status.

jasongin commented 3 years ago

Thanks!