Skip to content

Commit cd89f9a

Browse files
MarekPietacarlescufi
authored andcommitted
Revert "Bluetooth: host: Remove CCC update from GATT connected callback"
This reverts commit 0a1f553. Signed-off-by: Marek Pieta <[email protected]>
1 parent 5094a6e commit cd89f9a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

subsys/bluetooth/host/gatt.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5058,6 +5058,8 @@ void bt_gatt_connected(struct bt_conn *conn)
50585058
settings_load_subtree_direct(key, ccc_set_direct, (void *)key);
50595059
}
50605060

5061+
bt_gatt_foreach_attr(0x0001, 0xffff, update_ccc, &data);
5062+
50615063
/* BLUETOOTH CORE SPECIFICATION Version 5.1 | Vol 3, Part C page 2192:
50625064
*
50635065
* 10.3.1.1 Handling of GATT indications and notifications

0 commit comments

Comments
 (0)