Home
last modified time | relevance | path

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

/Zephyr-Core-3.7.0/subsys/bluetooth/mesh/shell/
Ddfu.c513 size_t target_cnt; member
521 for (size_t i = 0; i < dfu_tx.target_cnt; i++) { in dfu_tx_prepare()
548 if (dfu_tx.target_cnt == ARRAY_SIZE(dfu_tx.targets)) { in cmd_dfu_target()
553 for (size_t i = 0; i < dfu_tx.target_cnt; i++) { in cmd_dfu_target()
560 dfu_tx.targets[dfu_tx.target_cnt].blob.addr = addr; in cmd_dfu_target()
561 dfu_tx.targets[dfu_tx.target_cnt].img_idx = img_idx; in cmd_dfu_target()
562 sys_slist_append(&dfu_tx.inputs.targets, &dfu_tx.targets[dfu_tx.target_cnt].blob.n); in cmd_dfu_target()
563 dfu_tx.target_cnt++; in cmd_dfu_target()
750 if (!dfu_tx.target_cnt) { in cmd_dfu_send()
762 dfu_tx.target_cnt); in cmd_dfu_send()
Ddfd.c22 shell_print(sh, "{\"status\": %d, \"target_cnt\": %d}", status, srv->target_cnt); in print_receivers_status()
156 if (cnt == 0 || dfd_srv->target_cnt <= first) { in cmd_dfd_receivers_get()
160 cnt = MIN(cnt, dfd_srv->target_cnt - first); in cmd_dfd_receivers_get()
164 dfd_srv->target_cnt); in cmd_dfd_receivers_get()
/Zephyr-Core-3.7.0/subsys/bluetooth/mesh/
Ddfd_srv.c71 for (int i = 0; i < srv->target_cnt; ++i) { in target_get()
110 net_buf_simple_add_le16(&buf, srv->target_cnt); in receivers_status_rsp()
176 net_buf_simple_add_le16(&rsp, srv->target_cnt); in handle_receivers_get()
179 cnt = MIN(cnt, srv->target_cnt - first); in handle_receivers_get()
947 srv->target_cnt = 0; in dfd_srv_reset()
976 if (srv->target_cnt == ARRAY_SIZE(srv->targets)) { in bt_mesh_dfd_srv_receiver_add()
980 t = &srv->targets[srv->target_cnt]; in bt_mesh_dfd_srv_receiver_add()
981 p = &srv->pull_ctxs[srv->target_cnt]; in bt_mesh_dfd_srv_receiver_add()
982 srv->target_cnt++; in bt_mesh_dfd_srv_receiver_add()
1003 srv->target_cnt = 0; in bt_mesh_dfd_srv_receivers_delete_all()
[all …]
/Zephyr-Core-3.7.0/include/zephyr/bluetooth/mesh/
Ddfd_srv.h218 uint16_t target_cnt; member
/Zephyr-Core-3.7.0/tests/bluetooth/tester/src/
Dbtp_mesh.c3952 size_t target_cnt; member
3960 for (int i = 0; i < dfu_tx.target_cnt; i++) { in dfu_tx_prepare()
3978 if (dfu_tx.target_cnt == ARRAY_SIZE(dfu_tx.targets)) { in dfu_target()
3983 for (int i = 0; i < dfu_tx.target_cnt; i++) { in dfu_target()
3990 dfu_tx.targets[dfu_tx.target_cnt].blob.addr = addr; in dfu_target()
3991 dfu_tx.targets[dfu_tx.target_cnt].img_idx = img_idx; in dfu_target()
3993 &dfu_tx.targets[dfu_tx.target_cnt].blob.n); in dfu_target()
3994 dfu_tx.target_cnt++; in dfu_target()
4278 if (!dfu_tx.target_cnt) { in dfu_firmware_update_start()