Home
last modified time | relevance | path

Searched refs:BT_HAS_PRESET_NAME_MAX (Results 1 – 4 of 4) sorted by relevance

/Zephyr-latest/tests/bluetooth/tester/src/audio/
Dbtp_has.c46 static char temp_name[BT_HAS_PRESET_NAME_MAX + 1];
56 int name_len = MIN(cp->length, BT_HAS_PRESET_NAME_MAX); in has_set_preset_name()
107 int name_len = MIN(cp->length, BT_HAS_PRESET_NAME_MAX); in has_add_preset()
/Zephyr-latest/include/zephyr/bluetooth/audio/
Dhas.h57 #define BT_HAS_PRESET_NAME_MAX 40 macro
/Zephyr-latest/subsys/bluetooth/audio/
Dhas_client.c70 char name[BT_HAS_PRESET_NAME_MAX + 1]; /* + 1 byte for null-terminator */ in handle_read_preset_rsp()
92 LOG_WRN("name is too long (%zu > %u)", buf->len, BT_HAS_PRESET_NAME_MAX); in handle_read_preset_rsp()
107 char name[BT_HAS_PRESET_NAME_MAX + 1]; /* + 1 byte for null-terminator */ in handle_generic_update()
123 LOG_WRN("name is too long (%zu > %u)", buf->len, BT_HAS_PRESET_NAME_MAX); in handle_generic_update()
Dhas.c557 char name[BT_HAS_PRESET_NAME_MAX + 1]; /* +1 byte for NULL-terminator */
832 NET_BUF_SIMPLE_DEFINE(buf, sizeof(*hdr) + sizeof(*rsp) + BT_HAS_PRESET_NAME_MAX); in bt_has_cp_read_preset_rsp()
867 sizeof(struct bt_has_cp_generic_update) + BT_HAS_PRESET_NAME_MAX); in bt_has_cp_generic_update()
1215 if (len < BT_HAS_PRESET_NAME_MIN || len > BT_HAS_PRESET_NAME_MAX) { in set_preset_name()
1505 CHECKIF(name_len > BT_HAS_PRESET_NAME_MAX) { in bt_has_preset_register()
1506 LOG_WRN("param->name is too long (%zu > %u)", name_len, BT_HAS_PRESET_NAME_MAX); in bt_has_preset_register()