Read RSSI of every bluetooth device

I need the app connect to the nearest bluetooth device.How can i check the RSSI value of every device?I am using BluetoothSerial

The Bluetooth device is not working properly on my device. It is showing Linksys Router Error 2118. If you have any useful ideas to fix this please help me.