Closed dducret closed 4 years ago
Hi @dducret
Why using these calculation? flutter_beacon
use Android-Beacon-Library to provide beacon scanning in Android. The author of these library is the same guy who replying on that stackoverflow link.
Please check the code about distance calculation here https://github.com/AltBeacon/android-beacon-library/blob/master/lib/src/main/java/org/altbeacon/beacon/distance/CurveFittedDistanceCalculator.java#L46-L65.
If you need a precision of the accuracy, you can easily achieve it via Flutter code.
Hello,
Thank you very much for your work.
Could you make two changes in your code?
The first to have the value RSSI of type double with precision of 2 decimals.
The second to change the distance calculation (accuracy) http://stackoverflow.com/a/20434019