|
Zephyr API Documentation 4.5.99
A Scalable Open Source RTOS
|
Struct to hold the PACS callbacks. More...
#include <zephyr/bluetooth/audio/pacs.h>
Data Fields | |
| void(* | location )(struct bt_conn *conn, enum bt_audio_dir dir, enum bt_audio_location location) |
| A client changed the location. | |
Struct to hold the PACS callbacks.
These can be registered for usage with bt_pacs_register_cb().
| void(* bt_pacs_cb::location) (struct bt_conn *conn, enum bt_audio_dir dir, enum bt_audio_location location) |
A client changed the location.
Called when a client wrote a location different from the current one. Not called for locations set with bt_pacs_set_location().
Requires CONFIG_BT_PAC_SNK_LOC_WRITEABLE or CONFIG_BT_PAC_SRC_LOC_WRITEABLE.
| conn | The connection of the client that wrote the location. |
| dir | Direction of the location that changed. |
| location | The new location. |