Zephyr API Documentation 4.2.99
A Scalable Open Source RTOS
 4.2.99
bt_vocs_register_param Struct Reference

Structure for registering a Volume Offset Control Service instance. More...

#include <zephyr/bluetooth/audio/vocs.h>

Data Fields

uint32_t location
 Audio Location bitmask.
bool location_writable
 Boolean to set whether the location is writable by clients.
int16_t offset
 Initial volume offset (-255 to 255)
char * output_desc
 Initial audio output description.
bool desc_writable
 Boolean to set whether the description is writable by clients.
struct bt_vocs_cbcb
 Pointer to the callback structure.

Detailed Description

Structure for registering a Volume Offset Control Service instance.

Field Documentation

◆ cb

struct bt_vocs_cb* bt_vocs_register_param::cb

Pointer to the callback structure.

◆ desc_writable

bool bt_vocs_register_param::desc_writable

Boolean to set whether the description is writable by clients.

◆ location

uint32_t bt_vocs_register_param::location

Audio Location bitmask.

◆ location_writable

bool bt_vocs_register_param::location_writable

Boolean to set whether the location is writable by clients.

◆ offset

int16_t bt_vocs_register_param::offset

Initial volume offset (-255 to 255)

◆ output_desc

char* bt_vocs_register_param::output_desc

Initial audio output description.


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