Home
last modified time | relevance | path

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

/Zephyr-latest/include/zephyr/bluetooth/mesh/
Ddfu_srv.h26 struct bt_mesh_dfu_srv;
80 int (*check)(struct bt_mesh_dfu_srv *srv,
113 int (*start)(struct bt_mesh_dfu_srv *srv,
133 void (*end)(struct bt_mesh_dfu_srv *srv,
152 int (*recover)(struct bt_mesh_dfu_srv *srv,
168 int (*apply)(struct bt_mesh_dfu_srv *srv,
176 struct bt_mesh_dfu_srv { struct
210 void bt_mesh_dfu_srv_verified(struct bt_mesh_dfu_srv *srv); argument
222 void bt_mesh_dfu_srv_rejected(struct bt_mesh_dfu_srv *srv);
228 void bt_mesh_dfu_srv_cancel(struct bt_mesh_dfu_srv *srv);
[all …]
Dshell.h48 extern struct bt_mesh_dfu_srv bt_mesh_shell_dfu_srv;
/Zephyr-latest/subsys/bluetooth/mesh/
Ddfu_srv.c14 LOG_MODULE_REGISTER(bt_mesh_dfu_srv);
28 static void store_state(struct bt_mesh_dfu_srv *srv) in store_state()
34 static void erase_state(struct bt_mesh_dfu_srv *srv) in erase_state()
39 static void xfer_failed(struct bt_mesh_dfu_srv *srv) in xfer_failed()
53 static enum bt_mesh_dfu_status metadata_check(struct bt_mesh_dfu_srv *srv, in metadata_check()
78 struct bt_mesh_dfu_srv *srv = cb_params; in apply_rsp_sent()
113 static void verify(struct bt_mesh_dfu_srv *srv) in verify()
136 struct bt_mesh_dfu_srv *srv = mod->rt->user_data; in handle_info_get()
198 struct bt_mesh_dfu_srv *srv = mod->rt->user_data; in handle_metadata_check()
223 static void update_status_rsp(struct bt_mesh_dfu_srv *srv, in update_status_rsp()
[all …]
/Zephyr-latest/subsys/bluetooth/mesh/shell/
Ddfu.c76 static int dfu_meta_check(struct bt_mesh_dfu_srv *srv, in dfu_meta_check()
84 static int dfu_start(struct bt_mesh_dfu_srv *srv, in dfu_start()
96 static void dfu_end(struct bt_mesh_dfu_srv *srv, const struct bt_mesh_dfu_img *img, bool success) in dfu_end()
111 static int dfu_apply(struct bt_mesh_dfu_srv *srv, in dfu_apply()
130 struct bt_mesh_dfu_srv bt_mesh_shell_dfu_srv =
907 bt_mesh_dfu_srv_applied((struct bt_mesh_dfu_srv *)mod_srv->rt->user_data); in cmd_dfu_applied()
917 bt_mesh_dfu_srv_cancel((struct bt_mesh_dfu_srv *)mod_srv->rt->user_data); in cmd_dfu_rx_cancel()
928 bt_mesh_dfu_srv_progress((struct bt_mesh_dfu_srv *)mod_srv->rt->user_data)); in cmd_dfu_rx_progress()
/Zephyr-latest/tests/bsim/bluetooth/mesh/src/
Dtest_dfu.c170 static int target_metadata_check(struct bt_mesh_dfu_srv *srv, in target_metadata_check()
187 static int target_dfu_start(struct bt_mesh_dfu_srv *srv, in target_dfu_start()
207 static void target_dfu_transfer_end(struct bt_mesh_dfu_srv *srv, const struct bt_mesh_dfu_img *img, in target_dfu_transfer_end()
231 static int target_dfu_recover(struct bt_mesh_dfu_srv *srv, in target_dfu_recover()
246 static int target_dfu_apply(struct bt_mesh_dfu_srv *srv, const struct bt_mesh_dfu_img *img) in target_dfu_apply()
287 static struct bt_mesh_dfu_srv dfu_srv = BT_MESH_DFU_SRV_INIT(&dfu_handlers, dfu_imgs,
/Zephyr-latest/doc/connectivity/bluetooth/api/mesh/
Ddfu_srv.rst130 .. doxygengroup:: bt_mesh_dfu_srv
/Zephyr-latest/tests/bluetooth/tester/src/
Dbtp_mesh.c368 static int dfu_meta_check(struct bt_mesh_dfu_srv *srv, in dfu_meta_check()
390 static int dfu_start(struct bt_mesh_dfu_srv *srv, in dfu_start()
402 static void dfu_end(struct bt_mesh_dfu_srv *srv, in dfu_end()
418 static int dfu_apply(struct bt_mesh_dfu_srv *srv, in dfu_apply()
447 static struct bt_mesh_dfu_srv dfu_srv =