1 /* @file 2 * @brief Internal APIs for BAP 3 4 * Copyright (c) 2021-2023 Nordic Semiconductor ASA 5 * 6 * SPDX-License-Identifier: Apache-2.0 7 */ 8 9 #include <stdint.h> 10 11 #include <zephyr/bluetooth/audio/audio.h> 12 #include <zephyr/bluetooth/audio/bap.h> 13 #include <zephyr/bluetooth/conn.h> 14 #include <zephyr/bluetooth/iso.h> 15 #include <zephyr/net_buf.h> 16 17 int bt_bap_unicast_client_config(struct bt_bap_stream *stream, 18 const struct bt_audio_codec_cfg *codec_cfg); 19 20 int bt_bap_unicast_client_qos(struct bt_conn *conn, struct bt_bap_unicast_group *group); 21 22 int bt_bap_unicast_client_enable(struct bt_bap_stream *stream, const uint8_t meta[], 23 size_t meta_len); 24 25 int bt_bap_unicast_client_metadata(struct bt_bap_stream *stream, const uint8_t meta[], 26 size_t meta_len); 27 28 int bt_bap_unicast_client_disable(struct bt_bap_stream *stream); 29 30 int bt_bap_unicast_client_start(struct bt_bap_stream *stream); 31 int bt_bap_unicast_client_connect(struct bt_bap_stream *stream); 32 33 int bt_bap_unicast_client_stop(struct bt_bap_stream *stream); 34 35 int bt_bap_unicast_client_release(struct bt_bap_stream *stream); 36 37 struct net_buf_simple *bt_bap_unicast_client_ep_create_pdu(struct bt_conn *conn, uint8_t op); 38 39 int bt_bap_unicast_client_ep_qos(struct bt_bap_ep *ep, struct net_buf_simple *buf, 40 struct bt_bap_qos_cfg *qos); 41 42 int bt_bap_unicast_client_ep_send(struct bt_conn *conn, struct bt_bap_ep *ep, 43 struct net_buf_simple *buf); 44 45 struct bt_bap_iso *bt_bap_unicast_client_new_audio_iso(void); 46