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
Thank you very much! this helped a lot.
@Gordon started
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
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