Bluetooth: GATT: Remove _peer member from bt_gatt_subscribe_params
This further reduce the overhead on each subscription at expense of having a dedicated array to store subscriptions, the code now maintain a separate list for each peer which should also scale better with large number of subscriptions to different peers. Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
This commit is contained in:
parent
d278cdc3d7
commit
3be9980bd6
2 changed files with 131 additions and 51 deletions
|
@ -1303,7 +1303,6 @@ enum {
|
|||
|
||||
/** @brief GATT Subscribe parameters */
|
||||
struct bt_gatt_subscribe_params {
|
||||
bt_addr_le_t _peer;
|
||||
/** Notification value callback */
|
||||
bt_gatt_notify_func_t notify;
|
||||
/** Subscribe value handle */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue