• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..--

src/04-Jan-2025-15497

CMakeLists.txtD04-Jan-2025194 85

README.rstD04-Jan-2025943 2920

prj.confD04-Jan-2025105 65

sample.yamlD04-Jan-2025212 1110

README.rst

1.. zephyr:code-sample:: stm32_pm_stm32wb_ble
2   :name: Bluetooth Low Energy Power Management on STM32WB
3   :relevant-api: sys_poweroff bt_gap bluetooth
4
5   Perform Bluetooth LE operations with Zephyr power management enabled on STM32WB.
6
7Overview
8********
9
10A simple application demonstrating the BLE operations (advertising) with
11Zephyr power management enabled (:kconfig:option:`CONFIG_PM`).
12
13After startup, a first 2 seconds beacon is performed, 1 second break and
14beacon is started again.
15BLE link is then disabled and started up again after 2 seconds, then same
16beacon sequence happens.
17
18Finally, platform shutdown is triggered. It can be restarted by pressing the
19board reset button.
20
21Using a power measurement tool, user can observe the platform reaching STOP2 mode
22before beacon is started and between advertising peaks besides as SHUTDOWN mode
23when requested.
24
25Requirements
26************
27
28* For now, only compatible with nucleo_wb55rg.
29