2024-12-19 02:45 AM - last edited on 2024-12-19 02:47 AM by Andrew Neil
Hello everyone.
I'm using two STM32WBA55CG-DK1 boards for central and peripheral.
I'm looking forward a method to get distance between two BLE devices in a short time (<50ms).
In real application, there are numbers of centrals and peripherals and it should interacts each other.
So I thought unconnected advertising but I don't have any experience about it.
How to start it? From scratch or by using certain example?
Please help me for this.
Thank you.
Solved! Go to Solution.
2025-01-22 07:47 AM
Hello @EddieEgor and welcome to the ST Community.
As first step, I suggest you start from the BLE_p2pClient and understand how the scanning process happened. After that, have a look at the BLE_p2pServer specially the advertising part. After that you can make a scan without connect throw a client app (you can use the BLE_p2pClient to guide you) to see all broadcasting nodes. You can understand how that works by following some BLE tutorial to understand the basics of the scanning, advertising... You can also have a look at our Wiki to have better knowledge. Other BLE wikis will be helpful too.
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-01-22 07:47 AM
Hello @EddieEgor and welcome to the ST Community.
As first step, I suggest you start from the BLE_p2pClient and understand how the scanning process happened. After that, have a look at the BLE_p2pServer specially the advertising part. After that you can make a scan without connect throw a client app (you can use the BLE_p2pClient to guide you) to see all broadcasting nodes. You can understand how that works by following some BLE tutorial to understand the basics of the scanning, advertising... You can also have a look at our Wiki to have better knowledge. Other BLE wikis will be helpful too.
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.