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

Structure provided in the MGMT_EVT_OP_OS_MGMT_BOOTLOADER_INFO notification callback: This callback function is used to add new fields to the bootloader info response. More...

#include <os_mgmt_callbacks.h>

Data Fields

zcbor_state_t * zse
 The zcbor encoder which is currently being used to output group information, additional fields to the group can be added using this.
 
const size_tdecoded
 Contains the number of decoded parameters.
 
struct zcbor_string * query
 Contains the value of the query parameter.
 
boolhas_output
 Must be set to true to indicate a response has been added, otherwise will return the OS_MGMT_ERR_QUERY_YIELDS_NO_ANSWER error.
 

Detailed Description

Structure provided in the MGMT_EVT_OP_OS_MGMT_BOOTLOADER_INFO notification callback: This callback function is used to add new fields to the bootloader info response.

Field Documentation

◆ decoded

const size_t* os_mgmt_bootloader_info_data::decoded

Contains the number of decoded parameters.

◆ has_output

bool* os_mgmt_bootloader_info_data::has_output

Must be set to true to indicate a response has been added, otherwise will return the OS_MGMT_ERR_QUERY_YIELDS_NO_ANSWER error.

◆ query

struct zcbor_string* os_mgmt_bootloader_info_data::query

Contains the value of the query parameter.

◆ zse

zcbor_state_t* os_mgmt_bootloader_info_data::zse

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


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