Zephyr Project API  3.3.0
A Scalable Open Source RTOS
bt_audio_unicast_client_cb Struct Reference

#include <audio.h>

Data Fields

void(* location )(struct bt_conn *conn, enum bt_audio_dir dir, enum bt_audio_location loc)
 Remote Unicast Server Audio Locations. More...
 
void(* available_contexts )(struct bt_conn *conn, enum bt_audio_context snk_ctx, enum bt_audio_context src_ctx)
 Remote Unicast Server Available Contexts. More...
 

Detailed Description

Unicast Client callback structure

Field Documentation

◆ available_contexts

void(* bt_audio_unicast_client_cb::available_contexts) (struct bt_conn *conn, enum bt_audio_context snk_ctx, enum bt_audio_context src_ctx)

Remote Unicast Server Available Contexts.

This callback is called whenever the available contexts are read from the server or otherwise notified to the client.

Parameters
connConnection to the remote unicast server.
snk_ctxThe sink context bitfield value.
src_ctxThe source context bitfield value.
Returns
0 in case of success or negative value in case of error.

◆ location

void(* bt_audio_unicast_client_cb::location) (struct bt_conn *conn, enum bt_audio_dir dir, enum bt_audio_location loc)

Remote Unicast Server Audio Locations.

This callback is called whenever the audio locations is read from the server or otherwise notified to the client.

Parameters
connConnection to the remote unicast server.
dirDirection of the location.
locThe location bitfield value.
Returns
0 in case of success or negative value in case of error.

The documentation for this struct was generated from the following file: