neXenio / BLE-Indoor-Positioning

Multilateration using bluetooth beacons
Apache License 2.0
434 stars 129 forks source link

Incorrect RSSI calculation in tests #136

Closed marvinmirtschin closed 6 years ago

marvinmirtschin commented 6 years ago

The calculation of the RSSI in BeaconUtil.calculateRssi() will return RSSIs greater than thecalibratedRssi` for distances > 1 and smaller values for distance < 1. This is the opposite of what should happen.

Steppschuh commented 6 years ago

Fixed in #137