Home
last modified time | relevance | path

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

/Zephyr-latest/subsys/bluetooth/mesh/
Ddfd_srv_internal.h23 enum bt_mesh_dfd_status bt_mesh_dfd_srv_receiver_add(struct bt_mesh_dfd_srv *srv, uint16_t addr,
26 enum bt_mesh_dfd_status bt_mesh_dfd_srv_receivers_delete_all(struct bt_mesh_dfd_srv *srv);
28 enum bt_mesh_dfd_status bt_mesh_dfd_srv_start(struct bt_mesh_dfd_srv *srv,
31 enum bt_mesh_dfd_status bt_mesh_dfd_srv_suspend(struct bt_mesh_dfd_srv *srv);
33 enum bt_mesh_dfd_status bt_mesh_dfd_srv_cancel(struct bt_mesh_dfd_srv *srv,
36 enum bt_mesh_dfd_status bt_mesh_dfd_srv_apply(struct bt_mesh_dfd_srv *srv);
38 enum bt_mesh_dfd_status bt_mesh_dfd_srv_fw_delete(struct bt_mesh_dfd_srv *srv, size_t *fwid_len,
41 enum bt_mesh_dfd_status bt_mesh_dfd_srv_fw_delete_all(struct bt_mesh_dfd_srv *srv);
Ddfd_srv.c19 LOG_MODULE_REGISTER(bt_mesh_dfd_srv);
58 static void dfd_phase_set(struct bt_mesh_dfd_srv *srv, in dfd_phase_set()
68 static struct bt_mesh_dfu_target *target_get(struct bt_mesh_dfd_srv *srv, in target_get()
80 static bool is_busy(const struct bt_mesh_dfd_srv *srv) in is_busy()
87 static bool upload_is_busy(const struct bt_mesh_dfd_srv *srv) in upload_is_busy()
93 static int slot_del(struct bt_mesh_dfd_srv *srv, const struct bt_mesh_dfu_slot *slot) in slot_del()
102 static void receivers_status_rsp(struct bt_mesh_dfd_srv *srv, in receivers_status_rsp()
119 struct bt_mesh_dfd_srv *srv = mod->rt->user_data; in handle_receivers_add()
149 struct bt_mesh_dfd_srv *srv = mod->rt->user_data; in handle_receivers_delete_all()
159 struct bt_mesh_dfd_srv *srv = mod->rt->user_data; in handle_receivers_get()
[all …]
/Zephyr-latest/include/zephyr/bluetooth/mesh/
Ddfd_srv.h40 struct bt_mesh_dfd_srv;
110 int (*recv)(struct bt_mesh_dfd_srv *srv,
140 int (*start_oob_upload)(struct bt_mesh_dfd_srv *srv,
154 void (*cancel_oob_upload)(struct bt_mesh_dfd_srv *srv,
168 uint8_t (*oob_progress_get)(struct bt_mesh_dfd_srv *srv,
181 void (*del)(struct bt_mesh_dfd_srv *srv,
196 int (*send)(struct bt_mesh_dfd_srv *srv,
207 void (*phase)(struct bt_mesh_dfd_srv *srv, enum bt_mesh_dfd_phase phase);
211 struct bt_mesh_dfd_srv { struct
276 int bt_mesh_dfd_srv_oob_check_complete(struct bt_mesh_dfd_srv *srv,
[all …]
/Zephyr-latest/subsys/bluetooth/mesh/shell/
Ddfd.c19 static void print_receivers_status(const struct shell *sh, struct bt_mesh_dfd_srv *srv, in print_receivers_status()
25 static void print_dfd_status(const struct shell *sh, struct bt_mesh_dfd_srv *srv, in print_dfd_status()
73 struct bt_mesh_dfd_srv *dfd_srv = mod->rt->user_data; in cmd_dfd_receivers_add()
125 struct bt_mesh_dfd_srv *dfd_srv = mod->rt->user_data; in cmd_dfd_receivers_delete_all()
145 struct bt_mesh_dfd_srv *dfd_srv = mod->rt->user_data; in cmd_dfd_receivers_get()
200 struct bt_mesh_dfd_srv *dfd_srv = mod->rt->user_data; in cmd_dfd_get()
213 struct bt_mesh_dfd_srv *dfd_srv = mod->rt->user_data; in cmd_dfd_start()
270 struct bt_mesh_dfd_srv *dfd_srv = mod->rt->user_data; in cmd_dfd_suspend()
288 struct bt_mesh_dfd_srv *dfd_srv = mod->rt->user_data; in cmd_dfd_cancel()
306 struct bt_mesh_dfd_srv *dfd_srv = mod->rt->user_data; in cmd_dfd_apply()
[all …]
/Zephyr-latest/tests/bluetooth/mesh_shell/src/
Dmain.c20 static struct bt_mesh_dfd_srv dfd_srv;
/Zephyr-latest/doc/connectivity/bluetooth/api/mesh/
Ddfd_srv.rst39 .. doxygengroup:: bt_mesh_dfd_srv
/Zephyr-latest/tests/bsim/bluetooth/mesh/src/
Dtest_dfu.c119 static int dist_fw_recv(struct bt_mesh_dfd_srv *srv, in dist_fw_recv()
128 static void dist_fw_del(struct bt_mesh_dfd_srv *srv, in dist_fw_del()
133 static int dist_fw_send(struct bt_mesh_dfd_srv *srv, in dist_fw_send()
142 static void dist_phase_changed(struct bt_mesh_dfd_srv *srv, enum bt_mesh_dfd_phase phase) in dist_phase_changed()
165 struct bt_mesh_dfd_srv dfd_srv = BT_MESH_DFD_SRV_INIT(&dfd_srv_cb);
/Zephyr-latest/tests/bluetooth/tester/src/
Dbtp_mesh.c118 static bool is_self_update(struct bt_mesh_dfd_srv *srv) in is_self_update()
130 static int dfd_srv_recv(struct bt_mesh_dfd_srv *srv, in dfd_srv_recv()
141 static void dfd_srv_del(struct bt_mesh_dfd_srv *srv, in dfd_srv_del()
147 static int dfd_srv_send(struct bt_mesh_dfd_srv *srv, in dfd_srv_send()
181 static int dfd_srv_start_oob_upload(struct bt_mesh_dfd_srv *srv, in dfd_srv_start_oob_upload()
201 static void dfd_srv_cancel_oob_upload(struct bt_mesh_dfd_srv *srv, in dfd_srv_cancel_oob_upload()
209 static uint8_t dfd_srv_oob_progress_get(struct bt_mesh_dfd_srv *srv, in dfd_srv_oob_progress_get()
243 static struct bt_mesh_dfd_srv dfd_srv = BT_MESH_DFD_SRV_INIT(&dfd_srv_cb);