| /Zephyr-latest/samples/subsys/ipc/rpmsg_service/ |
| D | README.rst | 59 Master core received a message: 1 60 Master core received a message: 3 61 Master core received a message: 5 63 Master core received a message: 99 73 Remote core received a message: 0 74 Remote core received a message: 2 75 Remote core received a message: 4 77 Remote core received a message: 98 111 Master core received a message: 1 112 Master core received a message: 3 [all …]
|
| /Zephyr-latest/samples/net/sockets/echo_client/src/ |
| D | tcp.c | 58 data->tcp.received = 0U; in send_tcp_data() 75 static int compare_tcp_data(struct sample_data *data, const char *buf, uint32_t received) in compare_tcp_data() argument 77 if (data->tcp.received + received > data->tcp.expecting) { in compare_tcp_data() 82 if (memcmp(buf, lorem_ipsum + data->tcp.received, received) != 0) { in compare_tcp_data() 185 int ret, received; in process_tcp_proto() local 189 received = recv(data->tcp.sock, buf, sizeof(buf), MSG_DONTWAIT); in process_tcp_proto() 192 if (received == 0) { in process_tcp_proto() 195 } else if (received < 0) { in process_tcp_proto() 204 ret = compare_tcp_data(data, buf, received); in process_tcp_proto() 210 data->tcp.received += received; in process_tcp_proto() [all …]
|
| D | udp.c | 159 static int compare_udp_data(struct sample_data *data, const char *buf, uint32_t received) in compare_udp_data() argument 161 if (received != data->udp.expecting) { in compare_udp_data() 166 if (memcmp(buf, lorem_ipsum, received) != 0) { in compare_udp_data() 256 int ret, received; in process_udp_proto() local 258 received = recv(data->udp.sock, recv_buf, sizeof(recv_buf), in process_udp_proto() 261 if (received == 0) { in process_udp_proto() 264 if (received < 0) { in process_udp_proto() 273 ret = compare_udp_data(data, recv_buf, received); in process_udp_proto() 276 "mismatch", data->proto, received); in process_udp_proto() 283 data->proto, received); in process_udp_proto()
|
| /Zephyr-latest/samples/drivers/uart/native_tty/ |
| D | README.rst | 56 Device uart2 received: "Hello from device uart, num 9" 58 Device uart2 received: "Hello from device uart, num 8" 60 Device uart2 received: "Hello from device uart, num 7" 62 Device uart2 received: "Hello from device uart, num 6" 64 Device uart2 received: "Hello from device uart, num 5" 66 Device uart2 received: "Hello from device uart, num 4" 68 Device uart2 received: "Hello from device uart, num 3" 70 Device uart2 received: "Hello from device uart, num 2" 72 Device uart2 received: "Hello from device uart, num 1" 74 Device uart2 received: "Hello from device uart, num 0" [all …]
|
| /Zephyr-latest/tests/subsys/mgmt/mcumgr/os_mgmt_info/src/ |
| D | main.c | 241 bool received = smp_dummy_wait_for_data(SMP_RESPONSE_WAIT_TIME); in ZTEST() local 243 zassert_true(received, "Expected to receive data but timed out\n"); in ZTEST() 279 received = smp_dummy_wait_for_data(SMP_RESPONSE_WAIT_TIME); in ZTEST() 281 zassert_true(received, "Expected to receive data but timed out\n"); in ZTEST() 303 bool received; in ZTEST() local 331 received = smp_dummy_wait_for_data(SMP_RESPONSE_WAIT_TIME); in ZTEST() 333 zassert_true(received, "Expected to receive data but timed out\n"); in ZTEST() 364 bool received; in ZTEST() local 392 received = smp_dummy_wait_for_data(SMP_RESPONSE_WAIT_TIME); in ZTEST() 394 zassert_true(received, "Expected to receive data but timed out\n"); in ZTEST() [all …]
|
| D | limited.c | 46 bool received; in ZTEST() local 74 received = smp_dummy_wait_for_data(SMP_RESPONSE_WAIT_TIME); in ZTEST() 76 zassert_true(received, "Expected to receive data but timed out\n"); in ZTEST() 107 bool received; in ZTEST() local 140 received = smp_dummy_wait_for_data(SMP_RESPONSE_WAIT_TIME); in ZTEST() 142 zassert_true(received, "Expected to receive data but timed out\n"); in ZTEST()
|
| /Zephyr-latest/tests/subsys/mgmt/mcumgr/cb_notifications/src/ |
| D | main.c | 105 bool received; in ZTEST() local 127 received = smp_dummy_wait_for_data(SMP_RESPONSE_WAIT_TIME); in ZTEST() 129 zassert_true(received, "Expected to receive data but timed out\n"); in ZTEST() 151 bool received; in ZTEST() local 173 received = smp_dummy_wait_for_data(SMP_RESPONSE_WAIT_TIME); in ZTEST() 175 zassert_true(received, "Expected to receive data but timed out\n"); in ZTEST() 197 bool received; in ZTEST() local 219 received = smp_dummy_wait_for_data(SMP_RESPONSE_WAIT_TIME); in ZTEST() 221 zassert_true(received, "Expected to receive data but timed out\n"); in ZTEST()
|
| /Zephyr-latest/samples/subsys/ipc/ipc_service/icmsg/remote/src/ |
| D | main.c | 26 static size_t received; variable 30 received = 0; in ep_bound() 54 received += len; in ep_recv() 122 .received = ep_recv, 161 LOG_INF("Received %zu [Bytes] in total", received); in main()
|
| /Zephyr-latest/subsys/mgmt/mcumgr/transport/ |
| D | Kconfig.lorawan | 18 Enables handling of SMP commands received over LoRaWAN. 27 LoRaWAN download and uplink frame port used for communication. All messages received on 43 single message to be received, otherwise will support messages up to a single packet in 47 bool "Send empty packet if partial packet received" 51 Will send an empty packet if a partial (fragmented) message has been received from the 52 server, this will allow the next packet to be received without waiting for next 64 frame is received. 71 is received. 78 empty additional packets when a partial frame is received.
|
| /Zephyr-latest/tests/subsys/mgmt/mcumgr/os_mgmt_datetime/src/ |
| D | main.c | 154 bool received; in ZTEST() local 185 received = smp_dummy_wait_for_data(SMP_RESPONSE_WAIT_TIME); in ZTEST() 186 zassert_true(received, "Expected to receive data but timed out"); in ZTEST() 216 bool received; in ZTEST() local 247 received = smp_dummy_wait_for_data(SMP_RESPONSE_WAIT_TIME); in ZTEST() 248 zassert_true(received, "Expected to receive data but timed out"); in ZTEST() 280 bool received; in ZTEST() local 312 received = smp_dummy_wait_for_data(SMP_RESPONSE_WAIT_TIME); in ZTEST() 313 zassert_true(received, "Expected to receive data but timed out"); in ZTEST() 359 received = smp_dummy_wait_for_data(SMP_RESPONSE_WAIT_TIME); in ZTEST() [all …]
|
| /Zephyr-latest/samples/subsys/ipc/openamp/ |
| D | README.rst | 86 Master core received a message: 1 87 Master core received a message: 3 88 Master core received a message: 5 90 Master core received a message: 99 100 Remote core received a message: 0 101 Remote core received a message: 2 102 Remote core received a message: 4 104 Remote core received a message: 98
|
| /Zephyr-latest/samples/drivers/ipm/ipm_esp32/ |
| D | README.rst | 44 PRO_CPU received a message from APP_CPU : APP_CPU uptime ticks 502 46 PRO_CPU received a message from APP_CPU : APP_CPU uptime ticks 10502 48 PRO_CPU received a message from APP_CPU : APP_CPU uptime ticks 20503 50 PRO_CPU received a message from APP_CPU : APP_CPU uptime ticks 30504 52 PRO_CPU received a message from APP_CPU : APP_CPU uptime ticks 40505 54 PRO_CPU received a message from APP_CPU : APP_CPU uptime ticks 50506 56 PRO_CPU received a message from APP_CPU : APP_CPU uptime ticks 60507 58 PRO_CPU received a message from APP_CPU : APP_CPU uptime ticks 70508
|
| /Zephyr-latest/samples/drivers/can/counter/ |
| D | README.rst | 12 Messages are received using message-queues and work-queues. 14 received counter values to the console. 59 uart:~$ Counter received: 0 60 Counter received: 1 61 Counter received: 2 62 Counter received: 3
|
| /Zephyr-latest/tests/subsys/mgmt/mcumgr/settings_mgmt/src/ |
| D | main.c | 106 bool received; in ZTEST() local 133 received = smp_dummy_wait_for_data(SMP_RESPONSE_WAIT_TIME); in ZTEST() 134 zassert_true(received, "Expected to receive data but timed out"); in ZTEST() 187 received = smp_dummy_wait_for_data(SMP_RESPONSE_WAIT_TIME); in ZTEST() 188 zassert_true(received, "Expected to receive data but timed out"); in ZTEST() 236 bool received; in ZTEST() local 263 received = smp_dummy_wait_for_data(SMP_RESPONSE_WAIT_TIME); in ZTEST() 264 zassert_true(received, "Expected to receive data but timed out"); in ZTEST() 317 received = smp_dummy_wait_for_data(SMP_RESPONSE_WAIT_TIME); in ZTEST() 318 zassert_true(received, "Expected to receive data but timed out"); in ZTEST() [all …]
|
| /Zephyr-latest/tests/subsys/zbus/user_data/src/ |
| D | main.c | 93 struct foo_msg received; in ZTEST() local 95 zbus_chan_read(®ular_chan, &received, K_MSEC(100)); in ZTEST() 97 zassert_equal(sent.a, received.a, NULL); in ZTEST() 99 zassert_equal(sent.b, received.b, NULL); in ZTEST()
|
| /Zephyr-latest/samples/subsys/ipc/ipc_service/icmsg/src/ |
| D | main.c | 30 static size_t received; variable 34 received = 0; in ep_bound() 63 received += len; in ep_recv() 137 .received = ep_recv, 189 LOG_INF("Received %zu [Bytes] in total", received); in main()
|
| /Zephyr-latest/samples/bluetooth/peripheral_nus/src/ |
| D | main.c | 30 static void received(struct bt_conn *conn, const void *data, uint16_t len, void *ctx) in received() function 40 .received = received,
|
| /Zephyr-latest/samples/net/sockets/http_server/src/ |
| D | ws.c | 118 int received; in ws_echo_handler() local 148 received = recv(client, in ws_echo_handler() 153 if (received == 0) { in ws_echo_handler() 157 } else if (received < 0) { in ws_echo_handler() 163 cfg->bytes_received += received; in ws_echo_handler() 164 offset += received; in ws_echo_handler() 229 bytes_recv = data.bytes.received; in netstats_collect() 240 tcp_recv = data.tcp.bytes.received; in netstats_collect()
|
| /Zephyr-latest/tests/subsys/modbus/src/ |
| D | test_modbus_raw.c | 13 K_SEM_DEFINE(received, 0, 1); 33 k_sem_give(&received); in server_raw_cb() 66 if (k_sem_take(&received, K_MSEC(1000)) != 0) { in client_raw_cb()
|
| /Zephyr-latest/samples/bluetooth/direction_finding_central/ |
| D | Kconfig | 9 bool "Print IQ samples for received IQ reports" 11 The option enables printing of IQ samples for received IQ report.
|
| /Zephyr-latest/tests/subsys/mgmt/mcumgr/os_mgmt_echo/src/ |
| D | main.c | 50 bool received = smp_dummy_wait_for_data(SMP_RESPONSE_WAIT_TIME); in ZTEST() local 52 zassert_true(received, "Expected to receive data but timed out\n"); in ZTEST()
|
| /Zephyr-latest/samples/bluetooth/direction_finding_connectionless_rx/ |
| D | Kconfig | 9 bool "Print IQ samples for received IQ reports" 11 The option enables printing of IQ samples for received IQ report.
|
| /Zephyr-latest/tests/subsys/mgmt/mcumgr/smp_version/src/ |
| D | main.c | 108 bool received; in ZTEST() local 142 received = smp_dummy_wait_for_data(SMP_RESPONSE_WAIT_TIME); in ZTEST() 143 zassert_true(received, "Expected to receive data but timed out"); in ZTEST() 195 bool received; in ZTEST() local 229 received = smp_dummy_wait_for_data(SMP_RESPONSE_WAIT_TIME); in ZTEST() 230 zassert_true(received, "Expected to receive data but timed out"); in ZTEST() 281 bool received; in ZTEST() local 315 received = smp_dummy_wait_for_data(SMP_RESPONSE_WAIT_TIME); in ZTEST() 316 zassert_true(received, "Expected to receive data but timed out"); in ZTEST()
|
| /Zephyr-latest/samples/net/sockets/echo_server/src/ |
| D | udp.c | 110 int received; in process_udp() local 119 received = recvfrom(data->udp.sock, data->udp.recv_buffer, in process_udp() 123 if (received < 0) { in process_udp() 129 } else if (received) { in process_udp() 130 atomic_add(&data->udp.bytes_received, received); in process_udp() 133 ret = sendto(data->udp.sock, data->udp.recv_buffer, received, 0, in process_udp() 148 data->proto, received); in process_udp()
|
| /Zephyr-latest/tests/subsys/mgmt/mcumgr/enum_mgmt/src/ |
| D | main.c | 113 bool received; in ZTEST() local 142 received = smp_dummy_wait_for_data(SMP_RESPONSE_WAIT_TIME); in ZTEST() 143 zassert_true(received, "Expected to receive data but timed out"); in ZTEST() 212 bool received; in ZTEST() local 243 received = smp_dummy_wait_for_data(SMP_RESPONSE_WAIT_TIME); in ZTEST() 244 zassert_true(received, "Expected to receive data but timed out"); in ZTEST() 315 bool received; in ZTEST() local 349 received = smp_dummy_wait_for_data(SMP_RESPONSE_WAIT_TIME); in ZTEST() 350 zassert_true(received, "Expected to receive data but timed out"); in ZTEST() 509 bool received; in ZTEST() local [all …]
|