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

DFU Target node status parameters. More...

#include <dfu_cli.h>

Data Fields

enum bt_mesh_dfu_status status
 Status of the previous operation.
 
enum bt_mesh_dfu_phase phase
 Phase of the current DFU transfer.
 
enum bt_mesh_dfu_effect effect
 The effect the update will have on the Target device's state.
 
uint64_t blob_id
 BLOB ID used in the transfer.
 
uint8_t img_idx
 Image index to transfer.
 
uint8_t ttl
 TTL used in the transfer.
 
uint16_t timeout_base
 Additional response time for the Target nodes, in 10-second increments.
 

Detailed Description

DFU Target node status parameters.

Field Documentation

◆ blob_id

uint64_t bt_mesh_dfu_target_status::blob_id

BLOB ID used in the transfer.

◆ effect

enum bt_mesh_dfu_effect bt_mesh_dfu_target_status::effect

The effect the update will have on the Target device's state.

◆ img_idx

uint8_t bt_mesh_dfu_target_status::img_idx

Image index to transfer.

◆ phase

enum bt_mesh_dfu_phase bt_mesh_dfu_target_status::phase

Phase of the current DFU transfer.

◆ status

enum bt_mesh_dfu_status bt_mesh_dfu_target_status::status

Status of the previous operation.

◆ timeout_base

uint16_t bt_mesh_dfu_target_status::timeout_base

Additional response time for the Target nodes, in 10-second increments.

The extra time can be used to give the Target nodes more time to respond to messages from the Client. The actual timeout will be calculated according to the following formula:

*  timeout = 20 seconds + (10 seconds * timeout_base) + (100 ms * TTL)
*  

If a Target node fails to respond to a message from the Client within the configured transfer timeout, the Target node is dropped.

◆ ttl

uint8_t bt_mesh_dfu_target_status::ttl

TTL used in the transfer.


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