Zephyr API Documentation 4.0.0-rc3
A Scalable Open Source RTOS
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#ifndef ZEPHYR_INCLUDE_ZEPHYR_MCUMGR_GRP_ZBASIC_H_
7#define ZEPHYR_INCLUDE_ZEPHYR_MCUMGR_GRP_ZBASIC_H_
8
9#ifdef __cplusplus
10extern "C" {
11#endif
12
16#define ZEPHYR_MGMT_GRP_BASIC_CMD_ERASE_STORAGE 0 /* Command to erase storage partition */
17
37
38#ifdef __cplusplus
39}
40#endif
41
42#endif /* ZEPHYR_INCLUDE_ZEPHYR_MCUMGR_GRP_ZBASIC_H_ */
zephyr_basic_group_err_code_t
Command result codes for statistics management group.
Definition zephyr_basic.h:21
@ ZEPHYRBASIC_MGMT_ERR_UNKNOWN
Unknown error occurred.
Definition zephyr_basic.h:26
@ ZEPHYRBASIC_MGMT_ERR_OK
No error, this is implied if there is no ret value in the response.
Definition zephyr_basic.h:23
@ ZEPHYRBASIC_MGMT_ERR_FLASH_CONFIG_QUERY_FAIL
Querying the flash area parameters has failed.
Definition zephyr_basic.h:32
@ ZEPHYRBASIC_MGMT_ERR_FLASH_ERASE_FAILED
Erasing the flash area has failed.
Definition zephyr_basic.h:35
@ ZEPHYRBASIC_MGMT_ERR_FLASH_OPEN_FAILED
Opening of the flash area has failed.
Definition zephyr_basic.h:29