Zephyr API Documentation 4.0.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
CCP Call Control Client APIs

Data Structures

struct  bt_ccp_call_control_client_bearers
 Struct with information about bearers of a client. More...
 
struct  bt_ccp_call_control_client_cb
 Struct to hold the Telephone Bearer Service client callbacks. More...
 

Functions

int bt_ccp_call_control_client_discover (struct bt_conn *conn, struct bt_ccp_call_control_client **out_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_unregister_cb (struct bt_ccp_call_control_client_cb *cb)
 Unregister callbacks for the Call Control Client.
 

Detailed Description

Function Documentation

◆ bt_ccp_call_control_client_discover()

int bt_ccp_call_control_client_discover ( struct bt_conn * conn,
struct bt_ccp_call_control_client ** out_client )

◆ bt_ccp_call_control_client_register_cb()

int bt_ccp_call_control_client_register_cb ( struct bt_ccp_call_control_client_cb * cb)

#include <zephyr/bluetooth/audio/ccp.h>

Register callbacks for the Call Control Client.

Parameters
cbThe callback struct
Return values
0Succsss
-EINVALcb is NULL
-EEXISTScb is already registered

◆ bt_ccp_call_control_client_unregister_cb()

int bt_ccp_call_control_client_unregister_cb ( struct bt_ccp_call_control_client_cb * cb)

#include <zephyr/bluetooth/audio/ccp.h>

Unregister callbacks for the Call Control Client.

Parameters
cbThe callback struct
Return values
0Succsss
-EINVALcb is NULL
-EALREADYcb is not registered