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

module_state_event

ble_state

Bluetooth LE advertising module

ble_peer_event

Bluetooth LE state module

ble_peer_conn_params_event

Bluetooth LE connection parameters module

Bluetooth LE latency module

ble_peer_event

Sink modules for ble_peer_event

module_state_event

Sink modules for module_state_event

Note

See the Application overview for more information about the event-based communication in the nRF Desktop application and about how to read this table.

Configuration

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 nRF Desktop: Bluetooth.

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.