Open Miteshmakwana73 opened 3 years ago
what is the formula of getting distance
i found this function but i don't understand mManagedBeacon.getDistance() get distance getting value
mManagedBeacon.getDistance()
public String getDistance() { return BeaconUtil.getRoundedDistanceString(mManagedBeacon.getDistance()); }
is it work on rssi value and masurpower or other?
Please provide the formula of getting distance like this
fun Int.getDistance(txPower: Int): Double { return Math.pow(10.0, ((Math.abs(this) - Math.abs(txPower)) / (10 * 2)).toDouble()) }
what is the formula of getting distance
i found this function but i don't understand
mManagedBeacon.getDistance()
get distance getting valueis it work on rssi value and masurpower or other?
Please provide the formula of getting distance like this