public final class DiscoveryUtils
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static double |
calculateDistance(int txPower,
double rssi,
DeviceProfile profile)
Calculates distance from remote device.
|
public static double calculateDistance(int txPower, double rssi, DeviceProfile profile)
txPower
- the tx powerrssi
- the rssiprofile
- device profile