Skip to main content
BLiwa.1
Associate II
April 25, 2022
Question

connect to a bluetooth device from stm32wb

  • April 25, 2022
  • 3 replies
  • 1231 views

Hello,

I want connect to a bluetooth device/sensor from stm32wb and configure the device : for example confgure the period that it shoold advertise for.

Is that possible? If yes how ?

This topic has been closed for replies.

3 replies

Andrew Neil
Super User
April 25, 2022

Have you checked out the documentation available?

0693W00000LyuPMQAZ.png 

@BLiwa.1​ "I want connect to a Bluetooth device/sensor from stm32wb"

So you want the STM32WB to be the Central?

https://www.google.com/search?q=stm32wb+central

"and configure the device"

That would be down to the device firmware - are you also implementing that?

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
Amel NASRI
ST Technical Moderator
April 26, 2022

Hi @BLiwa.1​ ,

Besides to @Andrew Neil​ 's proposal, I suggest you have a look to the Academy content.

From "Academy" tab on the top, go to eLearning Catalog then select "General Purpose Microcontrollers".

STM32 Wireless BLE is what you need to start with.

-Amel

To give better visibility on the answered topics, please click on "Best Answer" on the reply which solved your issue or answered your question.
Remy ISSALYS
ST Technical Moderator
April 28, 2022

Hello,

Many examples of BLE applications are available in STM32CubeWB package:

https://www.st.com/en/embedded-software/stm32cubewb.html

You can look BLE_HeartRate project (Projects\P-NUCLEO-WB55.Nucleo\Applications\BLE\BLE_HeartRate) which allows to do fast and low advertising, see Adv_Request in app_ble.c file.

Best Regards