Zephyr API Documentation  3.7.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
stat_mgmt.h File Reference

Go to the source code of this file.

Data Structures

struct  stat_mgmt_entry
 Represents a single value in a statistics group. More...
 

Macros

#define STAT_MGMT_ID_SHOW   0
 Command IDs for statistics management group.
 
#define STAT_MGMT_ID_LIST   1
 

Enumerations

enum  stat_mgmt_err_code_t {
  STAT_MGMT_ERR_OK = 0 , STAT_MGMT_ERR_UNKNOWN , STAT_MGMT_ERR_INVALID_GROUP , STAT_MGMT_ERR_INVALID_STAT_NAME ,
  STAT_MGMT_ERR_INVALID_STAT_SIZE , STAT_MGMT_ERR_WALK_ABORTED
}
 Command result codes for statistics management group. More...
 

Macro Definition Documentation

◆ STAT_MGMT_ID_LIST

#define STAT_MGMT_ID_LIST   1

◆ STAT_MGMT_ID_SHOW

#define STAT_MGMT_ID_SHOW   0

Command IDs for statistics management group.

Enumeration Type Documentation

◆ stat_mgmt_err_code_t

Command result codes for statistics management group.

Enumerator
STAT_MGMT_ERR_OK 

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

STAT_MGMT_ERR_UNKNOWN 

Unknown error occurred.

STAT_MGMT_ERR_INVALID_GROUP 

The provided statistic group name was not found.

STAT_MGMT_ERR_INVALID_STAT_NAME 

The provided statistic name was not found.

STAT_MGMT_ERR_INVALID_STAT_SIZE 

The size of the statistic cannot be handled.

STAT_MGMT_ERR_WALK_ABORTED 

Walk through of statistics was aborted.