nRF Connect SDK API 0.1.0
Loading...
Searching...
No Matches
unicast_client.h File Reference
#include "bt_le_audio_tx.h"
#include <zephyr/bluetooth/audio/audio.h>
#include <audio_defines.h>

Go to the source code of this file.

Enumerations

enum  unicast_discover_dir { UNICAST_SERVER_SINK = BT_AUDIO_DIR_SINK , UNICAST_SERVER_SOURCE = BT_AUDIO_DIR_SOURCE , UNICAST_SERVER_BIDIR = (BT_AUDIO_DIR_SINK | BT_AUDIO_DIR_SOURCE) }
 

Functions

int unicast_client_config_get (struct bt_conn *conn, enum bt_audio_dir dir, uint32_t *bitrate, uint32_t *sampling_rate_hz)
 Get configuration for the audio stream.
 
int unicast_client_discover (struct bt_conn *conn, enum unicast_discover_dir dir)
 Start service discovery for a Bluetooth LE Audio unicast (CIS) server.
 
void unicast_client_conn_disconnected (struct bt_conn *conn)
 Handle a disconnected Bluetooth LE Audio unicast (CIS) server.
 
int unicast_client_start (uint8_t cig_index)
 Start the Bluetooth LE Audio unicast (CIS) client.
 
int unicast_client_stop (uint8_t cig_index)
 Stop the Bluetooth LE Audio unicast (CIS) client.
 
int unicast_client_send (uint8_t cig_index, struct le_audio_encoded_audio enc_audio)
 Send encoded audio using the Bluetooth LE Audio unicast.
 
int unicast_client_disable (uint8_t cig_index)
 Disable the Bluetooth LE Audio unicast (CIS) client.
 
int unicast_client_enable (uint8_t cig_index, le_audio_receive_cb recv_cb)
 Enable the Bluetooth LE Audio unicast (CIS) client.