flutter_blue icon indicating copy to clipboard operation
flutter_blue copied to clipboard

get RSSI

Open litong1314 opened this issue 7 years ago • 16 comments

is it possible to get RSSI of a CONNECTED device?

litong1314 avatar Jul 02 '18 18:07 litong1314

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

GauravPatni avatar Jan 15 '19 04:01 GauravPatni

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

alextekartik avatar Jan 24 '19 08:01 alextekartik

Yes, I need to get RSSI for connected device.

LiveRock avatar Jul 09 '19 04:07 LiveRock

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

thomasgarrison avatar Jul 25 '19 18:07 thomasgarrison

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()); }); });

icaglar avatar Aug 30 '19 13:08 icaglar

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

SurabhiS22 avatar Jun 11 '20 20:06 SurabhiS22

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

SurabhiS22 avatar Jun 11 '20 21:06 SurabhiS22

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

kur0s4ki avatar Dec 16 '20 08:12 kur0s4ki

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

icaglar avatar Dec 16 '20 12:12 icaglar

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

jamal-Bahammou avatar Dec 16 '20 12:12 jamal-Bahammou

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

Med0808 avatar Dec 16 '20 12:12 Med0808

I will share android side in a few days

icaglar avatar Dec 16 '20 12:12 icaglar

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

MouradElmehammedi avatar Dec 16 '20 12:12 MouradElmehammedi

I will share android side in a few days

Thank you so much.

kur0s4ki avatar Dec 16 '20 12:12 kur0s4ki

I have published android support .

icglr avatar Dec 18 '20 08:12 icglr

is it possible to get RSSI without connecting to the device ?

chhamed avatar May 08 '23 12:05 chhamed