From 60181a183f0266f4bad18cf3d27fa7072be9448e Mon Sep 17 00:00:00 2001 From: Emil Gydesen Date: Mon, 22 Nov 2021 21:28:53 +0100 Subject: [PATCH] Bluetooth: CSIS: Add array of bt_csis to discovery function Add an [out] array to the discovery function and an array to the discovery callback of bt_csis structs. These should be used instead of bt_conn pointers for CSIS client. Signed-off-by: Emil Gydesen --- include/bluetooth/audio/csis.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/bluetooth/audio/csis.h b/include/bluetooth/audio/csis.h index 7bac1791fef..5c3ef86ce35 100644 --- a/include/bluetooth/audio/csis.h +++ b/include/bluetooth/audio/csis.h @@ -221,7 +221,8 @@ typedef void (*bt_csis_client_discover_cb)(struct bt_conn *conn, int err, * * @return int Return 0 on success, or an errno value on error. */ -int bt_csis_client_discover(struct bt_csis_client_set_member *member); +int bt_csis_client_discover(struct bt_csis_client_set_member *member, + struct bt_csis *csis[BT_CSIS_CLIENT_MAX_CSIS_INSTANCES]); typedef void (*bt_csis_client_discover_sets_cb)(struct bt_conn *conn, int err, uint8_t set_count,