Skip to main content
EddieEgor
Visitor II
December 19, 2024
Solved

STM32WBA55CG-DK1: How to get RSSI value without connection?

  • December 19, 2024
  • 1 reply
  • 670 views

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.

Best answer by STTwo-32

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

 

1 reply

STTwo-32
STTwo-32Best answer
Technical Moderator
January 22, 2025

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