STM32WB55CGU7 Calculating distance from the server
Hello team,
I am working with STM32WB55CGU7 bluetooth MCU for Client and server for our application.Our application is Client and server connect 3 minutes once for 20 seconds. While connecting, Need to calculate the distance .How to find the distance using RSSI value?
How to find the accurate distance from the server between connection.
Here below,
hci_read_rssi(gConnHandle,&gRssiVal);
gDistance = pow(10, (((float)TX_POWER-gRssiVal)/(20.00)));
based this type I calculated the distance.This method is correct or not. Is there are need to add or change maethod to calculate the distance.
Thanking you.
