Searched refs:nh_version (Results 1 – 7 of 7) sorted by relevance
/Zephyr-Core-3.5.0/subsys/mgmt/mcumgr/transport/include/mgmt/mcumgr/transport/ |
D | smp_internal.h | 23 uint8_t nh_version:2; member 27 uint8_t nh_version:2;
|
/Zephyr-Core-3.5.0/subsys/mgmt/mcumgr/smp/src/ |
D | smp.c | 89 .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() 270 if (req_hdr->nh_version == SMP_MCUMGR_VERSION_1) { in smp_handle_single_req() 277 if (req_hdr->nh_version > SMP_MCUMGR_VERSION_2) { in smp_handle_single_req() 290 if (nbw->error_ret != 0 && req_hdr->nh_version == 0) { in smp_handle_single_req()
|
/Zephyr-Core-3.5.0/tests/subsys/mgmt/mcumgr/settings_mgmt/src/ |
D | main.c | 151 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 …]
|
D | smp_test_util.c | 23 .nh_version = 1, in smp_make_hdr()
|
/Zephyr-Core-3.5.0/tests/subsys/mgmt/mcumgr/smp_version/src/ |
D | smp_test_util.c | 23 .nh_version = version, in smp_make_hdr()
|
D | main.c | 155 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-Core-3.5.0/subsys/mgmt/mcumgr/smp_client/src/ |
D | client.c | 71 header->nh_version = version; in smp_header_init()
|