Closed JsBergbau closed 3 years ago
I'm seeing similar issues, though perhaps not quite as bad as this. Using both the example scanner and my own program I've written that makes use of the py-bluetooth-utils functions, I am occasionally seeing positive numbers for RSSI.
Thank you for reporting this (and sorry for the delay), I will try to figure out what is occurring ;)
Thanks for looking into this. @MS3FGX Which device do you use?
I just pushed a fix on master: afb68229e28db4d784a25078bc0afb6b41ca9783 In my case the values now are like the dbm values reported for eg. when running the btmon tool. Please tell me if it is OK now ;)
@colin-guyon Looks good to me with the new changes. Just logged a little over 100 packets from three different Xiaomi LYWSD03MMC sensors and all the RSSI values were in reasonable range.
Thanks for the fix. Also works for me now.
Using example BLE scanner RSSI is displayed wrong most time it is just '0' but once you see '-85' which is a reasonable value.
But I've also already seen '2' as value, which makes no sense to me
Of course device (Raspberry PI4) is working correctly and reporting reasonable RSSI data