19#define OS_MGMT_ID_ECHO 0
20#define OS_MGMT_ID_CONS_ECHO_CTRL 1
21#define OS_MGMT_ID_TASKSTAT 2
22#define OS_MGMT_ID_MPSTAT 3
23#define OS_MGMT_ID_DATETIME_STR 4
24#define OS_MGMT_ID_RESET 5
25#define OS_MGMT_ID_MCUMGR_PARAMS 6
26#define OS_MGMT_ID_INFO 7
27#define OS_MGMT_ID_BOOTLOADER_INFO 8
#define BIT(n)
Unsigned integer with bit position n set (signed in assembly language).
Definition: util_macro.h:44
os_mgmt_err_code_t
Command result codes for OS management group.
Definition: os_mgmt.h:32
@ OS_MGMT_ERR_RTC_COMMAND_FAILED
RTC command failed.
Definition: os_mgmt.h:49
@ OS_MGMT_ERR_OK
No error, this is implied if there is no ret value in the response.
Definition: os_mgmt.h:34
@ OS_MGMT_ERR_UNKNOWN
Unknown error occurred.
Definition: os_mgmt.h:37
@ OS_MGMT_ERR_RTC_NOT_SET
RTC is not set.
Definition: os_mgmt.h:46
@ OS_MGMT_ERR_INVALID_FORMAT
The provided format value is not valid.
Definition: os_mgmt.h:40
@ OS_MGMT_ERR_QUERY_YIELDS_NO_ANSWER
Query was not recognized.
Definition: os_mgmt.h:43
os_mgmt_info_formats
Definition: os_mgmt.h:57
@ OS_MGMT_INFO_FORMAT_KERNEL_VERSION
Definition: os_mgmt.h:61
@ OS_MGMT_INFO_FORMAT_PROCESSOR
Definition: os_mgmt.h:64
@ OS_MGMT_INFO_FORMAT_KERNEL_RELEASE
Definition: os_mgmt.h:60
@ OS_MGMT_INFO_FORMAT_HARDWARE_PLATFORM
Definition: os_mgmt.h:65
@ OS_MGMT_INFO_FORMAT_MACHINE
Definition: os_mgmt.h:63
@ OS_MGMT_INFO_FORMAT_NODE_NAME
Definition: os_mgmt.h:59
@ OS_MGMT_INFO_FORMAT_OPERATING_SYSTEM
Definition: os_mgmt.h:66
@ OS_MGMT_INFO_FORMAT_USER_CUSTOM_START
Definition: os_mgmt.h:68
@ OS_MGMT_INFO_FORMAT_BUILD_DATE_TIME
Definition: os_mgmt.h:62
@ OS_MGMT_INFO_FORMAT_KERNEL_NAME
Definition: os_mgmt.h:58
__UINT32_TYPE__ uint32_t
Definition: stdint.h:90
__UINT8_TYPE__ uint8_t
Definition: stdint.h:88
__UINT16_TYPE__ uint16_t
Definition: stdint.h:89
uint8_t * output
Definition: os_mgmt.h:97
uint32_t * format_bitmask
Definition: os_mgmt.h:91
bool all_format_specified
Definition: os_mgmt.h:93
bool * prior_output
Definition: os_mgmt.h:108
uint16_t * output_length
Definition: os_mgmt.h:101
uint16_t buffer_size
Definition: os_mgmt.h:106
uint32_t * format_bitmask
Definition: os_mgmt.h:76
bool * custom_os_name
Definition: os_mgmt.h:82
uint16_t * valid_formats
Definition: os_mgmt.h:80
struct zcbor_string * format
Definition: os_mgmt.h:74