Searched refs:nh_version (Results 1 – 12 of 12) sorted by relevance
/Zephyr-latest/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-latest/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() 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/ |
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-latest/tests/subsys/mgmt/mcumgr/img_mgmt_slot_info/src/ |
D | smp_test_util.c | 23 .nh_version = 1, in smp_make_hdr()
|
D | main.c | 249 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/ |
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-latest/tests/subsys/mgmt/mcumgr/enum_mgmt/src/ |
D | main.c | 158 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()
|
D | smp_test_util.c | 23 .nh_version = 1, in smp_make_hdr()
|
/Zephyr-latest/tests/subsys/mgmt/mcumgr/os_mgmt_datetime/src/ |
D | smp_test_util.c | 22 .nh_version = (version2 == true ? SMP_MCUMGR_VERSION_2 : SMP_MCUMGR_VERSION_1), in smp_make_hdr()
|
/Zephyr-latest/subsys/mgmt/mcumgr/smp_client/src/ |
D | client.c | 71 header->nh_version = version; in smp_header_init()
|