I'm basing calculation of distance to Kontakt beacon by: RSSI (dBm) = -10n log10(d) + A I set n=2, which is in free space. A is supposed to be received RSSI at 1m distance.
Leading to the following calculation method:
private double getDistance(double rssi) {
// TODO Auto-generated method stub
return Math.pow(10.0,((rssi-(-54.0))/-25.0));
}
-54 is one of the average values i meassured at 1m. The beacons are set to TxPower 4dB. Anybody have done more testing to figure out the ideal value for distance at 1m for kontakt beacons? Or any improved formula?
Best regards