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>
This commit is contained in:
parent
3a2d269bb4
commit
1ce95de6ae
2 changed files with 344 additions and 69 deletions
|
@ -563,7 +563,6 @@ struct bt_gatt_ccc_cfg {
|
|||
u8_t id;
|
||||
bt_addr_le_t peer;
|
||||
u16_t value;
|
||||
u8_t data[4] __aligned(4);
|
||||
};
|
||||
|
||||
/* Internal representation of CCC value */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue