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

Structure provided in the MGMT_EVT_OP_IMG_MGMT_SLOT_INFO_SLOT notification callback: This callback function is called once per slot per image when the slot info command is used, it can be used to return additional information/fields in the response. More...

#include <img_mgmt_callbacks.h>

Data Fields

const uint8_t image
 The image that is currently being enumerated.
 
const uint8_t slot
 The slot that is currently being enumerated.
 
const struct flash_areafa
 Flash area of the slot that is current being enumerated.
 
zcbor_state_t * zse
 The zcbor encoder which is currently being used to output information, additional fields can be added using this.
 

Detailed Description

Structure provided in the MGMT_EVT_OP_IMG_MGMT_SLOT_INFO_SLOT notification callback: This callback function is called once per slot per image when the slot info command is used, it can be used to return additional information/fields in the response.

Field Documentation

◆ fa

const struct flash_area* img_mgmt_slot_info_slot::fa

Flash area of the slot that is current being enumerated.

◆ image

const uint8_t img_mgmt_slot_info_slot::image

The image that is currently being enumerated.

◆ slot

const uint8_t img_mgmt_slot_info_slot::slot

The slot that is currently being enumerated.

◆ zse

zcbor_state_t* img_mgmt_slot_info_slot::zse

The zcbor encoder which is currently being used to output information, additional fields can be added using this.


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