/Zephyr-Core-3.7.0/tests/net/socket/websocket/src/ |
D | main.c | 26 static uint8_t recv_buf[MAX(sizeof(lorem_ipsum), MAX_RECV_BUF_LEN)]; variable 113 ctx.recv_buf.buf = temp_recv_buf; in test_recv() 114 ctx.recv_buf.size = sizeof(temp_recv_buf); in test_recv() 115 ctx.recv_buf.count = 0; in test_recv() 126 recv_buf + total_read, in test_recv() 127 sizeof(recv_buf) - total_read); in test_recv() 143 recv_buf + total_read, in test_recv() 144 sizeof(recv_buf) - total_read); in test_recv() 145 zassert_true(ret <= (sizeof(recv_buf) - total_read), in test_recv() 159 recv_buf + total_read, in test_recv() [all …]
|
/Zephyr-Core-3.7.0/drivers/sensor/aosong/ags10/ |
D | ags10.c | 29 uint8_t recv_buf[AGS10_MAX_PAYLOAD_SIZE] = {0}; in ags10_read() local 30 int ret = i2c_write_read_dt(&conf->bus, &cmd, sizeof(cmd), &recv_buf, rx_bytes); in ags10_read() 36 memcpy(data, recv_buf, rx_bytes); in ags10_read() 49 uint8_t recv_buf[5] = {0}; in ags10_sample_fetch() local 51 ret = ags10_read(dev, AGS10_CMD_DATA_ACQUISITION, recv_buf, 5); in ags10_sample_fetch() 55 if (crc8(&recv_buf[0], 4, 0x31, 0xFF, false) == recv_buf[4] && in ags10_sample_fetch() 56 ((recv_buf[0] & AGS10_MSK_STATUS) == AGS10_REG_STATUS_NRDY_READY)) { in ags10_sample_fetch() 57 data->status = recv_buf[0] & AGS10_MSK_STATUS; in ags10_sample_fetch() 58 data->tvoc_ppb = sys_get_be24(&recv_buf[1]); in ags10_sample_fetch() 102 uint8_t recv_buf[5] = {0}; in ags10_init() local [all …]
|
/Zephyr-Core-3.7.0/drivers/serial/ |
D | uart_pipe.c | 27 static uint8_t *recv_buf; variable 41 got = uart_fifo_read(uart_pipe_dev, recv_buf + recv_off, avail); in uart_pipe_rx() 46 LOG_HEXDUMP_DBG(recv_buf + recv_off, got, "RX"); in uart_pipe_rx() 53 recv_buf = app_cb(recv_buf, &recv_off); in uart_pipe_rx() 98 recv_buf = buf; in uart_pipe_register()
|
/Zephyr-Core-3.7.0/samples/drivers/uart/native_tty/src/ |
D | main.c | 55 char recv_buf[64]; in main() local 63 recv_str(uart2, recv_buf); in main() 86 recv_str(uart2, recv_buf); in main()
|
/Zephyr-Core-3.7.0/subsys/net/lib/websocket/ |
D | websocket.c | 277 ctx->recv_buf.buf = wreq->tmp_buf; in websocket_connect() 278 ctx->recv_buf.size = wreq->tmp_buf_len; in websocket_connect() 320 req.recv_buf = wreq->tmp_buf; in websocket_connect() 391 ctx->recv_buf.count = 0; in websocket_connect() 790 if (parsed_count >= ctx->recv_buf.count) { in websocket_parse() 794 data = ctx->recv_buf.buf[parsed_count++]; in websocket_parse() 868 size_t remaining_in_recv_buf = ctx->recv_buf.count - parsed_count; in websocket_parse() 878 memcpy(&payload->buf[payload->count], &ctx->recv_buf.buf[parsed_count], in websocket_parse() 978 if (ctx->recv_buf.count == 0) { in websocket_recv_msg() 980 size_t input_len = MIN(ctx->recv_buf.size, in websocket_recv_msg() [all …]
|
D | websocket_internal.h | 90 struct websocket_buffer recv_buf; member
|
/Zephyr-Core-3.7.0/doc/connectivity/networking/api/ |
D | http_client.rst | 32 static uint8_t recv_buf[512]; 39 req.recv_buf = recv_buf; 40 req.recv_buf_len = sizeof(recv_buf);
|
/Zephyr-Core-3.7.0/include/zephyr/net/http/ |
D | client.h | 152 uint8_t *recv_buf; member 251 uint8_t *recv_buf; member
|
/Zephyr-Core-3.7.0/samples/net/sockets/http_client/src/ |
D | main.c | 200 req.recv_buf = recv_buf_ipv4; in run_queries() 218 req.recv_buf = recv_buf_ipv6; in run_queries() 258 req.recv_buf = recv_buf_ipv4; in run_queries() 278 req.recv_buf = recv_buf_ipv6; in run_queries() 324 req.recv_buf = recv_buf_ipv4; in run_queries() 348 req.recv_buf = recv_buf_ipv6; in run_queries()
|
/Zephyr-Core-3.7.0/tests/bluetooth/tester/src/ |
D | btp.c | 185 static uint8_t *recv_buf; variable 195 recv_buf[recv_off++] = c; in timer_expiry_cb() 196 recv_buf = recv_cb(recv_buf, &recv_off); in timer_expiry_cb() 207 recv_buf = data; in uart_init()
|
/Zephyr-Core-3.7.0/samples/net/sockets/echo_client/src/ |
D | udp.c | 28 static APP_BMEM char recv_buf[RECV_BUF_SIZE]; variable 258 received = recv(data->udp.sock, recv_buf, sizeof(recv_buf), in process_udp_proto() 273 ret = compare_udp_data(data, recv_buf, received); in process_udp_proto()
|
/Zephyr-Core-3.7.0/include/zephyr/net/ |
D | websocket.h | 205 int websocket_register(int http_sock, uint8_t *recv_buf, size_t recv_buf_len);
|
D | coap_client.h | 114 uint8_t recv_buf[MAX_COAP_MSG_LEN]; member
|
/Zephyr-Core-3.7.0/drivers/modem/ |
D | quectel-bg9x.h | 124 char *recv_buf; member
|
D | simcom-sim7080.h | 174 char *recv_buf; member
|
/Zephyr-Core-3.7.0/subsys/net/lib/http/ |
D | http_client.c | 302 (req->internal.response.body_frag_start - req->internal.response.recv_buf); in on_body() 494 received = zsock_recv(sock, req->internal.response.recv_buf + offset, in http_wait_data() 507 req->internal.response.recv_buf + offset, received); in http_wait_data() 569 req->recv_buf == NULL || req->recv_buf_len == 0) { in http_client_req() 577 req->internal.response.recv_buf = req->recv_buf; in http_client_req()
|
/Zephyr-Core-3.7.0/drivers/sensor/vishay/veml7700/ |
D | veml7700.c | 232 uint8_t recv_buf[2]; in veml7700_read() local 233 int ret = i2c_write_read_dt(&conf->bus, &cmd, sizeof(cmd), &recv_buf, ARRAY_SIZE(recv_buf)); in veml7700_read() 238 *data = sys_get_le16(recv_buf); in veml7700_read()
|
/Zephyr-Core-3.7.0/subsys/net/lib/coap/ |
D | coap_client.c | 556 memset(client->recv_buf, 0, sizeof(client->recv_buf)); in recv_response() 557 total_len = receive(client->fd, client->recv_buf, sizeof(client->recv_buf), in recv_response() 569 available_len = MIN(total_len, sizeof(client->recv_buf)); in recv_response() 574 ret = coap_packet_parse(response, client->recv_buf, available_len, NULL, 0); in recv_response()
|
/Zephyr-Core-3.7.0/subsys/canbus/isotp/ |
D | isotp.c | 723 if (!rctx->recv_buf) { in isotp_recv() 724 rctx->recv_buf = net_buf_get(&rctx->fifo, timeout); in isotp_recv() 725 if (!rctx->recv_buf) { in isotp_recv() 735 while (rctx->recv_buf && copied < len) { in isotp_recv() 736 to_copy = MIN(len - copied, rctx->recv_buf->len); in isotp_recv() 737 memcpy((uint8_t *)data + copied, rctx->recv_buf->data, to_copy); in isotp_recv() 739 if (rctx->recv_buf->len == to_copy) { in isotp_recv() 741 rctx->recv_buf = net_buf_frag_del(NULL, rctx->recv_buf); in isotp_recv() 744 net_buf_pull(rctx->recv_buf, to_copy); in isotp_recv()
|
/Zephyr-Core-3.7.0/tests/net/socket/misc/src/ |
D | main.c | 182 uint8_t recv_buf[sizeof(send_buf)] = { 0 }; in test_so_bindtodevice() local 246 ret = zsock_recv(sock_s, recv_buf, sizeof(recv_buf), ZSOCK_MSG_DONTWAIT); in test_so_bindtodevice() 248 zassert_mem_equal(recv_buf, DEV2_NAME, strlen(DEV2_NAME), in test_so_bindtodevice() 283 ret = zsock_recv(sock_s, recv_buf, sizeof(recv_buf), ZSOCK_MSG_DONTWAIT); in test_so_bindtodevice() 285 zassert_mem_equal(recv_buf, DEV1_NAME, strlen(DEV1_NAME), in test_so_bindtodevice()
|
/Zephyr-Core-3.7.0/samples/net/cloud/tagoio_http_post/src/ |
D | sockets.c | 117 req.recv_buf = ctx->resp; in tagoio_http_push()
|
/Zephyr-Core-3.7.0/tests/net/socket/getaddrinfo/src/ |
D | main.c | 30 static uint8_t recv_buf[MAX_BUF_SIZE]; variable 148 recv_buf, sizeof(recv_buf), 0, in process_dns() 159 ret = check_dns_query(recv_buf, in process_dns() 160 sizeof(recv_buf)); in process_dns()
|
/Zephyr-Core-3.7.0/include/zephyr/canbus/ |
D | isotp.h | 457 struct net_buf *recv_buf; member
|
/Zephyr-Core-3.7.0/samples/net/sockets/txtime/src/ |
D | main.c | 136 static uint8_t recv_buf[sizeof(txtime_str)]; in rx() local 142 len += recvfrom(data->sock, recv_buf, sizeof(recv_buf), 0, in rx()
|
/Zephyr-Core-3.7.0/subsys/net/lib/dhcpv4/ |
D | dhcpv4_server.c | 1466 uint8_t recv_buf[NET_IPV4_MTU]; in dhcpv4_server_cb() local 1491 ret = zsock_recvfrom(evt->event.fd, recv_buf, sizeof(recv_buf), in dhcpv4_server_cb() 1503 dhcpv4_process_data(ctx, recv_buf, ret); in dhcpv4_server_cb()
|