0

I am getting an RSSI of -80dB on my phone for a BLE device that is advertising. My custom app is not able to connect to the device and throws an error code 133 (out of range) whereas the nRF Connect app on the same phone is able to connect to that device. Is there something that can be fixed in the code for the connection to take place?

Logcat Screenshot

nRF Connect Screenshot

Please help me with this issue.

I want to connect both of the BLE devices even if they have an rssi of -80dB or lesser.

  • please try to write code instead of posting images – Ahmed Sbai Jan 24 '23 at 00:20
  • It is not clear what your problem is. You can scan and find two devices, but you can only connect to one of them? What is the error that you get when you try and connect to the other one? – Youssif Saeed Jan 25 '23 at 07:14
  • I am getting an RSSI of -80dB on my phone for a device that is advertising. My custom app is not able to connect to the device and throws an error code 133 (out of range) whereas the nRF Connect app on the same phone is able to connect to that device. Is there something that can be fixed in the code for the connection to take place? – Aditya kasaudhan Jan 25 '23 at 10:35
  • I'm not sure where you found that Error 133 is "out of range". It is a generic error on android. Maybe reading through the suggestions in https://stackoverflow.com/questions/25330938/android-bluetoothgatt-status-133-register-callback help you get rid of it. – Michael Kotzjan Jan 25 '23 at 14:40

0 Answers0