Zephyr Project API  3.4.0
A Scalable Open Source RTOS
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 */
 

Enumerations

enum  zephyr_basic_group_ret_code_t {
  ZEPHYR_MGMT_GRP_CMD_RC_OK = 0 , ZEPHYR_MGMT_RET_RC_UNKNOWN , ZEPHYR_MGMT_GRP_CMD_RC_FLASH_OPEN_FAILED , ZEPHYR_MGMT_GRP_CMD_RC_FLASH_CONFIG_QUERY_FAIL ,
  ZEPHYR_MGMT_GRP_CMD_RC_FLASH_ERASE_FAILED
}
 

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_ret_code_t

Command result codes for statistics management group.

Enumerator
ZEPHYR_MGMT_GRP_CMD_RC_OK 

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

ZEPHYR_MGMT_RET_RC_UNKNOWN 

Unknown error occurred.

ZEPHYR_MGMT_GRP_CMD_RC_FLASH_OPEN_FAILED 

Opening of the flash area has failed.

ZEPHYR_MGMT_GRP_CMD_RC_FLASH_CONFIG_QUERY_FAIL 

Querying the flash area parameters has failed.

ZEPHYR_MGMT_GRP_CMD_RC_FLASH_ERASE_FAILED 

Erasing the flash area has failed.