Home
last modified time | relevance | path

Searched refs:err_rc (Results 1 – 10 of 10) sorted by relevance

/Zephyr-latest/subsys/mgmt/mcumgr/grp/os_mgmt/src/
Dos_mgmt.c371 int32_t err_rc; in os_mgmt_reset() local
387 sizeof(reboot_data), &err_rc, &err_group); in os_mgmt_reset()
393 return err_rc; in os_mgmt_reset()
396 ok = smp_add_cmd_err(zse, err_group, (uint16_t)err_rc); in os_mgmt_reset()
458 int32_t err_rc; in os_mgmt_bootloader_info() local
478 sizeof(bootloader_info_data), &err_rc, &err_group); in os_mgmt_bootloader_info()
482 return err_rc; in os_mgmt_bootloader_info()
485 ok = smp_add_cmd_err(zse, err_group, (uint16_t)err_rc); in os_mgmt_bootloader_info()
565 int32_t err_rc; in os_mgmt_info() local
643 sizeof(check_data), &err_rc, &err_group); in os_mgmt_info()
[all …]
/Zephyr-latest/tests/subsys/mgmt/mcumgr/handler_demo/example_as_module/src/
Dexample_mgmt.c89 int32_t err_rc; in example_mgmt_other() local
109 &err_rc, &err_group); in example_mgmt_other()
116 return err_rc; in example_mgmt_other()
119 ok = smp_add_cmd_err(zse, err_group, (uint16_t)err_rc); in example_mgmt_other()
/Zephyr-latest/subsys/mgmt/mcumgr/grp/img_mgmt/src/
Dimg_mgmt.c453 int32_t err_rc; in img_mgmt_erase() local
456 (void)mgmt_callback_notify(MGMT_EVT_OP_IMG_MGMT_DFU_STOPPED, NULL, 0, &err_rc, in img_mgmt_erase()
489 int32_t err_rc; in img_mgmt_slot_info() local
578 &err_rc, &err_group); in img_mgmt_slot_info()
587 return err_rc; in img_mgmt_slot_info()
591 smp_add_cmd_err(zse, err_group, (uint16_t)err_rc); in img_mgmt_slot_info()
630 &err_rc, &err_group); in img_mgmt_slot_info()
635 return err_rc; in img_mgmt_slot_info()
639 smp_add_cmd_err(zse, err_group, (uint16_t)err_rc); in img_mgmt_slot_info()
744 int32_t err_rc; in img_mgmt_upload() local
[all …]
Dimg_mgmt_state.c391 int32_t err_rc; in img_mgmt_state_confirm() local
404 (void)mgmt_callback_notify(MGMT_EVT_OP_IMG_MGMT_DFU_CONFIRMED, NULL, 0, &err_rc, in img_mgmt_state_confirm()
425 int32_t err_rc; in img_mgmt_state_encode_slot() local
474 sizeof(slot_encode_data), &err_rc, &err_group); in img_mgmt_state_encode_slot()
576 int32_t err_rc; in img_mgmt_set_next_boot_slot_common() local
580 (void)mgmt_callback_notify(MGMT_EVT_OP_IMG_MGMT_DFU_CONFIRMED, NULL, 0, &err_rc, in img_mgmt_set_next_boot_slot_common()
/Zephyr-latest/subsys/mgmt/mcumgr/grp/fs_mgmt/src/
Dfs_mgmt.c229 int32_t err_rc; in fs_mgmt_file_download() local
254 sizeof(file_access_data), &err_rc, &err_group); in fs_mgmt_file_download()
259 return err_rc; in fs_mgmt_file_download()
262 ok = smp_add_cmd_err(zse, err_group, (uint16_t)err_rc); in fs_mgmt_file_download()
378 int32_t err_rc; in fs_mgmt_file_upload() local
404 sizeof(file_access_data), &err_rc, &err_group); in fs_mgmt_file_upload()
409 return err_rc; in fs_mgmt_file_upload()
412 ok = smp_add_cmd_err(zse, err_group, (uint16_t)err_rc); in fs_mgmt_file_upload()
591 int32_t err_rc; in fs_mgmt_file_status() local
609 sizeof(file_access_data), &err_rc, &err_group); in fs_mgmt_file_status()
[all …]
/Zephyr-latest/subsys/mgmt/mcumgr/mgmt/src/
Dmgmt.c148 int32_t *err_rc, uint16_t *err_group) in mgmt_callback_notify() argument
156 *err_rc = MGMT_ERR_EOK; in mgmt_callback_notify()
176 int32_t cached_rc = *err_rc; in mgmt_callback_notify()
190 *err_rc = cached_rc; in mgmt_callback_notify()
/Zephyr-latest/subsys/mgmt/mcumgr/smp/src/
Dsmp.c168 int32_t err_rc; in smp_handle_single_payload() local
220 &err_rc, &err_group); in smp_handle_single_payload()
227 rc = err_rc; in smp_handle_single_payload()
230 (uint16_t)err_rc); in smp_handle_single_payload()
393 int32_t err_rc; in smp_process_request_packet() local
466 sizeof(cmd_done_arg), &err_rc, &err_group); in smp_process_request_packet()
480 sizeof(cmd_done_arg), &err_rc, &err_group); in smp_process_request_packet()
/Zephyr-latest/subsys/mgmt/mcumgr/grp/enum_mgmt/src/
Denum_mgmt.c52 int32_t err_rc; member
153 sizeof(group_detail_data), &data->err_rc, &data->err_group); in enum_mgmt_cb_details()
421 return arguments.err_rc; in enum_mgmt_details()
430 smp_add_cmd_err(zse, arguments.err_group, (uint16_t)arguments.err_rc); in enum_mgmt_details()
/Zephyr-latest/include/zephyr/mgmt/mcumgr/mgmt/
Dcallbacks.h322 int32_t *err_rc, uint16_t *err_group);
/Zephyr-latest/doc/services/device_mgmt/
Dmcumgr_callbacks.rst239 int err_rc;
248 sizeof(test_data), &err_rc, &err_group);
254 return err_rc;
258 ok = smp_add_cmd_err(zse, err_group, (uint16_t)err_rc);