Home
last modified time | relevance | path

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

/Zephyr-Core-3.5.0/subsys/bluetooth/mesh/shell/
Ddfd.c73 struct bt_mesh_dfd_srv *dfd_srv = mod->user_data; in cmd_dfd_receivers_add() local
75 if (bt_mesh_dfu_cli_is_busy(&dfd_srv->dfu)) { in cmd_dfd_receivers_add()
76 print_receivers_status(sh, dfd_srv, in cmd_dfd_receivers_add()
103 dfd_srv, addr, img_idx); in cmd_dfd_receivers_add()
106 print_receivers_status(sh, dfd_srv, status); in cmd_dfd_receivers_add()
114 print_receivers_status(sh, dfd_srv, BT_MESH_DFD_SUCCESS); in cmd_dfd_receivers_add()
125 struct bt_mesh_dfd_srv *dfd_srv = mod->user_data; in cmd_dfd_receivers_delete_all() local
128 dfd_srv); in cmd_dfd_receivers_delete_all()
130 print_receivers_status(sh, dfd_srv, status); in cmd_dfd_receivers_delete_all()
145 struct bt_mesh_dfd_srv *dfd_srv = mod->user_data; in cmd_dfd_receivers_get() local
[all …]
/Zephyr-Core-3.5.0/tests/bluetooth/mesh_shell/src/
Dmain.c20 static struct bt_mesh_dfd_srv dfd_srv; variable
52 BT_MESH_MODEL_DFD_SRV(&dfd_srv),
/Zephyr-Core-3.5.0/tests/bsim/bluetooth/mesh/src/
Dtest_dfu.c165 struct bt_mesh_dfd_srv dfd_srv = BT_MESH_DFD_SRV_INIT(&dfd_srv_cb); variable
298 BT_MESH_MODEL_DFD_SRV(&dfd_srv)),
312 BT_MESH_MODEL_DFD_SRV(&dfd_srv)),
502 status = bt_mesh_dfd_srv_start(&dfd_srv, &start_params); in dist_dfu_start_and_confirm()
513 ASSERT_EQUAL(BT_MESH_DFD_PHASE_FAILED, dfd_srv.phase); in dist_dfu_start_and_confirm()
517 ASSERT_EQUAL(BT_MESH_DFD_PHASE_COMPLETED, dfd_srv.phase); in dist_dfu_start_and_confirm()
523 ASSERT_EQUAL(expected_status, dfd_srv.targets[i].status); in dist_dfu_start_and_confirm()
525 if (dfd_srv.targets[i].effect == BT_MESH_DFU_EFFECT_UNPROV) { in dist_dfu_start_and_confirm()
531 dfd_srv.targets[i].phase); in dist_dfu_start_and_confirm()
533 ASSERT_EQUAL(BT_MESH_DFU_PHASE_APPLYING, dfd_srv.targets[i].phase); in dist_dfu_start_and_confirm()
[all …]
/Zephyr-Core-3.5.0/subsys/bluetooth/mesh/
DCMakeLists.txt103 zephyr_library_sources_ifdef(CONFIG_BT_MESH_DFD_SRV dfd_srv.c)
/Zephyr-Core-3.5.0/tests/bluetooth/tester/src/
Dbtp_mesh.c243 static struct bt_mesh_dfd_srv dfd_srv = BT_MESH_DFD_SRV_INIT(&dfd_srv_cb); variable
277 err = bt_mesh_dfd_srv_oob_check_complete(&dfd_srv, dfd_srv_oob_ctx.slot, status, in oob_check_handler()
286 err = bt_mesh_dfd_srv_oob_store_complete(&dfd_srv, dfd_srv_oob_ctx.slot, true, in oob_store_handler()
428 if (is_self_update(&dfd_srv) && dfu_self_update_slot != NULL) { in dfu_apply()
1057 BT_MESH_MODEL_DFD_SRV(&dfd_srv),
4005 err = bt_mesh_dfu_cli_imgs_get(&dfd_srv.dfu, &ctx, dfu_img_cb, NULL, in dfu_info_get()
4063 err = bt_mesh_dfu_cli_metadata_check(&dfd_srv.dfu, &ctx, img_idx, slot, in dfu_update_metadata_check()
4103 err = bt_mesh_dfu_cli_status_get(&dfd_srv.dfu, &ctx, &rsp_data); in dfu_firmware_update_get()
4135 err = bt_mesh_dfu_cli_cancel(&dfd_srv.dfu, &ctx); in dfu_firmware_update_cancel()
4219 err = bt_mesh_dfu_cli_send(&dfd_srv.dfu, &dfu_tx.inputs, &dummy_blob_io, &xfer); in dfu_firmware_update_start()
[all …]
/Zephyr-Core-3.5.0/doc/connectivity/bluetooth/api/mesh/
Ddfu.rst23 dfd_srv