Home
last modified time | relevance | path

Searched refs:append_data (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/tests/subsys/mgmt/mcumgr/os_mgmt_info/src/
Dmain.c139 struct os_mgmt_info_append *append_data = (struct os_mgmt_info_append *)data; in os_mgmt_info_custom_os_callback() local
141 if (*append_data->format_bitmask & OS_MGMT_INFO_FORMAT_OPERATING_SYSTEM) { in os_mgmt_info_custom_os_callback()
142 int_rc = snprintf(&append_data->output[*append_data->output_length], in os_mgmt_info_custom_os_callback()
143 (append_data->buffer_size - *append_data->output_length), in os_mgmt_info_custom_os_callback()
144 "%s%s", (*append_data->prior_output == true ? " " : ""), in os_mgmt_info_custom_os_callback()
148 int_rc >= (append_data->buffer_size - *append_data->output_length)) { in os_mgmt_info_custom_os_callback()
154 *append_data->output_length += (uint16_t)int_rc; in os_mgmt_info_custom_os_callback()
155 *append_data->prior_output = true; in os_mgmt_info_custom_os_callback()
156 *append_data->format_bitmask &= ~OS_MGMT_INFO_FORMAT_OPERATING_SYSTEM; in os_mgmt_info_custom_os_callback()
193 struct os_mgmt_info_append *append_data = (struct os_mgmt_info_append *)data; in os_mgmt_info_custom_cmd_callback() local
[all …]
/Zephyr-latest/subsys/mgmt/mcumgr/grp/os_mgmt/src/
Dos_mgmt.c553 struct os_mgmt_info_append append_data = { in os_mgmt_info() local
578 append_data.all_format_specified = true; in os_mgmt_info()
808 status = mgmt_callback_notify(MGMT_EVT_OP_OS_MGMT_INFO_APPEND, &append_data, in os_mgmt_info()
809 sizeof(append_data), &err_rc, &err_group); in os_mgmt_info()