Zephyr Project API 4.2.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
Zephyr Basic Management

MCUmgr Zephyr Basic Management API. More...

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...
 

Command IDs for zephyr basic management group.

#define ZEPHYR_MGMT_GRP_BASIC_CMD_ERASE_STORAGE   0
 Erase storage partition.
 

Detailed Description

MCUmgr Zephyr Basic Management API.

Macro Definition Documentation

◆ ZEPHYR_MGMT_GRP_BASIC_CMD_ERASE_STORAGE

#define ZEPHYR_MGMT_GRP_BASIC_CMD_ERASE_STORAGE   0

#include <include/zephyr/mgmt/mcumgr/grp/zephyr/zephyr_basic.h>

Erase storage partition.

Enumeration Type Documentation

◆ zephyr_basic_group_err_code_t

#include <include/zephyr/mgmt/mcumgr/grp/zephyr/zephyr_basic.h>

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.