Zephyr API Documentation 4.0.0-rc3
A Scalable Open Source RTOS
|
Preset operations structure. More...
#include <has.h>
Data Fields | |
int(* | select )(uint8_t index, bool sync) |
Preset select callback. | |
void(* | name_changed )(uint8_t index, const char *name) |
Preset name changed callback. | |
Preset operations structure.
void(* bt_has_preset_ops::name_changed) (uint8_t index, const char *name) |
Preset name changed callback.
This callback is called when the name of the preset identified by index
has changed.
index | Preset index that name has been changed. |
name | Preset current name. |
Preset select callback.
This callback is called when the client requests to select preset identified by index
.
index | Preset index requested to activate. |
sync | Whether the server must relay this change to the other member of the Binaural Hearing Aid Set. |