1 /*
2  * Copyright (c) 2023 Nordic Semiconductor ASA
3  *
4  * SPDX-License-Identifier: Apache-2.0
5  */
6 #ifndef H_EXAMPLE_MGMT_
7 #define H_EXAMPLE_MGMT_
8 
9 #ifdef __cplusplus
10 extern "C" {
11 #endif
12 
13 /**
14  * Group ID for example management group.
15  */
16 #define MGMT_GROUP_ID_EXAMPLE  MGMT_GROUP_ID_PERUSER
17 
18 /**
19  * Command IDs for example management group.
20  */
21 #define EXAMPLE_MGMT_ID_TEST   0
22 #define EXAMPLE_MGMT_ID_OTHER  1
23 
24 /**
25  * Command result codes for example management group.
26  */
27 enum example_mgmt_err_code_t {
28 	/** No error, this is implied if there is no ret value in the response */
29 	EXAMPLE_MGMT_ERR_OK = 0,
30 
31 	/** Unknown error occurred. */
32 	EXAMPLE_MGMT_ERR_UNKNOWN,
33 
34 	/** The provided value is not wanted at this time. */
35 	EXAMPLE_MGMT_ERR_NOT_WANTED,
36 
37 	/** The provided value was rejected by a hook. */
38 	EXAMPLE_MGMT_ERR_REJECTED_BY_HOOK,
39 };
40 
41 #ifdef __cplusplus
42 }
43 #endif
44 
45 #endif
46