Introduction
The main purpose of this document is to provide a developer with some reference programming guidelines about how to
develop a Bluetooth® low energy (BLE) application using the STM32WB BLE stack APIs and related event callbacks.
The document describes the STM32WB Bluetooth low energy stack library framework, API interfaces and event callbacks
allowing the access to the Bluetooth low energy functions provided by the STM32WB system-on-chip.
This programming manual also provides some fundamental concepts about the Bluetooth low energy (BLE) technology in order
to associate STM32WB BLE stack APIs, parameters, and related event callbacks with the BLE protocol stack features. The user
must have a basic knowledge about the BLE technology and its main features.
For more information about STM32WB Series and the Bluetooth low energy specifications, refer to Section 6 Reference
documents at the end of this document.
STM32WB is a very low power Bluetooth low energy (BLE) single-mode network processor, compliant with Bluetooth
specification v5.2 and supporting master or slave role.
The manual is structured as follows:
Fundamentals of the Bluetooth low energy (BLE) technology
STM32WB BLE stack library APIs and the event callback overview
How to design an application using the STM32WB library APIs and event callbacks (some examples are given using
"switch case" event handler rather than using event callbacks framework)
STM32WB BLE stack programming guidelines
PM0271
Programming manual
PM0271 - Rev 3 - February 2021
For further information contact your local STMicroelectronics sales office.
www.st.com
1General information
This document applies to the STM32WB Series dual-core Arm®-based microcontrollers.
Note: Arm is a registered trademark of Arm Limited (or its subsidiaries) in the US and/or elsewhere.
PM0271
General information
PM0271 - Rev 3 page 2/85