RSSI of connected android device

Posted on
  • 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?

  • 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.

  • Post a reply
    • Bold
    • Italics
    • Link
    • Image
    • List
    • Quote
    • code
    • Preview
About

RSSI of connected android device

Posted by Avatar for user148837 @user148837

Actions