Kalman Filtering
First, the distance between the BLE beacon and the mobile device is calculated using the pre-processed RSSI value from the previous step and and the equation in figure 1, where rssi_p is the pre-processed RSSI value and rssi_cali is a calibration value calculated at a one meter distance.