ESP32 Bluetooth Classic RSSI unreliable

chedda
Posts: 1
Joined: Wed Jul 22, 2020 10:51 am

ESP32 Bluetooth Classic RSSI unreliable

Postby chedda » Wed Jul 22, 2020 11:13 am

Hi,

i reverse engineered the procedure for reading the RSSI of an unpaired and non-discoverable bluetooth device (linux hcitool).
It will sometimes return a reasonable value, but half of the time it returns 0, although it's pretty far away, which is why I think this is incorrect. The ratio of reasonable_values/0 changes with the delay that is done between the different commands, but I couldn't really find a sweet spot with a >50% chance of not getting 0.
I guess something needs to be done on espressif side. Ideally in that case it should return a status code !=0.
Any espressif developers here?

BR

Who is online

Users browsing this forum: Google [Bot] and 169 guests