Home
last modified time | relevance | path

Searched refs:nh_version (Results 1 – 12 of 12) sorted by relevance

/Zephyr-latest/subsys/mgmt/mcumgr/transport/include/mgmt/mcumgr/transport/
Dsmp_internal.h23 uint8_t nh_version:2; member
27 uint8_t nh_version:2;
/Zephyr-latest/subsys/mgmt/mcumgr/smp/src/
Dsmp.c89 .nh_version = (req_hdr->nh_version > SMP_MCUMGR_VERSION_2 ? SMP_MCUMGR_VERSION_2 : in smp_make_rsp_hdr()
90 req_hdr->nh_version), in smp_make_rsp_hdr()
286 if (req_hdr->nh_version == SMP_MCUMGR_VERSION_1) { in smp_handle_single_req()
293 if (req_hdr->nh_version > SMP_MCUMGR_VERSION_2) { in smp_handle_single_req()
306 if (nbw->error_ret != 0 && req_hdr->nh_version == 0) { in smp_handle_single_req()
/Zephyr-latest/tests/subsys/mgmt/mcumgr/settings_mgmt/src/
Dmain.c151 zassert_equal(header->nh_version, 1, "SMP header version mismatch"); in ZTEST()
205 zassert_equal(header->nh_version, 1, "SMP header version mismatch"); in ZTEST()
281 zassert_equal(header->nh_version, 1, "SMP header version mismatch"); in ZTEST()
335 zassert_equal(header->nh_version, 1, "SMP header version mismatch"); in ZTEST()
423 zassert_equal(header->nh_version, 1, "SMP header version mismatch"); in ZTEST()
487 zassert_equal(smp_header->nh_version, 1, "SMP header version mismatch"); in ZTEST()
590 zassert_equal(smp_header->nh_version, 1, "SMP header version mismatch"); in ZTEST()
682 zassert_equal(header->nh_version, 1, "SMP header version mismatch"); in ZTEST()
745 zassert_equal(smp_header->nh_version, 1, "SMP header version mismatch"); in ZTEST()
813 zassert_equal(header->nh_version, 1, "SMP header version mismatch"); in ZTEST()
[all …]
Dsmp_test_util.c23 .nh_version = 1, in smp_make_hdr()
/Zephyr-latest/tests/subsys/mgmt/mcumgr/img_mgmt_slot_info/src/
Dsmp_test_util.c23 .nh_version = 1, in smp_make_hdr()
Dmain.c249 zassert_equal(header->nh_version, 1, "SMP header version mismatch"); in ZTEST()
377 zassert_equal(header->nh_version, 1, "SMP header version mismatch"); in ZTEST()
450 zassert_equal(header->nh_version, 1, "SMP header version mismatch"); in ZTEST()
/Zephyr-latest/tests/subsys/mgmt/mcumgr/smp_version/src/
Dsmp_test_util.c23 .nh_version = version, in smp_make_hdr()
Dmain.c155 zassert_equal(smp_header->nh_version, LEGACY_VERSION, in ZTEST()
242 zassert_equal(smp_header->nh_version, CURRENT_VERSION, in ZTEST()
328 zassert_equal(smp_header->nh_version, CURRENT_VERSION, in ZTEST()
/Zephyr-latest/tests/subsys/mgmt/mcumgr/enum_mgmt/src/
Dmain.c158 zassert_equal(header->nh_version, 1, "SMP header version mismatch"); in ZTEST()
259 zassert_equal(header->nh_version, 1, "SMP header version mismatch"); in ZTEST()
366 zassert_equal(header->nh_version, 1, "SMP header version mismatch"); in ZTEST()
571 zassert_equal(header->nh_version, 1, "SMP header version mismatch"); in ZTEST()
655 zassert_equal(header->nh_version, 1, "SMP header version mismatch"); in ZTEST()
743 zassert_equal(header->nh_version, 1, "SMP header version mismatch"); in ZTEST()
Dsmp_test_util.c23 .nh_version = 1, in smp_make_hdr()
/Zephyr-latest/tests/subsys/mgmt/mcumgr/os_mgmt_datetime/src/
Dsmp_test_util.c22 .nh_version = (version2 == true ? SMP_MCUMGR_VERSION_2 : SMP_MCUMGR_VERSION_1), in smp_make_hdr()
/Zephyr-latest/subsys/mgmt/mcumgr/smp_client/src/
Dclient.c71 header->nh_version = version; in smp_header_init()