Zephyr API
4.4.99
A Scalable Open Source RTOS
Toggle main menu visibility
Loading...
Searching...
No Matches
zephyr_basic.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2021-2023 Nordic Semiconductor ASA
3
*
4
* SPDX-License-Identifier: Apache-2.0
5
*/
6
12
13
#ifndef ZEPHYR_INCLUDE_ZEPHYR_MCUMGR_GRP_ZBASIC_H_
14
#define ZEPHYR_INCLUDE_ZEPHYR_MCUMGR_GRP_ZBASIC_H_
15
22
23
#ifdef __cplusplus
24
extern
"C"
{
25
#endif
26
31
#define ZEPHYR_MGMT_GRP_BASIC_CMD_ERASE_STORAGE 0
33
37
enum
zephyr_basic_group_err_code_t
{
39
ZEPHYRBASIC_MGMT_ERR_OK
= 0,
40
42
ZEPHYRBASIC_MGMT_ERR_UNKNOWN
,
43
45
ZEPHYRBASIC_MGMT_ERR_FLASH_OPEN_FAILED
,
46
48
ZEPHYRBASIC_MGMT_ERR_FLASH_CONFIG_QUERY_FAIL
,
49
51
ZEPHYRBASIC_MGMT_ERR_FLASH_ERASE_FAILED
,
52
};
53
54
#ifdef __cplusplus
55
}
56
#endif
57
61
62
#endif
/* ZEPHYR_INCLUDE_ZEPHYR_MCUMGR_GRP_ZBASIC_H_ */
zephyr_basic_group_err_code_t
zephyr_basic_group_err_code_t
Command result codes for statistics management group.
Definition
zephyr_basic.h:37
ZEPHYRBASIC_MGMT_ERR_UNKNOWN
@ ZEPHYRBASIC_MGMT_ERR_UNKNOWN
Unknown error occurred.
Definition
zephyr_basic.h:42
ZEPHYRBASIC_MGMT_ERR_OK
@ ZEPHYRBASIC_MGMT_ERR_OK
No error, this is implied if there is no ret value in the response.
Definition
zephyr_basic.h:39
ZEPHYRBASIC_MGMT_ERR_FLASH_CONFIG_QUERY_FAIL
@ ZEPHYRBASIC_MGMT_ERR_FLASH_CONFIG_QUERY_FAIL
Querying the flash area parameters has failed.
Definition
zephyr_basic.h:48
ZEPHYRBASIC_MGMT_ERR_FLASH_ERASE_FAILED
@ ZEPHYRBASIC_MGMT_ERR_FLASH_ERASE_FAILED
Erasing the flash area has failed.
Definition
zephyr_basic.h:51
ZEPHYRBASIC_MGMT_ERR_FLASH_OPEN_FAILED
@ ZEPHYRBASIC_MGMT_ERR_FLASH_OPEN_FAILED
Opening of the flash area has failed.
Definition
zephyr_basic.h:45
zephyr
mgmt
mcumgr
grp
zephyr
zephyr_basic.h
Generated on
for Zephyr API by
1.17.0