Searched refs:bt_mesh_dfu_slot (Results 1 – 11 of 11) sorted by relevance
/Zephyr-Core-3.7.0/subsys/bluetooth/mesh/ |
D | dfu_slot.h | 17 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);
|
D | dfu_slot.c | 17 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 …]
|
D | dfd_srv.c | 93 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()
|
D | dfu_cli.c | 1202 const struct bt_mesh_dfu_slot *slot, in bt_mesh_dfu_cli_metadata_check()
|
/Zephyr-Core-3.7.0/include/zephyr/bluetooth/mesh/ |
D | dfd_srv.h | 111 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,
|
D | dfu_cli.h | 196 const struct bt_mesh_dfu_slot *slot; 227 const struct bt_mesh_dfu_slot *slot; 370 const struct bt_mesh_dfu_slot *slot,
|
D | dfu.h | 152 struct bt_mesh_dfu_slot { struct
|
/Zephyr-Core-3.7.0/tests/bsim/bluetooth/mesh/src/ |
D | test_dfu.c | 120 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/ |
D | dfu.c | 378 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()
|
D | dfd.c | 57 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/ |
D | btp_mesh.c | 116 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()
|