zephyr/samples/bluetooth/hap_ha/src/hap_ha.h
Emil Gydesen 93b3944a51 Bluetooth: Audio: Rename CSIS to CSIP
Renamed the coordinated set implementation to use the
profile (CSIP) name instead of the service (CSIS) name, as
the former is more general.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2022-11-24 15:23:48 +01:00

61 lines
1.2 KiB
C

/*
* Copyright (c) 2022 Codecoup
*
* SPDX-License-Identifier: Apache-2.0
*/
#include <zephyr/types.h>
/**
* @brief Initialize the BAP Unicast Server role
*
* @return 0 if success, errno on failure.
*/
int bap_unicast_sr_init(void);
/**
* @brief Initialize the CSIP Set Member role
*
* @return 0 if success, errno on failure.
*/
int csip_set_member_init(void);
/**
* @brief Generate the Resolvable Set Identifier (RSI) value.
*
* @param rsi Pointer to place the 6-octet newly generated RSI data.
*
* @return 0 if on success, errno on error.
*/
int csip_generate_rsi(uint8_t *rsi);
/**
* @brief Initialize the VCP Volume Renderer role
*
* @return 0 if success, errno on failure.
*/
int vcp_vol_renderer_init(void);
/**
* @brief Initialize the MICP Microphone Device role
*
* @return 0 if success, errno on failure.
*/
int micp_mic_dev_init(void);
/**
* @brief Initialize the CCP Call Control Client role
*
* @return 0 if success, errno on failure.
*/
int ccp_call_ctrl_init(void);
/**
* @brief Initialize the HAS Server
*
* This will register hearing aid sample presets.
*
* @return 0 if success, errno on failure.
*/
int has_server_init(void);