Zephyr API
4.4.99
A Scalable Open Source RTOS
Toggle main menu visibility
Loading...
Searching...
No Matches
enum_mgmt.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_ENUM_MGMT_
14
#define H_ENUM_MGMT_
15
22
23
#ifdef __cplusplus
24
extern
"C"
{
25
#endif
26
31
#define ENUM_MGMT_ID_COUNT 0
32
#define ENUM_MGMT_ID_LIST 1
33
#define ENUM_MGMT_ID_SINGLE 2
34
#define ENUM_MGMT_ID_DETAILS 3
38
42
enum
enum_mgmt_err_code_t
{
44
ENUM_MGMT_ERR_OK
= 0,
45
47
ENUM_MGMT_ERR_UNKNOWN
,
48
50
ENUM_MGMT_ERR_TOO_MANY_GROUP_ENTRIES
,
51
53
ENUM_MGMT_ERR_INSUFFICIENT_HEAP_FOR_ENTRIES
,
54
56
ENUM_MGMT_ERR_INDEX_TOO_LARGE
,
57
};
58
62
63
#ifdef __cplusplus
64
}
65
#endif
66
67
#endif
/* H_ENUM_MGMT_ */
enum_mgmt_err_code_t
enum_mgmt_err_code_t
Command result codes for enumeration management group.
Definition
enum_mgmt.h:42
ENUM_MGMT_ERR_TOO_MANY_GROUP_ENTRIES
@ ENUM_MGMT_ERR_TOO_MANY_GROUP_ENTRIES
Too many entries were provided.
Definition
enum_mgmt.h:50
ENUM_MGMT_ERR_UNKNOWN
@ ENUM_MGMT_ERR_UNKNOWN
Unknown error occurred.
Definition
enum_mgmt.h:47
ENUM_MGMT_ERR_OK
@ ENUM_MGMT_ERR_OK
No error, this is implied if there is no ret value in the response.
Definition
enum_mgmt.h:44
ENUM_MGMT_ERR_INSUFFICIENT_HEAP_FOR_ENTRIES
@ ENUM_MGMT_ERR_INSUFFICIENT_HEAP_FOR_ENTRIES
Insufficient heap memory to store entry data.
Definition
enum_mgmt.h:53
ENUM_MGMT_ERR_INDEX_TOO_LARGE
@ ENUM_MGMT_ERR_INDEX_TOO_LARGE
Provided index is larger than the number of supported grouped.
Definition
enum_mgmt.h:56
zephyr
mgmt
mcumgr
grp
enum_mgmt
enum_mgmt.h
Generated on
for Zephyr API by
1.17.0