Home
last modified time | relevance | path

Searched refs:MGMT_ERR_EOK (Results 1 – 23 of 23) sorted by relevance

/Zephyr-latest/tests/subsys/mgmt/mcumgr/mcumgr_client/src/
Dmain.c41 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 …]
Dos_gr_stub.c95 response_status = MGMT_ERR_EOK; in os_echo_verify()
Dimg_gr_stub.c275 img_upload_response(test_offset, MGMT_ERR_EOK); in img_upload_init_verify()
/Zephyr-latest/include/zephyr/mgmt/mcumgr/mgmt/
Dmgmt_defines.h28 #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/
Dmain.c69 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/
Dstat_mgmt.c116 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/
Dbasic_mgmt.c64 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/
Dos_mgmt.c168 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/
Dexample_mgmt.c71 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/
Dfs_mgmt.c332 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/
Dos_mgmt_client.c48 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/
Denum_mgmt.c182 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/
Dclient.c224 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/
Dsmp_udp.c112 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()
Dsmp_bt.c451 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/
Dimg_mgmt_client.c175 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/
Dsmp.c232 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/
Dimg_mgmt.c473 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()
Dimg_mgmt_state.c541 return ok ? MGMT_ERR_EOK : MGMT_ERR_EMSGSIZE; in img_mgmt_state_read()
761 return MGMT_ERR_EOK; in img_mgmt_state_write()
Dzephyr_img_mgmt.c413 if (last || rc != MGMT_ERR_EOK) { in img_mgmt_write_image_data()
/Zephyr-latest/subsys/mgmt/mcumgr/grp/shell_mgmt/src/
Dshell_mgmt.c128 return ok ? MGMT_ERR_EOK : MGMT_ERR_EMSGSIZE; in shell_mgmt_exec()
/Zephyr-latest/subsys/mgmt/mcumgr/mgmt/src/
Dmgmt.c156 *err_rc = MGMT_ERR_EOK; in mgmt_callback_notify()
/Zephyr-latest/doc/services/device_mgmt/
Dmcumgr_callbacks.rst267 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