12#ifndef ZEPHYR_INCLUDE_BLUETOOTH_AUDIO_CCP_H_
13#define ZEPHYR_INCLUDE_BLUETOOTH_AUDIO_CCP_H_
37#include <zephyr/autoconf.h>
168#if defined(CONFIG_BT_TBS_CLIENT_GTBS)
173#if defined(CONFIG_BT_TBS_CLIENT_TBS)
179 *tbs_bearers[CONFIG_BT_CCP_CALL_CONTROL_CLIENT_BEARER_COUNT];
205#if defined(CONFIG_BT_TBS_CLIENT_BEARER_PROVIDER_NAME) || defined(__DOXYGEN__)
224#if defined(CONFIG_BT_CCP_CALL_CONTROL_CLIENT_CB_USER_DATA) || defined(__DOXYGEN__)
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_read_bearer_provider_name(struct bt_ccp_call_control_client_bearer *bearer)
Read the bearer provider name of a remote TBS bearer.
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_get_bearer_provider_name(struct bt_ccp_call_control_server_bearer *bearer, char *name, size_t name_size)
Get the bearer provider name.
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.
int bt_ccp_call_control_server_get_bearer_uci(struct bt_ccp_call_control_server_bearer *bearer, char uci[6])
Get the bearer UCI.
int bt_ccp_call_control_server_set_bearer_provider_name(struct bt_ccp_call_control_server_bearer *bearer, const char *name)
Set a new bearer provider name.
#define BT_TBS_MAX_UCI_SIZE
Maximum size of bearer uniform caller identifier (UCI).
Definition tbs.h:209
struct _snode sys_snode_t
Single-linked list node structure.
Definition slist.h:39
Abstract Call Control Client bearer structure.
Struct with information about bearers of a client.
Definition ccp.h:167
Struct to hold the Telephone Bearer Service client callbacks.
Definition ccp.h:188
void * user_data
User data that will be supplied to all callbacks.
Definition ccp.h:226
void(* bearer_provider_name)(struct bt_ccp_call_control_client_bearer *bearer, int err, const char *name, void *user_data)
Callback function for bt_ccp_call_control_client_read_bearer_provider_name().
Definition ccp.h:220
void(* discover)(struct bt_ccp_call_control_client *client, int err, struct bt_ccp_call_control_client_bearers *bearers, void *user_data)
Callback function for bt_ccp_call_control_client_discover().
Definition ccp.h:202
Abstract Call Control Client structure.
Abstract Call Control Server Telephone Bearer structure.
Opaque type representing a connection to a remote device.
Parameters for registering a Telephone Bearer Service.
Definition tbs.h:479
Public APIs for Bluetooth Telephone Bearer Service.