2025-02-20 05:16 AM - last edited on 2025-02-20 06:41 AM by Peter BENSCH
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.
Solved! Go to Solution.
2025-02-20 09:06 AM
Hello @Manikandaprabhu
The Methode of distance calculation based on the RSSI is not provided by ST. So, if you want information and confirmation about this Methode, please check with the method provider or tested on your side.
Best Regards.
STTwo-32
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2025-02-20 09:06 AM
Hello @Manikandaprabhu
The Methode of distance calculation based on the RSSI is not provided by ST. So, if you want information and confirmation about this Methode, please check with the method provider or tested on your side.
Best Regards.
STTwo-32
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.