frameworks_bluetooth/service/common
zhongzhijie1 ff6ce1b422 Add persistent storage of the GATT server database hash using KVDB.
bug: v/65135

KVDB backend had no key and no save/load path for GATT server database hash.
The system could not restore the hash after reboot and cache validation failed.
Add BT_KVDB_BLEGATTDBHASH and helpers to save/load remote_device_gatt_properties_t entries.
Count and delete old hash properties before saving new data.

Signed-off-by: zhongzhijie1 <zhongzhijie1@xiaomi.com>
2026-04-27 23:14:53 +08:00
..
bluetooth_define.h implement storage logic for GATT database hash. 2026-04-27 23:14:53 +08:00
bt_storage.c implement storage logic for GATT database hash. 2026-04-20 14:53:06 +08:00
bt_storage.h Add persistent storage of the GATT server database hash using KVDB. 2026-04-20 14:53:07 +08:00
bt_time.c Merge commit 2026-04-27 23:14:50 +08:00
bt_time.h Merge commit 2026-04-27 23:14:50 +08:00
index_allocator.c Fixed a logical error of traversing the index. 2026-04-20 14:51:09 +08:00
index_allocator.h Clang-format: Update format of all files based on new .clang-format 2026-04-20 14:50:50 +08:00
service_loop.c Bluetooth: defer LE scan results if IPC blocked. 2026-04-27 23:14:51 +08:00
service_loop.h Rename helper func get_os_timestamp_xx to bt_get_os_timestamp_xx avoid 2026-04-27 23:14:51 +08:00
storage.c implement storage logic for GATT database hash. 2026-04-27 23:14:53 +08:00
storage.h Add persistent storage of the GATT server database hash using KVDB. 2026-04-27 23:14:53 +08:00
storage_property.c Add persistent storage of the GATT server database hash using KVDB. 2026-04-27 23:14:53 +08:00