Bluetooth: CSIS: Expose bt_csis to client via bt_csis_client_set_member

Use the bt_csis_client_set_member struct to store the individual
bt_csis client struct. This way they are exposed to the
client application.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
This commit is contained in:
Emil Gydesen 2021-11-23 10:18:48 +01:00 committed by Anas Nashif
commit 2bf89990ee
4 changed files with 17 additions and 11 deletions

View file

@ -87,7 +87,8 @@ static void csis_client_discover_sets_cb(struct bt_conn *conn, int err,
sets_discovered = true;
}
static void csis_discover_cb(struct bt_conn *conn, int err, uint8_t set_count)
static void csis_discover_cb(struct bt_csis_client_set_member *member, int err,
uint8_t set_count)
{
printk("%s\n", __func__);