Android Question BT RSSI & Android 8

Discussion in 'Android Questions' started by FrankBerra, Nov 10, 2018.

  1. FrankBerra

    FrankBerra Active Member Licensed User

    Hello everyone!

    In the past i was used to obtain RSSI from a bluetooth device during a background scan by using this instructions:

    Actually with Android 8 it doesn't work, so i am guessing that it is a limitation of Android 8 related to implicit broadcasts.

    So is there a solution or a library that can log the RSSI during a scan of surrounding Bluetooth devices?
    (The scan is made always in background by a service)

    Isn't possible, for example, modify the original Serial Library and add something like this and then pass back the value to the sub _DeviceFound (Name As String, MacAddress As String, RSSI as Int)?

    int  rssi = intent.getShortExtra(BluetoothDevice.EXTRA_RSSI,Short.MIN_VALUE);
    (Taken from

    Thanks in advance for your any suggestions!
    Last edited: Nov 10, 2018
  2. Erel

    Erel Administrator Staff Member Licensed User

    FrankBerra likes this.
  3. FrankBerra

    FrankBerra Active Member Licensed User

    Thank you very much for Super quick fix!
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice