Zephyr API Documentation 4.0.0-rc2
A Scalable Open Source RTOS
|
Callback structure for CAP procedures. More...
#include <cap.h>
Callback structure for CAP procedures.
void(* bt_cap_commander_cb::broadcast_reception_start) (struct bt_conn *conn, int err) |
Callback for bt_cap_commander_broadcast_reception_start().
conn | Pointer to the connection where the error occurred. NULL if err is 0 or if cancelled by bt_cap_commander_cancel() |
err | 0 on success, BT_GATT_ERR() with a specific ATT (BT_ATT_ERR_*) error code or -ECANCELED if cancelled by bt_cap_commander_cancel(). |
void(* bt_cap_commander_cb::broadcast_reception_stop) (struct bt_conn *conn, int err) |
Callback for bt_cap_commander_broadcast_reception_stop().
conn | Pointer to the connection where the error occurred. NULL if err is 0 or if cancelled by bt_cap_commander_cancel() |
err | 0 on success, BT_GATT_ERR() with a specific ATT (BT_ATT_ERR_*) error code or -ECANCELED if cancelled by bt_cap_commander_cancel(). |
void(* bt_cap_commander_cb::discovery_complete) (struct bt_conn *conn, int err, const struct bt_csip_set_coordinator_set_member *member, const struct bt_csip_set_coordinator_csis_inst *csis_inst) |
Callback for bt_cap_initiator_unicast_discover().
conn | The connection pointer supplied to bt_cap_initiator_unicast_discover(). |
err | 0 if Common Audio Service was found else -ENODATA. |
member | Pointer to the set member. NULL if err != 0. |
csis_inst | The Coordinated Set Identification Service if Common Audio Service was found and includes a Coordinated Set Identification Service. NULL on error or if remote device does not include Coordinated Set Identification Service. NULL if err != 0. |
void(* bt_cap_commander_cb::microphone_gain_changed) (struct bt_conn *conn, int err) |
Callback for bt_cap_commander_change_microphone_gain_setting().
conn | Pointer to the connection where the error occurred. NULL if err is 0 or if cancelled by bt_cap_commander_cancel() |
err | 0 on success, BT_GATT_ERR() with a specific ATT (BT_ATT_ERR_*) error code or -ECANCELED if cancelled by bt_cap_commander_cancel(). |
void(* bt_cap_commander_cb::microphone_mute_changed) (struct bt_conn *conn, int err) |
Callback for bt_cap_commander_change_microphone_mute_state().
conn | Pointer to the connection where the error occurred. NULL if err is 0 or if cancelled by bt_cap_commander_cancel() |
err | 0 on success, BT_GATT_ERR() with a specific ATT (BT_ATT_ERR_*) error code or -ECANCELED if cancelled by bt_cap_commander_cancel(). |
void(* bt_cap_commander_cb::volume_changed) (struct bt_conn *conn, int err) |
Callback for bt_cap_commander_change_volume().
conn | Pointer to the connection where the error occurred. NULL if err is 0 or if cancelled by bt_cap_commander_cancel() |
err | 0 on success, BT_GATT_ERR() with a specific ATT (BT_ATT_ERR_*) error code or -ECANCELED if cancelled by bt_cap_commander_cancel(). |
void(* bt_cap_commander_cb::volume_mute_changed) (struct bt_conn *conn, int err) |
Callback for bt_cap_commander_change_volume_mute_state().
conn | Pointer to the connection where the error occurred. NULL if err is 0 or if cancelled by bt_cap_commander_cancel() |
err | 0 on success, BT_GATT_ERR() with a specific ATT (BT_ATT_ERR_*) error code or -ECANCELED if cancelled by bt_cap_commander_cancel(). |
void(* bt_cap_commander_cb::volume_offset_changed) (struct bt_conn *conn, int err) |
Callback for bt_cap_commander_change_volume_offset().
conn | Pointer to the connection where the error occurred. NULL if err is 0 or if cancelled by bt_cap_commander_cancel() |
err | 0 on success, BT_GATT_ERR() with a specific ATT (BT_ATT_ERR_*) error code or -ECANCELED if cancelled by bt_cap_commander_cancel(). |