Home
last modified time | relevance | path

Searched refs:bt_mesh_dfu_slot (Results 1 – 11 of 11) sorted by relevance

/Zephyr-Core-3.7.0/subsys/bluetooth/mesh/
Ddfu_slot.h17 const struct bt_mesh_dfu_slot *slot, void *user_data);
35 struct bt_mesh_dfu_slot *bt_mesh_dfu_slot_reserve(void);
48 int bt_mesh_dfu_slot_info_set(struct bt_mesh_dfu_slot *dfu_slot, size_t size,
60 int bt_mesh_dfu_slot_fwid_set(struct bt_mesh_dfu_slot *dfu_slot,
73 int bt_mesh_dfu_slot_commit(struct bt_mesh_dfu_slot *dfu_slot);
79 void bt_mesh_dfu_slot_release(const struct bt_mesh_dfu_slot *dfu_slot);
88 int bt_mesh_dfu_slot_del(const struct bt_mesh_dfu_slot *slot);
103 const struct bt_mesh_dfu_slot *bt_mesh_dfu_slot_at(uint16_t img_idx);
114 int bt_mesh_dfu_slot_get(const uint8_t *fwid, size_t fwid_len, struct bt_mesh_dfu_slot **slot);
122 int bt_mesh_dfu_slot_img_idx_get(const struct bt_mesh_dfu_slot *slot);
Ddfu_slot.c17 LOG_MODULE_REGISTER(bt_mesh_dfu_slot);
33 struct bt_mesh_dfu_slot slot;
48 static bool slot_eq(const struct bt_mesh_dfu_slot *slot, in slot_eq()
126 struct bt_mesh_dfu_slot *bt_mesh_dfu_slot_reserve(void) in bt_mesh_dfu_slot_reserve()
156 int bt_mesh_dfu_slot_info_set(struct bt_mesh_dfu_slot *dfu_slot, size_t size, in bt_mesh_dfu_slot_info_set()
175 int bt_mesh_dfu_slot_fwid_set(struct bt_mesh_dfu_slot *dfu_slot, in bt_mesh_dfu_slot_fwid_set()
201 int bt_mesh_dfu_slot_commit(struct bt_mesh_dfu_slot *dfu_slot) in bt_mesh_dfu_slot_commit()
226 void bt_mesh_dfu_slot_release(const struct bt_mesh_dfu_slot *dfu_slot) in bt_mesh_dfu_slot_release()
237 int bt_mesh_dfu_slot_del(const struct bt_mesh_dfu_slot *dfu_slot) in bt_mesh_dfu_slot_del()
266 const struct bt_mesh_dfu_slot *bt_mesh_dfu_slot_at(uint16_t img_idx) in bt_mesh_dfu_slot_at()
[all …]
Ddfd_srv.c93 static int slot_del(struct bt_mesh_dfd_srv *srv, const struct bt_mesh_dfu_slot *slot) in slot_del()
199 static enum bt_mesh_dfu_iter slot_space_cb(const struct bt_mesh_dfu_slot *slot, in slot_space_cb()
614 struct bt_mesh_dfu_slot *slot = bt_mesh_dfu_slot_reserve(); in handle_upload_start_oob()
697 struct bt_mesh_dfu_slot *slot; in handle_fw_get()
721 const struct bt_mesh_dfu_slot *slot; in handle_fw_get_by_index()
755 static enum bt_mesh_dfu_iter slot_del_cb(const struct bt_mesh_dfu_slot *slot, in slot_del_cb()
1202 struct bt_mesh_dfu_slot *slot; in bt_mesh_dfd_srv_fw_delete()
1241 const struct bt_mesh_dfu_slot *slot, int status, in bt_mesh_dfd_srv_oob_check_complete()
1274 const struct bt_mesh_dfu_slot *slot, bool success, in bt_mesh_dfd_srv_oob_store_complete()
Ddfu_cli.c1202 const struct bt_mesh_dfu_slot *slot, in bt_mesh_dfu_cli_metadata_check()
/Zephyr-Core-3.7.0/include/zephyr/bluetooth/mesh/
Ddfd_srv.h111 const struct bt_mesh_dfu_slot *slot,
141 const struct bt_mesh_dfu_slot *slot,
155 const struct bt_mesh_dfu_slot *slot);
169 const struct bt_mesh_dfu_slot *slot);
182 const struct bt_mesh_dfu_slot *slot);
197 const struct bt_mesh_dfu_slot *slot,
226 struct bt_mesh_dfu_slot *slot;
277 const struct bt_mesh_dfu_slot *slot, int status,
296 const struct bt_mesh_dfu_slot *slot, bool success,
Ddfu_cli.h196 const struct bt_mesh_dfu_slot *slot;
227 const struct bt_mesh_dfu_slot *slot;
370 const struct bt_mesh_dfu_slot *slot,
Ddfu.h152 struct bt_mesh_dfu_slot { struct
/Zephyr-Core-3.7.0/tests/bsim/bluetooth/mesh/src/
Dtest_dfu.c120 const struct bt_mesh_dfu_slot *slot, in dist_fw_recv()
129 const struct bt_mesh_dfu_slot *slot) in dist_fw_del()
134 const struct bt_mesh_dfu_slot *slot, in dist_fw_send()
437 static struct bt_mesh_dfu_slot *slot_reserve_and_set(size_t size, uint8_t *fwid, size_t fwid_len, in slot_reserve_and_set()
440 struct bt_mesh_dfu_slot *new_slot = bt_mesh_dfu_slot_reserve(); in slot_reserve_and_set()
462 static bool slot_add(const struct bt_mesh_dfu_slot **slot) in slot_add()
464 struct bt_mesh_dfu_slot *new_slot; in slot_add()
596 struct bt_mesh_dfu_slot *slot[CONFIG_BT_MESH_DFU_SLOT_CNT]; in test_dist_dfu_slot_create()
636 enum bt_mesh_dfu_iter check_slot(const struct bt_mesh_dfu_slot *slot, void *data) in check_slot()
663 struct bt_mesh_dfu_slot *slot; in test_dist_dfu_slot_create_recover()
[all …]
/Zephyr-Core-3.7.0/subsys/bluetooth/mesh/shell/
Ddfu.c378 struct bt_mesh_dfu_slot *slot; in cmd_dfu_slot_add()
425 const struct bt_mesh_dfu_slot *slot; in cmd_dfu_slot_del()
459 static void slot_info_print(const struct shell *sh, const struct bt_mesh_dfu_slot *slot, in slot_info_print()
484 const struct bt_mesh_dfu_slot *slot; in cmd_dfu_slot_get()
669 const struct bt_mesh_dfu_slot *slot; in cmd_dfu_target_check()
Ddfd.c57 static enum bt_mesh_dfu_iter slot_space_cb(const struct bt_mesh_dfu_slot *slot, in slot_space_cb()
344 const struct bt_mesh_dfu_slot *slot = bt_mesh_dfu_slot_at(idx); in cmd_dfd_fw_get_by_idx()
/Zephyr-Core-3.7.0/tests/bluetooth/tester/src/
Dbtp_mesh.c116 static const struct bt_mesh_dfu_slot *dfu_self_update_slot;
131 const struct bt_mesh_dfu_slot *slot, in dfd_srv_recv()
142 const struct bt_mesh_dfu_slot *slot) in dfd_srv_del()
148 const struct bt_mesh_dfu_slot *slot, in dfd_srv_send()
171 const struct bt_mesh_dfu_slot *slot;
182 const struct bt_mesh_dfu_slot *slot, in dfd_srv_start_oob_upload()
202 const struct bt_mesh_dfu_slot *slot) in dfd_srv_cancel_oob_upload()
210 const struct bt_mesh_dfu_slot *slot) in dfd_srv_oob_progress_get()
4001 struct bt_mesh_dfu_slot *slot; in dfu_slot_add()
4092 const struct bt_mesh_dfu_slot *slot; in dfu_update_metadata_check()