/Zephyr-latest/subsys/bluetooth/audio/ |
D | bap_scan_delegator.c | 146 subgroup->metadata_len, in bt_debug_dump_recv_state() 147 bt_hex(subgroup->metadata, subgroup->metadata_len)); in bt_debug_dump_recv_state() 214 (void)net_buf_simple_add_u8(&read_buf, subgroup->metadata_len); in net_buf_put_recv_state() 216 subgroup->metadata_len); in net_buf_put_recv_state() 561 if (buf->len < (sizeof(subgroup->bis_sync) + sizeof(subgroup->metadata_len))) { in scan_delegator_add_source() 597 subgroup->metadata_len = net_buf_simple_pull_u8(buf); in scan_delegator_add_source() 599 if (buf->len < subgroup->metadata_len) { in scan_delegator_add_source() 606 if (subgroup->metadata_len > CONFIG_BT_AUDIO_CODEC_CFG_MAX_METADATA_SIZE) { in scan_delegator_add_source() 607 LOG_WRN("Metadata too long %u/%u", subgroup->metadata_len, in scan_delegator_add_source() 613 metadata = net_buf_simple_pull_mem(buf, subgroup->metadata_len); in scan_delegator_add_source() [all …]
|
D | bap_broadcast_assistant.c | 291 if (buf.len < sizeof(subgroup->metadata_len)) { in parse_recv_state() 293 buf.len, buf.len + sizeof(subgroup->metadata_len)); in parse_recv_state() 296 subgroup->metadata_len = net_buf_simple_pull_u8(&buf); in parse_recv_state() 298 if (buf.len < subgroup->metadata_len) { in parse_recv_state() 300 buf.len, buf.len + subgroup->metadata_len); in parse_recv_state() 304 if (subgroup->metadata_len > sizeof(subgroup->metadata)) { in parse_recv_state() 306 subgroup->metadata_len, in parse_recv_state() 312 subgroup->metadata_len); in parse_recv_state() 314 subgroup->metadata_len); in parse_recv_state() 1285 if (subgroups[i].metadata_len > CONFIG_BT_AUDIO_CODEC_CFG_MAX_METADATA_SIZE) { in valid_subgroup_params() [all …]
|
D | ascs_internal.h | 88 uint8_t metadata_len; member 97 uint8_t metadata_len; member 106 uint8_t metadata_len; member
|
D | bap_internal.h | 54 uint8_t metadata_len; member
|
D | cap_commander.c | 293 CHECKIF(param_subgroups->metadata_len > in valid_broadcast_reception_start_param() 297 i, j, param_subgroups->metadata_len, in valid_broadcast_reception_start_param() 303 CHECKIF(param_subgroups->metadata_len > 0 && in valid_broadcast_reception_start_param() 305 param_subgroups->metadata_len)) { in valid_broadcast_reception_start_param() 653 stored_param->broadcast_reception_stop.subgroups[j].metadata_len = 0; in bt_cap_commander_broadcast_reception_stop()
|
D | bap_broadcast_sink.c | 498 subgroup_param->metadata_len = (uint8_t)ret; in base_subgroup_meta_cb() 499 memcpy(subgroup_param->metadata, meta, subgroup_param->metadata_len); in base_subgroup_meta_cb()
|
/Zephyr-latest/subsys/bluetooth/mesh/ |
D | dfu_slot.c | 88 slot_to_store->slot.metadata, slot_to_store->slot.metadata_len); in slot_store() 147 slot->slot.metadata_len = 0; in bt_mesh_dfu_slot_reserve() 157 const uint8_t *metadata, size_t metadata_len) in bt_mesh_dfu_slot_info_set() argument 161 if (metadata_len > CONFIG_BT_MESH_DFU_METADATA_MAXLEN) { in bt_mesh_dfu_slot_info_set() 170 slot->slot.metadata_len = metadata_len; in bt_mesh_dfu_slot_info_set() 171 memcpy(slot->slot.metadata, metadata, metadata_len); in bt_mesh_dfu_slot_info_set() 394 slots[idx].slot.metadata_len = len_rd; in slot_data_load()
|
D | dfu_slot.h | 49 const uint8_t *metadata, size_t metadata_len);
|
D | dfu_cli.c | 371 cli->xfer.slot->metadata_len); in send_update_start() 1223 if (slot->metadata_len) { in bt_mesh_dfu_cli_metadata_check() 1225 slot->metadata_len); in bt_mesh_dfu_cli_metadata_check()
|
D | dfd_srv.c | 483 srv->upload.slot->metadata_len == meta_len && in handle_upload_start() 1297 size_t size, const uint8_t *metadata, size_t metadata_len) in bt_mesh_dfd_srv_oob_store_complete() argument 1310 err = bt_mesh_dfu_slot_info_set(srv->upload.slot, size, metadata, metadata_len); in bt_mesh_dfd_srv_oob_store_complete()
|
/Zephyr-latest/subsys/bluetooth/audio/shell/ |
D | bap_broadcast_assistant.c | 158 subgroup->bis_sync, subgroup->metadata_len); in bap_broadcast_assistant_recv_state_cb() 161 subgroup->metadata_len); in bap_broadcast_assistant_recv_state_cb() 450 size_t metadata_len; in cmd_bap_broadcast_assistant_add_src() local 452 metadata_len = hex2bin(argv[8], strlen(argv[8]), in cmd_bap_broadcast_assistant_add_src() 456 if (metadata_len == 0U) { in cmd_bap_broadcast_assistant_add_src() 464 subgroup.metadata_len = metadata_len; in cmd_bap_broadcast_assistant_add_src() 678 subgroup.metadata_len = hex2bin(argv[4], strlen(argv[4]), subgroup.metadata, in cmd_bap_broadcast_assistant_add_broadcast_id() 681 if (subgroup.metadata_len == 0U) { in cmd_bap_broadcast_assistant_add_broadcast_id() 746 subgroup.metadata_len = hex2bin(argv[4], strlen(argv[4]), subgroup.metadata, in cmd_bap_broadcast_assistant_add_broadcast_name() 749 if (subgroup.metadata_len == 0U) { in cmd_bap_broadcast_assistant_add_broadcast_name() [all …]
|
D | bap_scan_delegator.c | 661 subgroup_param->metadata_len = in cmd_bap_scan_delegator_add_src() 665 if (subgroup_param->metadata_len == 0U) { in cmd_bap_scan_delegator_add_src() 671 subgroup_param->metadata_len = 0U; in cmd_bap_scan_delegator_add_src() 766 subgroup_param->metadata_len = in cmd_bap_scan_delegator_add_src_by_pa_sync() 770 if (subgroup_param->metadata_len == 0U) { in cmd_bap_scan_delegator_add_src_by_pa_sync() 776 subgroup_param->metadata_len = 0U; in cmd_bap_scan_delegator_add_src_by_pa_sync() 875 subgroup_param->metadata_len = hex2bin(argv[5], strlen(argv[5]), in cmd_bap_scan_delegator_mod_src() 879 if (subgroup_param->metadata_len == 0U) { in cmd_bap_scan_delegator_mod_src() 885 subgroup_param->metadata_len = 0U; in cmd_bap_scan_delegator_mod_src()
|
D | cap_commander.c | 644 size_t metadata_len; in cmd_cap_commander_broadcast_reception_start() local 646 metadata_len = hex2bin(argv[7], strlen(argv[7]), subgroup.metadata, in cmd_cap_commander_broadcast_reception_start() 649 if (metadata_len == 0U) { in cmd_cap_commander_broadcast_reception_start() 657 subgroup.metadata_len = metadata_len; in cmd_cap_commander_broadcast_reception_start()
|
/Zephyr-latest/doc/connectivity/bluetooth/shell/audio/ |
D | bap_broadcast_assistant.rst | 88 [0]: BIS sync 0, metadata_len 0 100 [0]: BIS sync 0x0000, metadata_len 0 103 [0]: BIS sync 0x0000, metadata_len 0 105 [0]: BIS sync 0x0000, metadata_len 4 117 [0]: BIS sync 0x0001, metadata_len 4
|
/Zephyr-latest/include/zephyr/bluetooth/mesh/ |
D | dfu.h | 158 size_t metadata_len; member
|
D | dfd_srv.h | 297 size_t size, const uint8_t *metadata, size_t metadata_len);
|
/Zephyr-latest/tests/bsim/bluetooth/mesh/src/ |
D | test_dfu.c | 438 uint8_t *metadata, size_t metadata_len) in slot_reserve_and_set() argument 453 err = bt_mesh_dfu_slot_info_set(new_slot, size, metadata, metadata_len); in slot_reserve_and_set() 469 size_t metadata_len = 4; in slot_add() local 473 new_slot = slot_reserve_and_set(size, fwid, fwid_len, metadata, metadata_len); in slot_add() 601 size_t metadata_len = 4; in test_dist_dfu_slot_create() local 614 slot[i] = slot_reserve_and_set(size, fwid, fwid_len, metadata, metadata_len); in test_dist_dfu_slot_create() 642 size_t metadata_len = 4; in check_slot() local 654 ASSERT_EQUAL(metadata_len, slot->metadata_len); in check_slot() 655 ASSERT_TRUE(memcmp(metadata, slot->metadata, metadata_len) == 0); in check_slot() 668 size_t metadata_len = 4; in test_dist_dfu_slot_create_recover() local [all …]
|
/Zephyr-latest/tests/bsim/bluetooth/audio/src/ |
D | bap_broadcast_assistant_test.c | 166 i, subgroup->bis_sync, subgroup->metadata_len); in bap_broadcast_assistant_recv_state_cb() 169 subgroup->metadata_len); in bap_broadcast_assistant_recv_state_cb() 447 subgroup.metadata_len = 0; in test_bass_add_source() 474 subgroup.metadata_len = 0; in test_bass_mod_source() 505 subgroup.metadata_len = sizeof(metadata); in test_bass_mod_source_long_meta()
|
D | bap_scan_delegator_test.c | 506 subgroup_param->metadata_len = 0U; in add_source() 565 subgroup_param->metadata_len = sizeof(pref_context_metadata); in mod_source() 567 subgroup_param->metadata_len); in mod_source()
|
D | cap_commander_test.c | 480 subgroup->metadata_len); in bap_broadcast_assistant_recv_state_cb() 483 subgroup->metadata_len); in bap_broadcast_assistant_recv_state_cb()
|
/Zephyr-latest/tests/bluetooth/tester/src/audio/ |
D | btp_bap_broadcast.c | 879 *ptr = subgroup->metadata_len; in btp_send_broadcast_receive_state_ev() 880 ptr += sizeof(subgroup->metadata_len); in btp_send_broadcast_receive_state_ev() 881 memcpy(ptr, subgroup->metadata, subgroup->metadata_len); in btp_send_broadcast_receive_state_ev() 882 ptr += subgroup->metadata_len; in btp_send_broadcast_receive_state_ev() 1448 subgroup->metadata_len = *ptr; in btp_bap_broadcast_assistant_add_src() 1449 ptr += sizeof(subgroup->metadata_len); in btp_bap_broadcast_assistant_add_src() 1450 memcpy(subgroup->metadata, ptr, subgroup->metadata_len); in btp_bap_broadcast_assistant_add_src() 1451 ptr += subgroup->metadata_len; in btp_bap_broadcast_assistant_add_src() 1519 subgroup->metadata_len = *ptr; in btp_bap_broadcast_assistant_modify_src() 1520 ptr += sizeof(subgroup->metadata_len); in btp_bap_broadcast_assistant_modify_src() [all …]
|
/Zephyr-latest/subsys/bluetooth/mesh/shell/ |
D | dfu.c | 383 size_t metadata_len = 0; in cmd_dfu_slot_add() local 405 metadata_len = hex2bin(argv[3], strlen(argv[3]), metadata, in cmd_dfu_slot_add() 409 bt_mesh_dfu_slot_info_set(slot, size, metadata, metadata_len); in cmd_dfu_slot_add() 468 len = bin2hex(slot->metadata, slot->metadata_len, metadata, in slot_info_print()
|
/Zephyr-latest/tests/bluetooth/tester/src/ |
D | btp_mesh.c | 4185 uint8_t *metadata, size_t metadata_len) in dfu_slot_add() argument 4191 err = bt_mesh_dfu_slot_info_set(slot, size, metadata, metadata_len); in dfu_slot_add() 4288 size_t metadata_len; in dfu_update_metadata_check() local 4307 metadata_len = cp->metadata_len; in dfu_update_metadata_check() 4309 if ((metadata_len > 0) && in dfu_update_metadata_check() 4310 (metadata_len < CONFIG_BT_MESH_DFU_METADATA_MAXLEN)) { in dfu_update_metadata_check() 4311 memcpy(&metadata, cp->data, metadata_len); in dfu_update_metadata_check() 4314 dfu_slot_add(size, fwid, fwid_len, metadata, metadata_len); in dfu_update_metadata_check() 4414 size_t metadata_len; in dfu_firmware_update_start() local 4437 metadata_len = cp->metadata_len; in dfu_firmware_update_start() [all …]
|
/Zephyr-latest/tests/bluetooth/audio/cap_commander/src/ |
D | test_broadcast_reception.c | 133 fixture->subgroups[i].metadata_len = 0; in test_start_param_init() 438 fixture->start_param.param[0].subgroups[0].metadata_len = in ZTEST_F()
|
/Zephyr-latest/tests/bluetooth/tester/src/btp/ |
D | btp_mesh.h | 975 uint8_t metadata_len; member 993 uint8_t metadata_len; member
|