Bluetooth: CSIP: Make set_member_by_conn a public function

The function is useful for application to lookup set
members from bt_conn pointers, e.g. when iterating on
connected devices.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
This commit is contained in:
Emil Gydesen 2024-05-29 10:07:53 +02:00 committed by Henrik Brix Andersen
commit f93b9dee5c
5 changed files with 24 additions and 8 deletions

View file

@ -53,7 +53,7 @@ int bt_csip_set_coordinator_discover(struct bt_conn *conn)
}
struct bt_csip_set_coordinator_set_member *
bt_csip_set_coordinator_csis_member_by_conn(struct bt_conn *conn)
bt_csip_set_coordinator_set_member_by_conn(const struct bt_conn *conn)
{
if (conn == NULL) {
return NULL;