gatt_client: set connection and service id for gatt_client_listen_for_service_characteristic_value_updates

This commit is contained in:
Matthias Ringwald 2024-09-13 19:00:13 +02:00
parent f8b8dabac6
commit c26f92b34d

View File

@ -1359,7 +1359,7 @@ void gatt_client_listen_for_service_characteristic_value_updates(gatt_client_ser
notification->end_group_handle = service->end_group_handle;
notification->service_id = service_id;
notification->connection_id = connection_id;
btstack_linked_list_add(&gatt_client_value_listeners, (btstack_linked_item_t*) notification);
btstack_linked_list_add(&gatt_client_service_value_listeners, (btstack_linked_item_t*) notification);
}
/**