|
Zephyr API Documentation 4.3.0-rc1
A Scalable Open Source RTOS
|
Callback structure for CAP procedures. More...
#include <zephyr/bluetooth/audio/cap.h>
Data Fields | |
| void(* | unicast_to_broadcast_complete )(int err, struct bt_conn *conn, struct bt_cap_unicast_group *unicast_group, struct bt_cap_broadcast_source *broadcast_source) |
| The unicast to broadcast handover procedure has finished. | |
| void(* | broadcast_to_unicast_complete )(int err, struct bt_conn *conn, struct bt_cap_broadcast_source *broadcast_source, struct bt_cap_unicast_group *unicast_group) |
| The broadcast to unicast handover procedure has finished. | |
Callback structure for CAP procedures.
| void(* bt_cap_handover_cb::broadcast_to_unicast_complete) (int err, struct bt_conn *conn, struct bt_cap_broadcast_source *broadcast_source, struct bt_cap_unicast_group *unicast_group) |
The broadcast to unicast handover procedure has finished.
| err | 0 if success else a negative errno value. |
| conn | Pointer to the connection where the error occurred or NULL if local failure. |
| broadcast_source | NULL if the broadcast sourced was deleted during the procedure, else pointer to the broadcast sourced provided in the parameters. |
| unicast_group | Pointer to newly created unicast group, or NULL in case of an error happening before it was created. |
| void(* bt_cap_handover_cb::unicast_to_broadcast_complete) (int err, struct bt_conn *conn, struct bt_cap_unicast_group *unicast_group, struct bt_cap_broadcast_source *broadcast_source) |
The unicast to broadcast handover procedure has finished.
| err | 0 if success else a negative errno value. |
| conn | Pointer to the connection where the error occurred or NULL if local failure. |
| unicast_group | NULL if the unicast group was deleted during the procedure, else pointer to the unicast group provided in the parameters. |
| broadcast_source | Pointer to newly created broadcast source, or NULL in case of an error happening before it was created. |