Zephyr API
4.4.99
A Scalable Open Source RTOS
Toggle main menu visibility
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
17
extern
"C"
{
18
#endif
19
27
31
enum
enum_mgmt_group_events
{
33
MGMT_EVT_OP_ENUM_MGMT_DETAILS
= MGMT_DEF_EVT_OP_ID(
MGMT_EVT_GRP_ENUM
, 0),
34
36
MGMT_EVT_OP_ENUM_MGMT_ALL
= MGMT_DEF_EVT_OP_ALL(
MGMT_EVT_GRP_ENUM
),
37
};
38
44
struct
enum_mgmt_detail_output
{
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
enum_mgmt_group_events
MGMT event opcodes for enumeration management group.
Definition
enum_mgmt_callbacks.h:31
MGMT_EVT_OP_ENUM_MGMT_ALL
@ 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
@ MGMT_EVT_OP_ENUM_MGMT_DETAILS
Callback when fetching details on supported command groups.
Definition
enum_mgmt_callbacks.h:33
MGMT_EVT_GRP_ENUM
@ MGMT_EVT_GRP_ENUM
Definition
callback_defines.h:65
enum_mgmt_detail_output
Structure provided in the MGMT_EVT_OP_ENUM_MGMT_DETAILS notification callback: This callback function...
Definition
enum_mgmt_callbacks.h:44
enum_mgmt_detail_output::zse
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
enum_mgmt_detail_output::group
const struct mgmt_group * group
The group that is currently being enumerated.
Definition
enum_mgmt_callbacks.h:46
mgmt_group
A collection of handlers for an entire command group.
Definition
mgmt.h:87
zephyr
mgmt
mcumgr
grp
enum_mgmt
enum_mgmt_callbacks.h
Generated on
for Zephyr API by
1.17.0