Skip to main content
DavePfz
Senior
December 16, 2025
Solved

Implementing BLE SPP protocol

I have a requirement to implement the BLE SPP protocol that will eventually be ported to the STM32WB1MCC module. Since I am totally new to BLE, I'd like a recommendation for a place to start. Specifically which demo or eval board and associated software. For example, is the NUCLEO-WB51CC the best (most supported and easily ported)?

Thanks, Dave

Andrew Neil
Andrew NeilBest answer
Super User
December 16, 2025

There is no such thing as SPP (Serial Port Profile) in BLE - it is purely a Bluetooth "Classic" Profile.

See:

https://community.st.com/t5/stm32-mcus-wireless/bluetooth-classic-profiles-spp-a2dp-on-stm32wb/m-p/253911/highlight/true#M10614

 

PS:

Don't forget to visit the pinned post, Please go and visit our wiki pages to support your projects on our wireless product families - it has links to introductory stuff for BLE on STM32 ...

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.

3 replies

Andrew Neil
Andrew NeilBest answer
Super User
December 16, 2025

There is no such thing as SPP (Serial Port Profile) in BLE - it is purely a Bluetooth "Classic" Profile.

See:

https://community.st.com/t5/stm32-mcus-wireless/bluetooth-classic-profiles-spp-a2dp-on-stm32wb/m-p/253911/highlight/true#M10614

 

PS:

Don't forget to visit the pinned post, Please go and visit our wiki pages to support your projects on our wireless product families - it has links to introductory stuff for BLE on STM32 ...

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.
DavePfz
DavePfzAuthor
Senior
December 16, 2025

OK. So I used the wrong term. Shows how totally new I am to BLE!

So, following the link, what I want is "BLE_CableReplacement"

Noting that the thread is now six years old and that the links included lead to additional problems by others, is the NUCLEO-WB51CC still the best starting point? (From past experience, I'm guessing there may be a newer board available.)

Thanks, Dave

StevenG
Associate III
December 16, 2025

I haven't heard of the NUCLEO-WB51CC but I would suggest NUCLEO-WB55RG.  It is supported (partially) in Zephyr and works with STM32CubeIDE reference designs.

 

The Zephyr sample project peripheral_nus implements the Nordic UART Serial protocol which is essentially BLE cable replacement.

 

The STM32WB55 has 1MB Flash / 256k SRAM vs the STM32WB15's 320K Flash / 48K SRAM.  I would suggest starting with the larger part and seeing if your project can fit into the smaller part at a later date.