Get distance of beacons

this is right a formula to get distance of beacons?

private double getDistance(int rssi, int txPower) {
        return Math.pow(10d, ((double) txPower - rssi) / (10 * 2));
}

It’s better to use our function: Utils#computeAccuracy(beacon).

1 Like

I think it looks the same, by the way thanks (y).