Zephyr Project API 4.0.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
40 zcbor_state_t *zse;
41
43 const size_t *decoded;
44
46 struct zcbor_string *query;
47
53};
54
59#ifdef __cplusplus
60}
61#endif
62
63#endif
Structure provided in the MGMT_EVT_OP_OS_MGMT_BOOTLOADER_INFO notification callback: This callback fu...
Definition os_mgmt_callbacks.h:35
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:40
const size_t * decoded
Contains the number of decoded parameters.
Definition os_mgmt_callbacks.h:43
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:52
struct zcbor_string * query
Contains the value of the query parameter.
Definition os_mgmt_callbacks.h:46
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