1 /* 2 * Copyright (c) 2022 Codecoup 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7 #include <zephyr/types.h> 8 9 /** 10 * @brief Initialize the BAP Unicast Server role 11 * 12 * @return 0 if success, errno on failure. 13 */ 14 int bap_unicast_sr_init(void); 15 16 /** 17 * @brief Initialize the CSIP Set Member role 18 * 19 * @return 0 if success, errno on failure. 20 */ 21 int csip_set_member_init(void); 22 23 /** 24 * @brief Generate the Resolvable Set Identifier (RSI) value. 25 * 26 * @param rsi Pointer to place the 6-octet newly generated RSI data. 27 * 28 * @return 0 if on success, errno on error. 29 */ 30 int csip_generate_rsi(uint8_t *rsi); 31 32 /** 33 * @brief Initialize the VCP Volume Renderer role 34 * 35 * @return 0 if success, errno on failure. 36 */ 37 int vcp_vol_renderer_init(void); 38 39 /** 40 * @brief Initialize the MICP Microphone Device role 41 * 42 * @return 0 if success, errno on failure. 43 */ 44 int micp_mic_dev_init(void); 45 46 /** 47 * @brief Initialize the CCP Call Control Client role 48 * 49 * @return 0 if success, errno on failure. 50 */ 51 int ccp_call_ctrl_init(void); 52 53 /** 54 * @brief Initialize the HAS Server 55 * 56 * This will register hearing aid sample presets. 57 * 58 * @return 0 if success, errno on failure. 59 */ 60 int has_server_init(void); 61