Skip to content

Commit 1ce95de

Browse files
fnde-otcarlescufi
authored andcommitted
bluetooth: host: Persist Service Changed data
Add support for persisted Service Changed data, to fix the case of a paired device not reconnecting before a reboot and thus not receiving SC indication. It also enables support for GATT database being changed during a firmware update. Move Service Changed data outside of the CCC struct and make it persistent by adding support for a bt/sc/... setting. Signed-off-by: François Delawarde <fnde@oticon.com>
1 parent 3a2d269 commit 1ce95de

File tree

2 files changed

+344
-69
lines changed

2 files changed

+344
-69
lines changed

include/bluetooth/gatt.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -563,7 +563,6 @@ struct bt_gatt_ccc_cfg {
563563
u8_t id;
564564
bt_addr_le_tpeer;
565565
u16_tvalue;
566-
u8_tdata[4] __aligned(4);
567566
};
568567

569568
/* Internal representation of CCC value */

0 commit comments

Comments
 (0)