Searched refs:active_index (Results 1 – 3 of 3) sorted by relevance
| /Zephyr-latest/subsys/bluetooth/audio/ |
| D | has_internal.h | 63 uint8_t active_index; member
|
| D | has_client.c | 253 client_cb->preset_switch(&inst->has, 0, inst->has.active_index); in discover_complete() 325 client_cb->preset_switch(&inst->has, err, inst->has.active_index); in set_active_preset_cb() 363 const uint8_t prev = inst->has.active_index; in active_index_update() 367 inst->has.active_index = net_buf_simple_pull_u8(&buf); in active_index_update() 369 LOG_DBG("conn %p index 0x%02x", (void *)inst->conn, inst->has.active_index); in active_index_update() 410 if (client_cb && client_cb->preset_switch && inst->has.active_index != prev) { in active_preset_notify_cb() 411 client_cb->preset_switch(&inst->has, 0, inst->has.active_index); in active_preset_notify_cb()
|
| D | has.c | 87 uint8_t active_index; in read_active_preset_index() local 91 if (offset > sizeof(active_index)) { in read_active_preset_index() 95 active_index = bt_has_preset_active_get(); in read_active_preset_index() 97 return bt_gatt_attr_read(conn, attr, buf, len, offset, &active_index, sizeof(active_index)); in read_active_preset_index() 490 uint8_t active_index; in notify_work_handler() local 492 active_index = bt_has_preset_active_get(); in notify_work_handler() 495 &active_index, sizeof(active_index)); in notify_work_handler()
|