First, using RSSI to calculate distance is very inaccurate.
You can check the topic for calculate distance How to find beacon distance by the received RSSI?
First, using RSSI to calculate distance is very inaccurate.
You can check the topic for calculate distance How to find beacon distance by the received RSSI?