Home
last modified time | relevance | path

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

/Zephyr-Core-3.5.0/tests/bsim/bluetooth/mesh/src/
Dtest_dfu.c440 struct bt_mesh_dfu_slot *new_slot = bt_mesh_dfu_slot_reserve(); in slot_reserve_and_set() local
442 if (!new_slot) { in slot_reserve_and_set()
447 int err = bt_mesh_dfu_slot_fwid_set(new_slot, fwid, fwid_len); in slot_reserve_and_set()
453 err = bt_mesh_dfu_slot_info_set(new_slot, size, metadata, metadata_len); in slot_reserve_and_set()
459 return new_slot; in slot_reserve_and_set()
464 struct bt_mesh_dfu_slot *new_slot; in slot_add() local
473 new_slot = slot_reserve_and_set(size, fwid, fwid_len, metadata, metadata_len); in slot_add()
474 if (!new_slot) { in slot_add()
478 if (bt_mesh_dfu_slot_commit(new_slot) != 0) { in slot_add()
483 *slot = new_slot; in slot_add()