Zephyr Project API 3.7.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
dfu_srv.h File Reference

Go to the source code of this file.

Data Structures

struct  bt_mesh_dfu_srv_cb
 Firmware Update Server event callbacks. More...
 
struct  bt_mesh_dfu_srv
 Firmware Update Server instance. More...
 

Macros

#define BT_MESH_DFU_SRV_INIT(_handlers, _imgs, _img_count)
 Initialization parameters for Firmware Update Server model.
 
#define BT_MESH_MODEL_DFU_SRV(_srv)
 Firmware Update Server model entry.
 

Functions

void bt_mesh_dfu_srv_verified (struct bt_mesh_dfu_srv *srv)
 Accept the received DFU transfer.
 
void bt_mesh_dfu_srv_rejected (struct bt_mesh_dfu_srv *srv)
 Reject the received DFU transfer.
 
void bt_mesh_dfu_srv_cancel (struct bt_mesh_dfu_srv *srv)
 Cancel the ongoing DFU transfer.
 
void bt_mesh_dfu_srv_applied (struct bt_mesh_dfu_srv *srv)
 Confirm that the received DFU transfer was applied.
 
bool bt_mesh_dfu_srv_is_busy (const struct bt_mesh_dfu_srv *srv)
 Check if the Firmware Update Server is busy processing a transfer.
 
uint8_t bt_mesh_dfu_srv_progress (const struct bt_mesh_dfu_srv *srv)
 Get the progress of the current DFU procedure, in percent.