[bluez/bluez] c8dc51: gatt-client:Implement error handling for DB_OUT_OF...
From: github-actions[bot] <hidden>
Date: 2025-12-08 10:43:12
Branch: refs/heads/1031333 Home: https://github.com/bluez/bluez Commit: c8dc5108f66464da7423b7d99f4766f6d5ef9231 https://github.com/bluez/bluez/commit/c8dc5108f66464da7423b7d99f4766f6d5ef9231 Author: Mengshi Wu [off-list ref] Date: 2025-12-08 (Mon, 08 Dec 2025) Changed paths: M src/shared/gatt-client.c Log Message: ----------- gatt-client:Implement error handling for DB_OUT_OF_SYNC in GATT caching. Add automatic DB re-discovery on receiving BT_ATT_ERROR_DB_OUT_OF_SYNC error code from ATT operations. This ensures the local GATT database stays synchronized with the remote device by triggering a full service discovery (handles 0x0001-0xffff) when the database becomes out of sync. The process_db_out_of_sync() function is now called in all ATT error response handlers (read_multiple, read_long, write, execute_write, prepare_write, and prep_write callbacks) to handle this error condition consistently. Signed-off-by: Mengshi Wu <redacted> To unsubscribe from these emails, change your notification settings at https://github.com/bluez/bluez/settings/notifications