Zephyr Project API 4.2.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
os_mgmt.h File Reference

Go to the source code of this file.

Data Structures

struct  os_mgmt_info_check
 
struct  os_mgmt_info_append
 

Macros

Command IDs for OS Management group.
#define OS_MGMT_ID_ECHO   0
 Echo.
 
#define OS_MGMT_ID_CONS_ECHO_CTRL   1
 Console/terminal echo control.
 
#define OS_MGMT_ID_TASKSTAT   2
 Task statistics.
 
#define OS_MGMT_ID_MPSTAT   3
 Memory pool statistics.
 
#define OS_MGMT_ID_DATETIME_STR   4
 Date-time string.
 
#define OS_MGMT_ID_RESET   5
 System reset.
 
#define OS_MGMT_ID_MCUMGR_PARAMS   6
 MCUMgr parameters.
 
#define OS_MGMT_ID_INFO   7
 OS/Application information.
 
#define OS_MGMT_ID_BOOTLOADER_INFO   8
 Bootloader information.
 

Enumerations

enum  os_mgmt_err_code_t {
  OS_MGMT_ERR_OK = 0 , OS_MGMT_ERR_UNKNOWN , OS_MGMT_ERR_INVALID_FORMAT , OS_MGMT_ERR_QUERY_YIELDS_NO_ANSWER ,
  OS_MGMT_ERR_RTC_NOT_SET , OS_MGMT_ERR_RTC_COMMAND_FAILED , OS_MGMT_ERR_QUERY_RESPONSE_VALUE_NOT_VALID
}
 Command result codes for OS management group. More...
 
enum  os_mgmt_info_formats {
  OS_MGMT_INFO_FORMAT_KERNEL_NAME = BIT(0) , OS_MGMT_INFO_FORMAT_NODE_NAME = BIT(1) , OS_MGMT_INFO_FORMAT_KERNEL_RELEASE = BIT(2) , OS_MGMT_INFO_FORMAT_KERNEL_VERSION = BIT(3) ,
  OS_MGMT_INFO_FORMAT_BUILD_DATE_TIME = BIT(4) , OS_MGMT_INFO_FORMAT_MACHINE = BIT(5) , OS_MGMT_INFO_FORMAT_PROCESSOR = BIT(6) , OS_MGMT_INFO_FORMAT_HARDWARE_PLATFORM = BIT(7) ,
  OS_MGMT_INFO_FORMAT_OPERATING_SYSTEM = BIT(8) , OS_MGMT_INFO_FORMAT_USER_CUSTOM_START = BIT(9)
}
 OS/Application information formats. More...