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

Structure provided in the MGMT_EVT_OP_IMG_MGMT_DFU_CHUNK notification callback: This callback function is used to notify the application about a pending firmware upload packet from a client and authorise or deny it. More...

#include <img_mgmt_callbacks.h>

Data Fields

struct img_mgmt_upload_actionaction
 Action to take.
 
struct img_mgmt_upload_reqreq
 Upload request information.
 

Detailed Description

Structure provided in the MGMT_EVT_OP_IMG_MGMT_DFU_CHUNK notification callback: This callback function is used to notify the application about a pending firmware upload packet from a client and authorise or deny it.

Upload will be allowed so long as all notification handlers return MGMT_ERR_EOK, if one returns an error then the upload will be denied.

Field Documentation

◆ action

struct img_mgmt_upload_action* img_mgmt_upload_check::action

Action to take.

◆ req

struct img_mgmt_upload_req* img_mgmt_upload_check::req

Upload request information.


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