12#ifndef ZEPHYR_INCLUDE_BLUETOOTH_AUDIO_CCP_H_
13#define ZEPHYR_INCLUDE_BLUETOOTH_AUDIO_CCP_H_
37#include <zephyr/autoconf.h>
51struct bt_ccp_call_control_server_bearer;
76 struct bt_ccp_call_control_server_bearer **bearer);
104struct bt_ccp_call_control_client;
107struct bt_ccp_call_control_client_bearer;
111#if defined(CONFIG_BT_TBS_CLIENT_GTBS)
113 struct bt_ccp_call_control_client_bearer *gtbs_bearer;
116#if defined(CONFIG_BT_TBS_CLIENT_TBS)
121 struct bt_ccp_call_control_client_bearer
122 *tbs_bearers[CONFIG_BT_CCP_CALL_CONTROL_CLIENT_BEARER_COUNT];
142 void (*
discover)(
struct bt_ccp_call_control_client *client,
int err,
170 struct bt_ccp_call_control_client **out_client);
Bluetooth connection handling.
int bt_ccp_call_control_client_discover(struct bt_conn *conn, struct bt_ccp_call_control_client **out_client)
Discovers the Telephone Bearer Service (TBS) support on a remote device.
int bt_ccp_call_control_client_unregister_cb(struct bt_ccp_call_control_client_cb *cb)
Unregister callbacks for the Call Control Client.
int bt_ccp_call_control_client_register_cb(struct bt_ccp_call_control_client_cb *cb)
Register callbacks for the Call Control Client.
int bt_ccp_call_control_client_get_bearers(struct bt_ccp_call_control_client *client, struct bt_ccp_call_control_client_bearers *bearers)
Get the bearers of a client instance.
int bt_ccp_call_control_server_register_bearer(const struct bt_tbs_register_param *param, struct bt_ccp_call_control_server_bearer **bearer)
Register a Telephone Bearer.
int bt_ccp_call_control_server_unregister_bearer(struct bt_ccp_call_control_server_bearer *bearer)
Unregister a Telephone Bearer.
struct _snode sys_snode_t
Single-linked list node structure.
Definition slist.h:39
Struct with information about bearers of a client.
Definition ccp.h:110
Struct to hold the Telephone Bearer Service client callbacks.
Definition ccp.h:131
void(* discover)(struct bt_ccp_call_control_client *client, int err, struct bt_ccp_call_control_client_bearers *bearers)
Callback function for bt_ccp_call_control_client_discover().
Definition ccp.h:142
Parameters for registering a Telephone Bearer Service.
Definition tbs.h:471
Public APIs for Bluetooth Telephone Bearer Service.