10#ifndef ZEPHYR_INCLUDE_BLUETOOTH_AUDIO_PACS_H_
11#define ZEPHYR_INCLUDE_BLUETOOTH_AUDIO_PACS_H_
Bluetooth Audio handling.
bt_audio_dir
Audio Capability type.
Definition: audio.h:635
bt_audio_location
Location values for BT Audio.
Definition: audio.h:485
bt_audio_context
Audio Context Type for Generic Audio.
Definition: audio.h:282
struct _snode sys_snode_t
Single-linked list node structure.
Definition: slist.h:39
int bt_pacs_conn_set_available_contexts_for_conn(struct bt_conn *conn, enum bt_audio_dir dir, enum bt_audio_context *contexts)
Set the available contexts for a given connection.
int bt_pacs_cap_register(enum bt_audio_dir dir, struct bt_pacs_cap *cap)
Register Published Audio Capability.
int bt_pacs_set_available_contexts(enum bt_audio_dir dir, enum bt_audio_context contexts)
Set the available contexts for an endpoint type.
void bt_pacs_cap_foreach(enum bt_audio_dir dir, bt_pacs_cap_foreach_func_t func, void *user_data)
Published Audio Capability iterator.
enum bt_audio_context bt_pacs_get_available_contexts(enum bt_audio_dir dir)
Get the available contexts for an endpoint type.
int bt_pacs_cap_unregister(enum bt_audio_dir dir, struct bt_pacs_cap *cap)
Unregister Published Audio Capability.
enum bt_audio_context bt_pacs_get_available_contexts_for_conn(struct bt_conn *conn, enum bt_audio_dir dir)
Get the available contexts for a given connection.
bool(* bt_pacs_cap_foreach_func_t)(const struct bt_pacs_cap *cap, void *user_data)
Published Audio Capability iterator callback.
Definition: pacs.h:37
int bt_pacs_set_supported_contexts(enum bt_audio_dir dir, enum bt_audio_context contexts)
Set the supported contexts for an endpoint type.
int bt_pacs_set_location(enum bt_audio_dir dir, enum bt_audio_location location)
Set the location for an endpoint type.
#define bool
Definition: stdbool.h:13
Codec capability structure.
Definition: audio.h:550
Published Audio Capability structure.
Definition: pacs.h:20
const struct bt_audio_codec_cap * codec_cap
Codec capability reference.
Definition: pacs.h:22