zephyr/subsys/bluetooth
Théo Battrel 3937b25dd6 Bluetooth: Host: Fix GATT delayed store
When `CONFIG_BT_SETTINGS_DELAYED_STORE` is enabled (by default it is),
the local GATT server will delay the write to flash of the CCC and CF
values. The delay is defined by `CONFIG_BT_SETTINGS_DELAYED_STORE_MS`.
If a disconnection happen before that delay, the `bt_gatt_disconnected`
will reschedule the delayed store operation. But that operation will not
happen before `bt_gatt_disconnected` is complete, at this moment, the
CCC and CF values will have already been cleared.

To fix this issue, the delayed store operation is now done during the
`bt_gatt_disconnected` function.

Signed-off-by: Théo Battrel <theo.battrel@nordicsemi.no>
2023-06-01 14:58:39 +02:00
..
audio Bluetooth: Audio: Make HAS optional notify characteristics optional 2023-05-26 09:09:06 -04:00
common Bluetooth: Increase HCI CMD buffer size when ISO Central is used 2023-04-17 10:18:27 +02:00
controller Bluetooth: Controller: ISO: Fix issue with removing peripheral data paths 2023-06-01 10:04:36 +02:00
crypto Bluetooth: Logging: Move all logging symbols together 2023-03-28 10:33:24 +02:00
host Bluetooth: Host: Fix GATT delayed store 2023-06-01 14:58:39 +02:00
lib Bluetooth: Logging: Move all logging symbols together 2023-03-28 10:33:24 +02:00
mesh Bluetooth: Mesh: Fix unable sent mesh message 2023-06-01 04:52:45 -04:00
services iterable_sections: move to specific header 2023-05-22 10:42:30 +02:00
shell Bluetooth: Audio: Remove BT_CODEC_MAX_DATA_LEN > 0 checks 2023-05-22 15:25:54 +02:00
CMakeLists.txt Bluetooth: Host: Add Encrypted Advertising Data 2023-03-21 13:39:09 +02:00
Kconfig Bluetooth: Add missing dependency for PAST feature 2023-04-04 14:31:17 +02:00
Kconfig.adv Bluetooth: Host: Add support for PAwR Sync 2023-04-26 20:08:16 +02:00
Kconfig.iso Bluetooth: ISO: Fix BT_ISO_TX_MTU range 2023-03-03 09:19:19 +01:00
Kconfig.logging Bluetooth: Logging: Make BT_LOG and BT_LOG_LEGACY hidden symbols 2023-04-12 10:23:04 +02:00