-
• #2
Ahh - sorry, the RSSI value only gets updated in the BluetoothDevice when you're scanning for advertisements (not when it's connected).
Is the Android device connecting to Bangle.js? So Bangle.js is the peripheral and the Android device is the central?
If so I think http://www.espruino.com/Reference#l_NRF_setRSSIHandler is what you need
-
• #3
Thank you very much! this helped a lot.
I am trying to get the RSSI value of connected android device with this command-
BluetoothDevice.rssi
but it is always giving me "undefined". Is there any other way to get the value?