Zephyr Project API
3.4.0
A Scalable Open Source RTOS
|
#include <dfu_cli.h>
Data Fields | |
enum bt_mesh_dfu_status | status |
enum bt_mesh_dfu_phase | phase |
enum bt_mesh_dfu_effect | effect |
uint64_t | blob_id |
uint8_t | img_idx |
uint8_t | ttl |
uint16_t | timeout_base |
DFU Target node status parameters.
uint64_t bt_mesh_dfu_target_status::blob_id |
BLOB ID used in the transfer.
enum bt_mesh_dfu_effect bt_mesh_dfu_target_status::effect |
The effect the update will have on the Target device's state.
uint8_t bt_mesh_dfu_target_status::img_idx |
Image index to transfer.
enum bt_mesh_dfu_phase bt_mesh_dfu_target_status::phase |
Phase of the current DFU transfer.
enum bt_mesh_dfu_status bt_mesh_dfu_target_status::status |
Status of the previous operation.
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.
uint8_t bt_mesh_dfu_target_status::ttl |
TTL used in the transfer.