Bluetooth LE state module
In nRF Desktop, the Bluetooth® LE state module is responsible for the following actions:
Enabling Bluetooth (
bt_enable()
).Handling Zephyr connection callbacks (
bt_conn_cb
).Propagating information about the connection state and parameters by using Event Manager events.
Module events
Source Module |
Input Event |
This Module |
Output Event |
Sink Module |
---|---|---|---|---|
|
|
|||
|
||||
|
||||
|
||||
|
Note
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.
Implementation details
nRF Desktop uses the Bluetooth LE state module from Common Application Framework (CAF). See the CAF Bluetooth LE state page for 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 more information about Bluetooth configuration in nRF Desktop, see Bluetooth in nRF Desktop.