Home
last modified time | relevance | path

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

/Zephyr-latest/include/zephyr/bluetooth/mesh/
Ddfu_cli.h58 uint8_t img_idx; member
88 uint8_t img_idx; member
369 struct bt_mesh_msg_ctx *ctx, uint8_t img_idx,
/Zephyr-latest/subsys/bluetooth/mesh/
Ddfu_slot.h103 const struct bt_mesh_dfu_slot *bt_mesh_dfu_slot_at(uint16_t img_idx);
Ddfd_srv_internal.h24 uint8_t img_idx);
Ddfu_cli.c369 net_buf_simple_add_u8(&buf, target->img_idx); in send_update_start()
426 int img_idx = -1; in initiate() local
432 if (img_idx == -1) { in initiate()
433 img_idx = target->img_idx; in initiate()
434 } else if (target->img_idx != img_idx) { in initiate()
726 rsp->img_idx = net_buf_simple_pull_u8(buf); in handle_status()
735 rsp->img_idx = 0U; in handle_status()
778 target->img_idx = net_buf_simple_pull_u8(buf); in handle_status()
1206 struct bt_mesh_msg_ctx *ctx, uint8_t img_idx, in bt_mesh_dfu_cli_metadata_check() argument
1221 net_buf_simple_add_u8(&buf, img_idx); in bt_mesh_dfu_cli_metadata_check()
[all …]
Ddfd_srv.c132 uint8_t img_idx; in handle_receivers_add() local
136 img_idx = net_buf_simple_pull_u8(buf); in handle_receivers_add()
138 status = bt_mesh_dfd_srv_receiver_add(srv, addr, img_idx); in handle_receivers_add()
191 net_buf_simple_add_u8(&rsp, t->img_idx); in handle_receivers_get()
981 uint8_t img_idx) in bt_mesh_dfd_srv_receiver_add() argument
992 t->img_idx = img_idx; in bt_mesh_dfd_srv_receiver_add()
1010 t->img_idx = img_idx; in bt_mesh_dfd_srv_receiver_add()
1013 t->img_idx); in bt_mesh_dfd_srv_receiver_add()
Ddfu_slot.c266 const struct bt_mesh_dfu_slot *bt_mesh_dfu_slot_at(uint16_t img_idx) in bt_mesh_dfu_slot_at() argument
271 if (!img_idx--) { in bt_mesh_dfu_slot_at()
/Zephyr-latest/subsys/bluetooth/mesh/shell/
Ddfu.c536 uint8_t img_idx; in cmd_dfu_target() local
541 img_idx = shell_strtoul(argv[2], 0, &err); in cmd_dfu_target()
561 dfu_tx.targets[dfu_tx.target_cnt].img_idx = img_idx; in cmd_dfu_target()
603 shell_print(sh, "\tImg Idx: %u", rsp.img_idx); in cmd_dfu_target_state()
676 uint8_t slot_idx, img_idx; in cmd_dfu_target_check() local
684 img_idx = shell_strtoul(argv[2], 0, &err); in cmd_dfu_target_check()
698 &ctx, img_idx, slot, &rsp); in cmd_dfu_target_check()
705 bt_mesh_shell_target_ctx.dst, img_idx); in cmd_dfu_target_check()
Ddfd.c95 uint8_t img_idx = shell_strtoul(img_idx_str, 0, &err); in cmd_dfd_receivers_add() local
103 dfd_srv, addr, img_idx); in cmd_dfd_receivers_add()
171 t->blob.status, progress, t->img_idx, (i == cnt - 1) ? "" : ","); in cmd_dfd_receivers_get()
/Zephyr-latest/tests/bluetooth/tester/src/
Dbtp_mesh.c4162 static void dfu_target(uint8_t img_idx, uint16_t addr) in dfu_target() argument
4177 dfu_tx.targets[dfu_tx.target_cnt].img_idx = img_idx; in dfu_target()
4285 uint8_t img_idx, slot_idx; in dfu_update_metadata_check() local
4303 img_idx = cp->index; in dfu_update_metadata_check()
4322 err = bt_mesh_dfu_cli_metadata_check(&dfd_srv.dfu, &ctx, img_idx, slot, in dfu_update_metadata_check()