jasongin / noble-uwp

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

Connection callback not triggered #61

Closed lilliesAndRoses closed 6 years ago

lilliesAndRoses commented 6 years ago

Hello, I recently started using noble-uwp in place of noble in my electron app. My Windows 10 machine is at update 1709 - Fall creators update. I am seeing two problems.

First of all I do not see the scan UUID being used as a filter. Currently, I removed all the filters and started looking for all the devices.

Second problem is more critical. When I trigger "connect" to my device, no callback is triggered. In the bindings.js file, I could trace the flow up to the call to fromBluetoothAddressAsync. Neither did the promise resolve, nor was it rejected.

I normally do keep the scan running periodically. I also tried to stop scan forever before triggering the connection request. This did not result in any change in behavior.

Is this a known issue with Windows/ noble-uwp or can this issue be seen due to any mistakes in the setup?

Thanks

lilliesAndRoses commented 6 years ago

Currently, there seems to be some issue with my ble adapter. Hence closing this issue.