cancel
Showing results for 
Search instead for 
Did you mean: 

Connect two STM32WB MCUs via BLE

MohammedBou45
Visitor

Hello everyone,
I’m working on a BLE project using two STM32WB55 boards.
My goal is to create a connection between them without using the ST BLE Toolbox App.
One board is configured as a Custom Server (Peripheral), and the other as a P2P Client (Central).

I want to ensure that I am properly connected to my server and receiving notifications.
But I am not sure about how using:

Start scanning

Identify the correct server

Connect

Discover services

Enable notifications

Receive data

 

 

Please without saying follow the P2p example, because I didn't catch it

2 REPLIES 2
FilipKremen
ST Employee

Hello,

have you read this Wiki page?

It provides more information regarding P2P application. It's meant for WBA series, however the structure is similar to WB series.

STM32WBA Bluetooth® LE – Peer 2 Peer Applications - stm32mcu

I also recommend reading this document below.

Guidelines for Bluetooth® LE stack programming on STM32WB/STM32WBA MCUs - Programming manual

If you have any other question, please don't hesitate to ask.

 

Best regards,

Filip Kremen

My objective is to send some sensor data from an MCU to other one, so what is the best solution for me, and I didn't catch the BLE_p2pClient example, so if there is any other clear tutorial or reference to follow ? (I reached to send the data to ST Toolbox App)