zephyr/subsys/bluetooth
Aleksander Wasaznik 299fac833b Bluetooth: Host: Settings: Handle extra settings_load before bt_enable
Before this change, enabling CONFIG_BT_SETTINGS and calling
settings_load(), but delaying / not calling bt_enable would trigger an
assertion error due to a timeout. The fault is that the settings load
handler for the Bluetooth host assumes bt_enable has already been called
and sends HCI commands to the controller. This times out if HCI is not
running.

The fix is to skip loading Bluetooth settings before bt_enable. The doc
is updated to guide the user on how to enable Bluetooth after settings
have been loaded before.

Signed-off-by: Aleksander Wasaznik <aleksander.wasaznik@nordicsemi.no>
2022-02-21 22:02:34 -05:00
..
audio Bluetooth: Audio: Add BT_WARN for missing stream callbacks 2022-01-27 12:01:34 +02:00
common Bluetooth: Host: Non-discardable event buffer size is 255 for ext adv 2022-02-07 17:22:13 +01:00
controller rf: JIT scheduler fixes and improvements 2022-02-21 22:00:57 -05:00
host Bluetooth: Host: Settings: Handle extra settings_load before bt_enable 2022-02-21 22:02:34 -05:00
mesh Bluetooth: Host: Settings: Handle extra settings_load before bt_enable 2022-02-21 22:02:34 -05:00
services Bluetooth: OTS: Use existing variable instead of finding value again 2022-02-21 20:51:14 -05:00
shell Bluetooth: Add common BT_CONN_INTERVAL_TO_MS macro 2022-02-21 19:40:42 -05:00
CMakeLists.txt
Kconfig bluetooth: correct kconfig help 2021-12-21 18:19:24 +01:00
Kconfig.adv kconfig: bluetooth: experimental settings now uses select EXPERIMENTAL 2021-10-22 13:59:21 +02:00
Kconfig.iso kconfig: bluetooth: experimental settings now uses select EXPERIMENTAL 2021-10-22 13:59:21 +02:00