The metric for distance calculation is RSSI value. Although theTxPower value is used to improve accurarcy but the RSSI value is really not stable so the result of distance calculation is not stable. We should take care of this issue by SW work.