/Zephyr-latest/subsys/mgmt/mcumgr/transport/include/mgmt/mcumgr/transport/ |
D | smp_internal.h | 22 uint8_t nh_op:3; /* MGMT_OP_[...] */ member 28 uint8_t nh_op:3; /* MGMT_OP_[...] */
|
/Zephyr-latest/subsys/mgmt/mcumgr/smp/src/ |
D | smp.c | 85 .nh_op = smp_rsp_op(req_hdr->nh_op), in smp_make_rsp_hdr() 182 switch (req_hdr->nh_op) { in smp_handle_single_payload() 216 cmd_recv.op = req_hdr->nh_op; in smp_handle_single_payload() 419 if (req_hdr.nh_op == MGMT_OP_READ || req_hdr.nh_op == MGMT_OP_WRITE) { in smp_process_request_packet() 439 } else if (IS_ENABLED(CONFIG_SMP_CLIENT) && (req_hdr.nh_op == MGMT_OP_READ_RSP || in smp_process_request_packet() 440 req_hdr.nh_op == MGMT_OP_WRITE_RSP)) { in smp_process_request_packet()
|
/Zephyr-latest/subsys/mgmt/mcumgr/smp_client/src/ |
D | client.c | 72 header->nh_op = op; in smp_header_init() 196 if (smp_header.nh_op == MGMT_OP_READ) { in smp_client_response_discover() 204 } else if (res_hdr->nh_op != response) { in smp_client_response_discover() 236 res_hdr->nh_flags, res_hdr->nh_op, res_hdr->nh_group, res_hdr->nh_id, in smp_client_single_response() 313 smp_header.nh_op, sys_be16_to_cpu(smp_header.nh_group), smp_header.nh_id, in smp_client_send_cmd()
|
/Zephyr-latest/tests/subsys/mgmt/mcumgr/settings_mgmt/src/ |
D | main.c | 146 zassert_equal(header->nh_op, MGMT_OP_WRITE_RSP, "SMP header operation mismatch"); in ZTEST() 200 zassert_equal(header->nh_op, MGMT_OP_WRITE_RSP, "SMP header operation mismatch"); in ZTEST() 276 zassert_equal(header->nh_op, MGMT_OP_WRITE_RSP, "SMP header operation mismatch"); in ZTEST() 330 zassert_equal(header->nh_op, MGMT_OP_WRITE_RSP, "SMP header operation mismatch"); in ZTEST() 417 zassert_equal(header->nh_op, MGMT_OP_WRITE_RSP, "SMP header operation mismatch"); in ZTEST() 480 zassert_equal(smp_header->nh_op, MGMT_OP_READ_RSP, in ZTEST() 584 zassert_equal(smp_header->nh_op, MGMT_OP_READ_RSP, "SMP header operation mismatch"); in ZTEST() 676 zassert_equal(header->nh_op, MGMT_OP_WRITE_RSP, "SMP header operation mismatch"); in ZTEST() 739 zassert_equal(smp_header->nh_op, MGMT_OP_READ_RSP, "SMP header operation mismatch"); in ZTEST() 807 zassert_equal(header->nh_op, MGMT_OP_WRITE_RSP, "SMP header operation mismatch"); in ZTEST() [all …]
|
D | smp_test_util.c | 19 .nh_op = (write ? MGMT_OP_WRITE : MGMT_OP_READ), in smp_make_hdr()
|
/Zephyr-latest/tests/subsys/mgmt/mcumgr/cb_notifications/src/ |
D | smp_test_util.c | 18 .nh_op = 0, in smp_make_hdr()
|
/Zephyr-latest/tests/subsys/mgmt/mcumgr/img_mgmt_slot_info/src/ |
D | smp_test_util.c | 19 .nh_op = (write ? MGMT_OP_WRITE : MGMT_OP_READ), in smp_make_hdr()
|
D | main.c | 244 zassert_equal(header->nh_op, MGMT_OP_READ_RSP, "SMP header operation mismatch"); in ZTEST() 372 zassert_equal(header->nh_op, MGMT_OP_READ_RSP, "SMP header operation mismatch"); in ZTEST() 445 zassert_equal(header->nh_op, MGMT_OP_READ_RSP, "SMP header operation mismatch"); in ZTEST()
|
/Zephyr-latest/tests/subsys/mgmt/mcumgr/os_mgmt_info/src/ |
D | smp_test_util.c | 19 .nh_op = 0, in smp_make_hdr()
|
/Zephyr-latest/tests/subsys/mgmt/mcumgr/smp_version/src/ |
D | smp_test_util.c | 19 .nh_op = 0, in smp_make_hdr()
|
/Zephyr-latest/tests/subsys/mgmt/mcumgr/enum_mgmt/src/ |
D | main.c | 153 zassert_equal(header->nh_op, MGMT_OP_READ_RSP, "SMP header operation mismatch"); in ZTEST() 254 zassert_equal(header->nh_op, MGMT_OP_READ_RSP, "SMP header operation mismatch"); in ZTEST() 360 zassert_equal(header->nh_op, MGMT_OP_READ_RSP, "SMP header operation mismatch"); in ZTEST() 566 zassert_equal(header->nh_op, MGMT_OP_READ_RSP, "SMP header operation mismatch"); in ZTEST() 650 zassert_equal(header->nh_op, MGMT_OP_READ_RSP, "SMP header operation mismatch"); in ZTEST() 738 zassert_equal(header->nh_op, MGMT_OP_READ_RSP, "SMP header operation mismatch"); in ZTEST()
|
D | smp_test_util.c | 19 .nh_op = (write ? MGMT_OP_WRITE : MGMT_OP_READ), in smp_make_hdr()
|
/Zephyr-latest/tests/subsys/mgmt/mcumgr/mcumgr_client/src/ |
D | smp_stub.c | 81 res_hdr.nh_op += 1; /* Request to response */ in smp_uart_tx_pkt()
|
/Zephyr-latest/tests/subsys/mgmt/mcumgr/os_mgmt_datetime/src/ |
D | smp_test_util.c | 23 .nh_op = (write == true ? MGMT_OP_WRITE : MGMT_OP_READ), in smp_make_hdr()
|
/Zephyr-latest/tests/subsys/mgmt/mcumgr/smp_client/src/ |
D | main.c | 98 dst_hdr.nh_op = MGMT_OP_WRITE_RSP; in ZTEST()
|
/Zephyr-latest/tests/subsys/mgmt/mcumgr/fs_mgmt_hash_supported/src/ |
D | main.c | 81 zassert_equal(response_hdr->nh_op, MGMT_OP_READ_RSP, in ZTEST()
|