|
Zephyr Project API 4.0.0
A Scalable Open Source RTOS
|
Firmware Update Client event callbacks. More...
#include <dfu_cli.h>
Data Fields | |
| void(* | suspended )(struct bt_mesh_dfu_cli *cli) |
| BLOB transfer is suspended. | |
| void(* | ended )(struct bt_mesh_dfu_cli *cli, enum bt_mesh_dfu_status reason) |
| DFU ended. | |
| void(* | applied )(struct bt_mesh_dfu_cli *cli) |
| DFU transfer applied on all active Target nodes. | |
| void(* | confirmed )(struct bt_mesh_dfu_cli *cli) |
| DFU transfer confirmed on all active Target nodes. | |
| void(* | lost_target )(struct bt_mesh_dfu_cli *cli, struct bt_mesh_dfu_target *target) |
| DFU Target node was lost. | |
Firmware Update Client event callbacks.
| void(* bt_mesh_dfu_cli_cb::applied) (struct bt_mesh_dfu_cli *cli) |
DFU transfer applied on all active Target nodes.
Called at the end of the apply procedure started by bt_mesh_dfu_cli_apply.
| cli | Firmware Update Client model instance. |
| void(* bt_mesh_dfu_cli_cb::confirmed) (struct bt_mesh_dfu_cli *cli) |
DFU transfer confirmed on all active Target nodes.
Called at the end of the apply procedure started by bt_mesh_dfu_cli_confirm.
| cli | Firmware Update Client model instance. |
| void(* bt_mesh_dfu_cli_cb::ended) (struct bt_mesh_dfu_cli *cli, enum bt_mesh_dfu_status reason) |
DFU ended.
Called when the DFU transfer ends, either because all Target nodes were lost or because the transfer was completed successfully.
| cli | Firmware Update Client model instance. |
| reason | Reason for ending. |
| void(* bt_mesh_dfu_cli_cb::lost_target) (struct bt_mesh_dfu_cli *cli, struct bt_mesh_dfu_target *target) |
DFU Target node was lost.
A DFU Target node was dropped from the receivers list. The Target node's status is set to reflect the reason for the failure.
| cli | Firmware Update Client model instance. |
| target | DFU Target node that was lost. |
| void(* bt_mesh_dfu_cli_cb::suspended) (struct bt_mesh_dfu_cli *cli) |
BLOB transfer is suspended.
Called when the BLOB transfer is suspended due to response timeout from all Target nodes.
| cli | Firmware Update Client model instance. |