nRF Connect SDK API 2.8.99
Loading...
Searching...
No Matches
unicast_server.h File Reference
#include "bt_le_audio_tx.h"
#include "le_audio.h"
#include <audio_defines.h>

Go to the source code of this file.

Functions

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.
 
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_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.