Zephyr API Documentation 4.0.0-rc3
A Scalable Open Source RTOS
|
Bluetooth Published Audio Capabilities Service (PACS) APIs. More...
#include <stdbool.h>
#include <zephyr/bluetooth/audio/audio.h>
#include <zephyr/bluetooth/conn.h>
#include <zephyr/sys/slist.h>
Go to the source code of this file.
Data Structures | |
struct | bt_pacs_cap |
Published Audio Capability structure. More... | |
Typedefs | |
typedef bool(* | bt_pacs_cap_foreach_func_t) (const struct bt_pacs_cap *cap, void *user_data) |
Published Audio Capability iterator callback. | |
Functions | |
void | bt_pacs_cap_foreach (enum bt_audio_dir dir, bt_pacs_cap_foreach_func_t func, void *user_data) |
Published Audio Capability iterator. | |
int | bt_pacs_cap_register (enum bt_audio_dir dir, struct bt_pacs_cap *cap) |
Register Published Audio Capability. | |
int | bt_pacs_cap_unregister (enum bt_audio_dir dir, struct bt_pacs_cap *cap) |
Unregister Published Audio Capability. | |
int | bt_pacs_set_location (enum bt_audio_dir dir, enum bt_audio_location location) |
Set the location for an endpoint type. | |
int | bt_pacs_set_available_contexts (enum bt_audio_dir dir, enum bt_audio_context contexts) |
Set the available contexts for an endpoint type. | |
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_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. | |
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. | |
int | bt_pacs_set_supported_contexts (enum bt_audio_dir dir, enum bt_audio_context contexts) |
Set the supported contexts for an endpoint type. | |
Bluetooth Published Audio Capabilities Service (PACS) APIs.