jasongin / noble-uwp

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

updateRssi always returns 0 #28

Open hoffmannjan opened 7 years ago

hoffmannjan commented 7 years ago

Hi,

very simple case, I connect to the device and try to updateRssi, but the function always return non-errors but value 0.

Best, JH

jasongin commented 7 years ago

It's not implemented yet. Probably a better unimplemented behavior would be to return the last-known RSSI rather than 0.

So far I haven't found any way in Windows to get the RSSI of a device while it is connected. While it's not connected, it's easy enough to listen for the next advertisement and read the RSSI from that. But there are no advertisements as long as it's connected.

itome commented 6 years ago

some progress in this issue?