Lines Matching refs:metadata
189 struct net_buf_simple *metadata, in target_dfu_start() argument
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()
468 uint8_t metadata[CONFIG_BT_MESH_DFU_METADATA_MAXLEN] = { 0xAA, 0xBB, 0xCC, 0xDD }; in slot_add() local
473 new_slot = slot_reserve_and_set(size, fwid, fwid_len, metadata, metadata_len); in slot_add()
600 uint8_t metadata[CONFIG_BT_MESH_DFU_METADATA_MAXLEN] = { 0 }; in test_dist_dfu_slot_create() local
613 metadata[0] = i; in test_dist_dfu_slot_create()
614 slot[i] = slot_reserve_and_set(size, fwid, fwid_len, metadata, metadata_len); in test_dist_dfu_slot_create()
641 uint8_t metadata[CONFIG_BT_MESH_DFU_METADATA_MAXLEN] = { 0 }; in check_slot() local
653 metadata[0] = idx + 2; in check_slot()
655 ASSERT_TRUE(memcmp(metadata, slot->metadata, metadata_len) == 0); in check_slot()
667 uint8_t metadata[CONFIG_BT_MESH_DFU_METADATA_MAXLEN] = { 0 }; in test_dist_dfu_slot_create_recover() local
687 metadata[0] = i; in test_dist_dfu_slot_create_recover()
689 ASSERT_TRUE(memcmp(metadata, slot->metadata, metadata_len) == 0); in test_dist_dfu_slot_create_recover()