-
Notifications
You must be signed in to change notification settings - Fork 42
Open
Description
what is the formula of getting distance
i found this function but i don't understand mManagedBeacon.getDistance()
get distance getting value
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())
}
Metadata
Metadata
Assignees
Labels
No labels