Zephyr API Documentation 4.3.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
7#ifndef H_MCUMGR_ENUM_MGMT_CALLBACKS_
8#define H_MCUMGR_ENUM_MGMT_CALLBACKS_
9
10#ifdef __cplusplus
11extern "C" {
12#endif
13
21
32
40 const struct mgmt_group *group;
41
46 zcbor_state_t *zse;
47};
48
52
53#ifdef __cplusplus
54}
55#endif
56
57#endif
enum_mgmt_group_events
MGMT event opcodes for enumeration management group.
Definition enum_mgmt_callbacks.h:25
@ MGMT_EVT_OP_ENUM_MGMT_ALL
Used to enable all enum_mgmt_group events.
Definition enum_mgmt_callbacks.h:30
@ MGMT_EVT_OP_ENUM_MGMT_DETAILS
Callback when fetching details on supported command groups.
Definition enum_mgmt_callbacks.h:27
@ 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:38
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:46
const struct mgmt_group * group
The group that is currently being enumerated.
Definition enum_mgmt_callbacks.h:40
A collection of handlers for an entire command group.
Definition mgmt.h:87