Zephyr Project API 4.4.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
enum_mgmt_callbacks.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2024 Nordic Semiconductor ASA
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
12
13#ifndef H_MCUMGR_ENUM_MGMT_CALLBACKS_
14#define H_MCUMGR_ENUM_MGMT_CALLBACKS_
15
16#ifdef __cplusplus
17extern "C" {
18#endif
19
27
38
46 const struct mgmt_group *group;
47
52 zcbor_state_t *zse;
53};
54
58
59#ifdef __cplusplus
60}
61#endif
62
63#endif
enum_mgmt_group_events
MGMT event opcodes for enumeration management group.
Definition enum_mgmt_callbacks.h:31
@ MGMT_EVT_OP_ENUM_MGMT_ALL
Used to enable all enum_mgmt_group events.
Definition enum_mgmt_callbacks.h:36
@ MGMT_EVT_OP_ENUM_MGMT_DETAILS
Callback when fetching details on supported command groups.
Definition enum_mgmt_callbacks.h:33
@ MGMT_EVT_GRP_ENUM
Definition callback_defines.h:65
Structure provided in the MGMT_EVT_OP_ENUM_MGMT_DETAILS notification callback: This callback function...
Definition enum_mgmt_callbacks.h:44
zcbor_state_t * zse
The zcbor encoder which is currently being used to output group information, additional fields to the...
Definition enum_mgmt_callbacks.h:52
const struct mgmt_group * group
The group that is currently being enumerated.
Definition enum_mgmt_callbacks.h:46
A collection of handlers for an entire command group.
Definition mgmt.h:87