Zephyr API Documentation  3.6.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
bt_has_preset_register_param Struct Reference

Register structure for preset. More...

#include <has.h>

Data Fields

uint8_t index
 Preset index.
 
enum bt_has_properties properties
 Preset properties.
 
const char * name
 Preset name.
 
const struct bt_has_preset_opsops
 Preset operations structure.
 

Detailed Description

Register structure for preset.

Field Documentation

◆ index

uint8_t bt_has_preset_register_param::index

Preset index.

Unique preset identifier. The value shall be other than BT_HAS_PRESET_INDEX_NONE.

◆ name

const char* bt_has_preset_register_param::name

Preset name.

Preset name that further can be changed by either server or client if CONFIG_BT_HAS_PRESET_NAME_DYNAMIC configuration option has been enabled. It's length shall be greater than BT_HAS_PRESET_NAME_MIN. If the length exceeds BT_HAS_PRESET_NAME_MAX, the name will be truncated.

◆ ops

const struct bt_has_preset_ops* bt_has_preset_register_param::ops

Preset operations structure.

◆ properties

enum bt_has_properties bt_has_preset_register_param::properties

Preset properties.

Bitfield of preset properties.


The documentation for this struct was generated from the following file: