7#ifndef _UNICAST_SERVER_H_
8#define _UNICAST_SERVER_H_
29 uint32_t *sampling_rate_hz, uint32_t *pres_delay_us);
Globally accessible audio related defines.
void(* le_audio_receive_cb)(const uint8_t *const data, size_t size, bool bad_frame, uint32_t sdu_ref, enum audio_channel channel_index, size_t desired_size)
Callback for receiving Bluetooth LE Audio data.
Definition: le_audio.h:54
Encoded audio data and information.
Definition: le_audio.h:63
int unicast_server_disable(void)
Disable the Bluetooth LE Audio unicast (CIS) server.
int unicast_server_enable(le_audio_receive_cb rx_cb, enum bt_audio_location location)
Enable the Bluetooth LE Audio unicast (CIS) server.
int unicast_server_send(struct le_audio_encoded_audio enc_audio)
Send data from the LE Audio unicast (CIS) server, if configured as a source.
int unicast_server_config_get(struct bt_conn *conn, enum bt_audio_dir dir, uint32_t *bitrate, uint32_t *sampling_rate_hz, uint32_t *pres_delay_us)
Get configuration for audio stream.
int unicast_server_uuid_populate(struct net_buf_simple *uuid_buf)
Put the UUIDs from this module into the buffer.
int unicast_server_adv_populate(struct bt_data *adv_buf, uint8_t adv_buf_vacant)
Put the advertising data from this module into the buffer.