Zephyr Project API 4.0.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches

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.
 

Detailed Description

Firmware Update Client event callbacks.

Field Documentation

◆ applied

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.

Parameters
cliFirmware Update Client model instance.

◆ confirmed

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.

Parameters
cliFirmware Update Client model instance.

◆ ended

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.

Parameters
cliFirmware Update Client model instance.
reasonReason for ending.

◆ lost_target

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.

Parameters
cliFirmware Update Client model instance.
targetDFU Target node that was lost.

◆ suspended

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.

Parameters
cliFirmware Update Client model instance.

The documentation for this struct was generated from the following file: