Zephyr API Documentation 4.5.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches

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.

Detailed Description

Struct to hold the PACS callbacks.

These can be registered for usage with bt_pacs_register_cb().

Field Documentation

◆ location

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.

Parameters
connThe connection of the client that wrote the location.
dirDirection of the location that changed.
locationThe new location.

The documentation for this struct was generated from the following file:
  • zephyr/bluetooth/audio/pacs.h