Zephyr Project API  3.2.0
A Scalable Open Source RTOS
Common Audio Profile (CAP)

Common Audio Profile (CAP) More...

Functions

int bt_cap_acceptor_register (const struct bt_csis_register_param *param, struct bt_csis **csis)
 Register the Common Audio Service. More...
 

Detailed Description

Common Audio Profile (CAP)

[Experimental] Users should note that the APIs can change as a part of ongoing development.

Function Documentation

◆ bt_cap_acceptor_register()

int bt_cap_acceptor_register ( const struct bt_csis_register_param param,
struct bt_csis **  csis 
)

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

Register the Common Audio Service.

This will register and enable the service and make it discoverable by clients. This will also register a Coordinated Set Identification Service instance.

This shall only be done as a server, and requires BT_CAP_ACCEPTOR_SET_MEMBER . If BT_CAP_ACCEPTOR_SET_MEMBER is not enabled, the Common Audio Service will by statically registered.

Parameters
[in]paramCoordinated Set Identification Service register parameters.
[out]csisPointer to the registered Coordinated Set Identification Service.
Returns
0 if success, errno on failure.