nRF Connect SDK API 3.3.99
Loading...
Searching...
No Matches
Functions for unicast client functionality.

Helper functions to manage unicast client (gateway side) functionality. More...

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) }
 Unicast discovery direction enumeration. More...
 

Functions

int unicast_client_config_get (struct bt_bap_stream *stream, uint32_t *bitrate, uint32_t *sampling_rate_hz)
 Get configuration for the audio stream.
 
int unicast_client_locations_get (uint32_t *locations, enum bt_audio_dir dir)
 Get the current audio locations used by the unicast client.
 
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 (struct net_buf const *const audio_frame, uint8_t cig_index)
 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.
 

Detailed Description

Helper functions to manage unicast client (gateway side) functionality.