Bluetooth LE state module

In nRF Desktop, the Bluetooth® LE state module is responsible for the following actions:

Module events

Source Module

Input Event

This Module

Output Event

Sink Module

Source modules for module_state_event



Bluetooth LE advertising module


Bluetooth LE state module


Bluetooth LE connection parameters module

Bluetooth LE latency module


Sink modules for ble_peer_event


Sink modules for module_state_event


See the Overview: Firmware architecture for more information about the event-based communication in the nRF Desktop application and about how to read this table.


nRF Desktop uses the Bluetooth LE state module from Common Application Framework (CAF). The CONFIG_DESKTOP_BLE_STATE Kconfig option selects the CONFIG_CAF_BLE_STATE option.

For more information about Bluetooth configuration in nRF Desktop, see Bluetooth in nRF Desktop.

Implementation details

The Bluetooth LE state module handles, among others, Zephyr’s connection parameters update request callback. The module rejects a connection parameters update request and submits the ble_peer_conn_params_event event. The event is handled by the Bluetooth LE connection parameters module, which updates the connection parameters.

For information on implementation details, see the CAF Bluetooth LE state page.