Flutter_blue: get RSSI

Created on 2 Jul 2018  路  15Comments  路  Source: pauldemarco/flutter_blue

is it possible to get RSSI of a CONNECTED device?

enhancement rssi

Most helpful comment

I have the same issue , I need to get the rssi value in Connected State. (On Android).
has anyone made any progression ?

All 15 comments

Need help on same issue .... How to get RSSI value ?

Android (https://developer.android.com/reference/android/bluetooth/BluetoothGatt#readRemoteRssi()) seems to support it. and I guess iOS. I could help in the implementation (PR) if needed/wanted/accepted

Yes, I need to get RSSI for connected device.

Had anyone made progress on this? I can jump in and help if needed

https://github.com/icaglar/flutter_blue
I created a pull request for this repository which provides getting rssi value of the connected device for ios
After clone this repository you have to recreate protos with the following command
in protos folder
protoc --dart_out=../lib/gen/ ./flutterblue.proto

After that you can access rssi value of the connected device like this

FlutterBlue.instance.connectedDevices.then((deviceList){
deviceList.forEach((d) async {
print("RSSI from device "+d.rssi.toString());
});
});

Had anyone made progress on this? I can jump in and help if needed

@thomasgarrison yes pls , if possible can u pls help me in flutter bluetooth the RSSI part

protoc --dart_out=../lib/gen/ ./flutterblue.proto

it doesn't worked , I did tried to recreate the protos but it says "Plugin failed with status code 127."

I have the same issue , I need to get the rssi value in Connected State. (On Android).
has anyone made any progression ?

protoc --dart_out=../lib/gen/ ./flutterblue.proto

it doesn't worked , I did tried to recreate the protos but it says "Plugin failed with status code 127."

I think the issue related with your proto plugin. remove the plugin and install again

I have the same issue, I need to retrieve rssi from connected devices, need help ?

same thing for me ; I need to access the rssi value on android (connected)

I will share android side in a few days

i need to get the RSSI value on android any help?

I will share android side in a few days

Thank you so much.

I have published android support .

Was this page helpful?
0 / 5 - 0 ratings

Related issues

janekm picture janekm  路  3Comments

FWeissenb picture FWeissenb  路  5Comments

ened picture ened  路  6Comments

RyanYANG52 picture RyanYANG52  路  6Comments

M3sca picture M3sca  路  3Comments