/Zephyr-latest/tests/subsys/mgmt/mcumgr/mcumgr_client/src/ |
D | main.c | 41 zassert_equal(MGMT_ERR_EOK, rc, "Expected to receive %d response %d", MGMT_ERR_EOK, rc); in ZTEST() 49 zassert_equal(MGMT_ERR_EOK, rc, "Expected to receive %d response %d", MGMT_ERR_EOK, rc); in ZTEST() 51 zassert_equal(MGMT_ERR_EOK, rc, "Expected to receive %d response %d", MGMT_ERR_EOK, rc); in ZTEST() 59 smp_client_send_status_stub(MGMT_ERR_EOK); in ZTEST() 69 zassert_equal(MGMT_ERR_EOK, rc, "Expected to receive %d response %d\n", MGMT_ERR_EOK, rc); in ZTEST() 70 img_upload_response(1024, MGMT_ERR_EOK); in ZTEST() 75 zassert_equal(MGMT_ERR_EOK, rc, "Expected to receive %d response %d", MGMT_ERR_EOK, rc); in ZTEST() 76 zassert_equal(MGMT_ERR_EOK, response.status, "Expected to receive %d response %d", in ZTEST() 77 MGMT_ERR_EOK, response.status); in ZTEST() 83 zassert_equal(MGMT_ERR_EOK, rc, "Expected to receive %d response %d", MGMT_ERR_EOK, rc); in ZTEST() [all …]
|
D | os_gr_stub.c | 95 response_status = MGMT_ERR_EOK; in os_echo_verify()
|
D | img_gr_stub.c | 275 img_upload_response(test_offset, MGMT_ERR_EOK); in img_upload_init_verify()
|
/Zephyr-latest/include/zephyr/mgmt/mcumgr/mgmt/ |
D | mgmt_defines.h | 28 #define MGMT_RETURN_CHECK(ok) ok ? MGMT_ERR_EOK : MGMT_ERR_EMSGSIZE 98 MGMT_ERR_EOK = 0, enumerator
|
/Zephyr-latest/tests/subsys/mgmt/mcumgr/smp_client/src/ |
D | main.c | 69 zassert_equal(MGMT_ERR_EOK, rc, "Expected to receive %d response %d", MGMT_ERR_EOK, rc); in ZTEST() 88 zassert_equal(MGMT_ERR_EOK, rc, "Expected to receive %d response %d", MGMT_ERR_EOK, rc); in ZTEST()
|
/Zephyr-latest/subsys/mgmt/mcumgr/grp/stat_mgmt/src/ |
D | stat_mgmt.c | 116 return ok ? MGMT_ERR_EOK : MGMT_ERR_EMSGSIZE; in stat_mgmt_cb_encode() 155 zcbor_int32_put(zse, MGMT_ERR_EOK); in stat_mgmt_show() 182 return ok ? MGMT_ERR_EOK : MGMT_ERR_EMSGSIZE; in stat_mgmt_show() 205 zcbor_int32_put(zse, MGMT_ERR_EOK); in stat_mgmt_list() 232 return MGMT_ERR_EOK; in stat_mgmt_list()
|
/Zephyr-latest/subsys/mgmt/mcumgr/grp/zephyr_basic/src/ |
D | basic_mgmt.c | 64 return MGMT_ERR_EOK; in storage_erase_handler() 86 rc = MGMT_ERR_EOK; in zephyr_basic_group_translate_error_code()
|
/Zephyr-latest/subsys/mgmt/mcumgr/grp/os_mgmt/src/ |
D | os_mgmt.c | 168 return ok ? MGMT_ERR_EOK : MGMT_ERR_EMSGSIZE; in os_mgmt_echo() 397 return ok ? MGMT_ERR_EOK : MGMT_ERR_EMSGSIZE; in os_mgmt_reset() 420 return ok ? MGMT_ERR_EOK : MGMT_ERR_EMSGSIZE; in os_mgmt_mcumgr_params() 487 return ok ? MGMT_ERR_EOK : MGMT_ERR_EMSGSIZE; in os_mgmt_bootloader_info() 518 return ok ? MGMT_ERR_EOK : MGMT_ERR_EMSGSIZE; in os_mgmt_bootloader_info() 650 return ok ? MGMT_ERR_EOK : MGMT_ERR_EMSGSIZE; in os_mgmt_info() 819 return ok ? MGMT_ERR_EOK : MGMT_ERR_EMSGSIZE; in os_mgmt_info() 825 return MGMT_ERR_EOK; in os_mgmt_info() 859 return ok ? MGMT_ERR_EOK : MGMT_ERR_EMSGSIZE; in os_mgmt_datetime_read() 892 return ok ? MGMT_ERR_EOK : MGMT_ERR_EMSGSIZE; in os_mgmt_datetime_read() [all …]
|
/Zephyr-latest/tests/subsys/mgmt/mcumgr/handler_demo/example_as_module/src/ |
D | example_mgmt.c | 71 return (ok ? MGMT_ERR_EOK : MGMT_ERR_EMSGSIZE); in example_mgmt_test() 133 return (ok ? MGMT_ERR_EOK : MGMT_ERR_EMSGSIZE); in example_mgmt_other()
|
/Zephyr-latest/subsys/mgmt/mcumgr/grp/fs_mgmt/src/ |
D | fs_mgmt.c | 332 ok = fs_mgmt_file_rsp(zse, MGMT_ERR_EOK, off) && in fs_mgmt_file_download() 341 rc = (ok ? MGMT_ERR_EOK : MGMT_ERR_EMSGSIZE); in fs_mgmt_file_download() 555 ok = fs_mgmt_file_rsp(zse, MGMT_ERR_EOK, fs_mgmt_ctxt.off); in fs_mgmt_file_upload() 559 rc = (ok ? MGMT_ERR_EOK : MGMT_ERR_EMSGSIZE); in fs_mgmt_file_upload() 617 return ok ? MGMT_ERR_EOK : MGMT_ERR_EMSGSIZE; in fs_mgmt_file_status() 643 return MGMT_ERR_EOK; in fs_mgmt_file_status() 724 return ok ? MGMT_ERR_EOK : MGMT_ERR_EMSGSIZE; in fs_mgmt_file_hash_checksum() 835 return MGMT_ERR_EOK; in fs_mgmt_file_hash_checksum() 885 return MGMT_ERR_EOK; in fs_mgmt_supported_hash_checksum() 903 return MGMT_ERR_EOK; in fs_mgmt_close_opened_file()
|
/Zephyr-latest/subsys/mgmt/mcumgr/grp/os_mgmt_client/src/ |
D | os_mgmt_client.c | 48 active_client->status = MGMT_ERR_EOK; in reset_res_fn() 115 active_client->status = MGMT_ERR_EOK; in echo_res_fn()
|
/Zephyr-latest/subsys/mgmt/mcumgr/grp/enum_mgmt/src/ |
D | enum_mgmt.c | 182 return ok ? MGMT_ERR_EOK : MGMT_ERR_ECORRUPT; in enum_mgmt_count() 213 return ok ? MGMT_ERR_EOK : MGMT_ERR_ECORRUPT; in enum_mgmt_list() 256 return ok ? MGMT_ERR_EOK : MGMT_ERR_ECORRUPT; in enum_mgmt_single() 439 return ok ? MGMT_ERR_EOK : MGMT_ERR_ECORRUPT; in enum_mgmt_details()
|
/Zephyr-latest/subsys/mgmt/mcumgr/smp_client/src/ |
D | client.c | 224 return MGMT_ERR_EOK; in smp_client_object_init() 245 return MGMT_ERR_EOK; in smp_client_single_response() 326 return MGMT_ERR_EOK; in smp_client_send_cmd()
|
/Zephyr-latest/subsys/mgmt/mcumgr/transport/src/ |
D | smp_udp.c | 112 ret = MGMT_ERR_EOK; in smp_udp4_tx() 136 ret = MGMT_ERR_EOK; in smp_udp6_tx() 159 return MGMT_ERR_EOK; in smp_udp_ud_copy()
|
D | smp_bt.c | 451 int rc = MGMT_ERR_EOK; in smp_bt_tx_pkt() 545 rc = MGMT_ERR_EOK; in smp_bt_tx_pkt()
|
/Zephyr-latest/subsys/mgmt/mcumgr/grp/img_mgmt_client/src/ |
D | img_mgmt_client.c | 175 image_info->status = MGMT_ERR_EOK; in image_state_res_fn() 179 if (image_info->status != MGMT_ERR_EOK) { in image_state_res_fn() 192 int32_t res_rc = MGMT_ERR_EOK; in image_upload_res_fn() 225 int rc, status = MGMT_ERR_EOK; in erase_res_fn() 323 rc = MGMT_ERR_EOK; in img_mgmt_client_upload_init()
|
/Zephyr-latest/subsys/mgmt/mcumgr/smp/src/ |
D | smp.c | 232 rc = (ok ? MGMT_ERR_EOK : MGMT_ERR_EMSGSIZE); in smp_handle_single_payload() 443 if (rc == MGMT_ERR_EOK) { in smp_process_request_packet() 463 cmd_done_arg.err = MGMT_ERR_EOK; in smp_process_request_packet()
|
/Zephyr-latest/subsys/mgmt/mcumgr/grp/img_mgmt/src/ |
D | img_mgmt.c | 473 return MGMT_ERR_EOK; in img_mgmt_erase() 660 return ok ? MGMT_ERR_EOK : MGMT_ERR_EMSGSIZE; in img_mgmt_slot_info() 672 zcbor_int32_put(zse, MGMT_ERR_EOK); in img_mgmt_upload_good_rsp() 678 return ok ? MGMT_ERR_EOK : MGMT_ERR_EMSGSIZE; in img_mgmt_upload_good_rsp() 989 if (last && rc == MGMT_ERR_EOK) { in img_mgmt_upload() 1008 return MGMT_ERR_EOK; in img_mgmt_upload()
|
D | img_mgmt_state.c | 541 return ok ? MGMT_ERR_EOK : MGMT_ERR_EMSGSIZE; in img_mgmt_state_read() 761 return MGMT_ERR_EOK; in img_mgmt_state_write()
|
D | zephyr_img_mgmt.c | 413 if (last || rc != MGMT_ERR_EOK) { in img_mgmt_write_image_data()
|
/Zephyr-latest/subsys/mgmt/mcumgr/grp/shell_mgmt/src/ |
D | shell_mgmt.c | 128 return ok ? MGMT_ERR_EOK : MGMT_ERR_EMSGSIZE; in shell_mgmt_exec()
|
/Zephyr-latest/subsys/mgmt/mcumgr/mgmt/src/ |
D | mgmt.c | 156 *err_rc = MGMT_ERR_EOK; in mgmt_callback_notify()
|
/Zephyr-latest/doc/services/device_mgmt/ |
D | mcumgr_callbacks.rst | 267 rc = (ok ? MGMT_ERR_EOK : MGMT_ERR_EMSGSIZE); 297 :c:enumerator:`MGMT_ERR_EOK` will allow the action, any other return code 315 returned, :c:enumerator:`MGMT_ERR_EOK` will allow the action, any other 323 returned, :c:enumerator:`MGMT_ERR_EOK` will allow the action, any other
|