For a Bluetooth beacon distance measuring app I am currently using the Android Beacon Library.
I am testing my measurements with 2 devices. One device has Bluetooth 5.0 (Samsung Galaxy s10+), the other phone has Bluetooth 4.2 (Samsung Galaxy s7 edge). While testing, I discovered that the distance to the beacon is different for more than 100% if the phones are at the exact same spot. This is (I think) because of the difference in signal strength. I think I could solve this if I can detect the Bluetooth version of the users' phone.
Does someone know how you could detect that? This question has already been asked before but that was ~8 years ago and at that time it wasn't possible. Maybe someone has discovered a new method in the meantime...