Zephyr Project API 4.1.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
os_mgmt_callbacks.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2023 Nordic Semiconductor ASA
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7#ifndef H_MCUMGR_OS_MGMT_CALLBACKS_
8#define H_MCUMGR_OS_MGMT_CALLBACKS_
9
10#ifdef __cplusplus
11extern "C" {
12#endif
13
28 bool force;
29
30#if defined(CONFIG_MCUMGR_GRP_OS_RESET_BOOT_MODE) || defined(__DOXYGEN__)
33#endif
34};
35
45 zcbor_state_t *zse;
46
48 const size_t *decoded;
49
51 struct zcbor_string *query;
52
58};
59
64#ifdef __cplusplus
65}
66#endif
67
68#endif
__UINT8_TYPE__ uint8_t
Definition stdint.h:88
Structure provided in the MGMT_EVT_OP_OS_MGMT_BOOTLOADER_INFO notification callback: This callback fu...
Definition os_mgmt_callbacks.h:40
zcbor_state_t * zse
The zcbor encoder which is currently being used to output group information, additional fields to the...
Definition os_mgmt_callbacks.h:45
const size_t * decoded
Contains the number of decoded parameters.
Definition os_mgmt_callbacks.h:48
bool * has_output
Must be set to true to indicate a response has been added, otherwise will return the OS_MGMT_ERR_QUER...
Definition os_mgmt_callbacks.h:57
struct zcbor_string * query
Contains the value of the query parameter.
Definition os_mgmt_callbacks.h:51
Structure provided in the MGMT_EVT_OP_OS_MGMT_RESET notification callback: This callback function is ...
Definition os_mgmt_callbacks.h:26
bool force
Contains the value of the force parameter.
Definition os_mgmt_callbacks.h:28
uint8_t boot_mode
Contains the value of the boot_mode parameter.
Definition os_mgmt_callbacks.h:32