Zephyr API Documentation 4.0.0-rc3
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
zephyr_basic.h File Reference

Go to the source code of this file.

Macros

#define ZEPHYR_MGMT_GRP_BASIC_CMD_ERASE_STORAGE   0 /* Command to erase storage partition */
 Command IDs for zephyr basic management group.
 

Enumerations

enum  zephyr_basic_group_err_code_t {
  ZEPHYRBASIC_MGMT_ERR_OK = 0 , ZEPHYRBASIC_MGMT_ERR_UNKNOWN , ZEPHYRBASIC_MGMT_ERR_FLASH_OPEN_FAILED , ZEPHYRBASIC_MGMT_ERR_FLASH_CONFIG_QUERY_FAIL ,
  ZEPHYRBASIC_MGMT_ERR_FLASH_ERASE_FAILED
}
 Command result codes for statistics management group. More...
 

Macro Definition Documentation

◆ ZEPHYR_MGMT_GRP_BASIC_CMD_ERASE_STORAGE

#define ZEPHYR_MGMT_GRP_BASIC_CMD_ERASE_STORAGE   0 /* Command to erase storage partition */

Command IDs for zephyr basic management group.

Enumeration Type Documentation

◆ zephyr_basic_group_err_code_t

Command result codes for statistics management group.

Enumerator
ZEPHYRBASIC_MGMT_ERR_OK 

No error, this is implied if there is no ret value in the response.

ZEPHYRBASIC_MGMT_ERR_UNKNOWN 

Unknown error occurred.

ZEPHYRBASIC_MGMT_ERR_FLASH_OPEN_FAILED 

Opening of the flash area has failed.

ZEPHYRBASIC_MGMT_ERR_FLASH_CONFIG_QUERY_FAIL 

Querying the flash area parameters has failed.

ZEPHYRBASIC_MGMT_ERR_FLASH_ERASE_FAILED 

Erasing the flash area has failed.