Zephyr Project API
3.2.0
A Scalable Open Source RTOS
|
Functions | |
int | bt_audio_pacs_register_cb (const struct bt_audio_pacs_cb *cb) |
Register Published Audio Capabilities Service callbacks. More... | |
int | bt_audio_pacs_location_changed (enum bt_audio_dir dir) |
Notify that the location has changed. More... | |
int | bt_pacs_available_contexts_changed (void) |
Notify available audio contexts changed. More... | |
int | bt_audio_unicast_server_register_cb (const struct bt_audio_unicast_server_cb *cb) |
Register unicast server callbacks. More... | |
int | bt_audio_unicast_server_unregister_cb (const struct bt_audio_unicast_server_cb *cb) |
Unregister unicast server callbacks. More... | |
int bt_audio_pacs_location_changed | ( | enum bt_audio_dir | dir | ) |
#include <include/zephyr/bluetooth/audio/audio.h>
Notify that the location has changed.
dir | Direction of the location changed. |
int bt_audio_pacs_register_cb | ( | const struct bt_audio_pacs_cb * | cb | ) |
#include <include/zephyr/bluetooth/audio/audio.h>
Register Published Audio Capabilities Service callbacks.
Only one callback structure can be registered, and attempting to registering more than one will result in an error.
This can only be done for the Unicast Server ( CONFIG_BT_AUDIO_UNICAST_SERVER
) and Broadcast Sink ( CONFIG_BT_AUDIO_BROADCAST_SINK
) roles.
Calling bt_audio_capability_register() will implicitly register the callbacks.
cb | Unicast server callback structure. |
int bt_audio_unicast_server_register_cb | ( | const struct bt_audio_unicast_server_cb * | cb | ) |
#include <include/zephyr/bluetooth/audio/audio.h>
Register unicast server callbacks.
Only one callback structure can be registered, and attempting to registering more than one will result in an error.
cb | Unicast server callback structure. |
int bt_audio_unicast_server_unregister_cb | ( | const struct bt_audio_unicast_server_cb * | cb | ) |
#include <include/zephyr/bluetooth/audio/audio.h>
Unregister unicast server callbacks.
May only unregister a callback structure that has previously been registered by bt_audio_unicast_server_register_cb().
cb | Unicast server callback structure. |
int bt_pacs_available_contexts_changed | ( | void | ) |
#include <include/zephyr/bluetooth/audio/audio.h>
Notify available audio contexts changed.
Notify connected clients that the available audio contexts has changed