/Zephyr-latest/samples/drivers/uart/native_tty/src/ |
D | main.c | 54 char send_buf[64]; in main() local 59 snprintf(send_buf, 64, "Hello from device %s, num %d", uart0->name, i); in main() 60 send_str(uart0, send_buf); in main() 82 snprintf(send_buf, 64, "Hello from device %s, num %d", uart0->name, i); in main() 83 send_str(uart0, send_buf); in main()
|
/Zephyr-latest/subsys/net/lib/http/ |
D | http_client.c | 66 static int http_send_data(int sock, char *send_buf, in http_send_data() argument 91 strncpy(send_buf + end_of_send, in http_send_data() 99 LOG_HEXDUMP_DBG(send_buf, end_of_send, in http_send_data() 102 ret = sendall(sock, send_buf, end_of_send, req_end_timepoint); in http_send_data() 112 memcpy(send_buf + end_of_send, in http_send_data() 141 static int http_flush_data(int sock, const char *send_buf, size_t send_buf_len, in http_flush_data() argument 146 LOG_HEXDUMP_DBG(send_buf, send_buf_len, "Data to send"); in http_flush_data() 148 ret = sendall(sock, send_buf, send_buf_len, req_end_timepoint); in http_flush_data() 559 char send_buf[MAX_SEND_BUF_LEN]; in http_client_req() local 560 const size_t send_buf_max_len = sizeof(send_buf); in http_client_req() [all …]
|
/Zephyr-latest/tests/kernel/msgq/msgq_api/src/ |
D | test_msgq_attrs.c | 10 static ZTEST_DMEM uint32_t send_buf[MSGQ_LEN] = { MSG0, MSG1 }; variable 23 ret = k_msgq_put(q, (void *)&send_buf[i], K_NO_WAIT); in attrs_get()
|
/Zephyr-latest/tests/net/socket/misc/src/ |
D | main.c | 181 uint8_t send_buf[32]; in test_so_bindtodevice() local 182 uint8_t recv_buf[sizeof(send_buf)] = { 0 }; in test_so_bindtodevice() 199 strcpy(send_buf, DEV1_NAME); in test_so_bindtodevice() 205 ret = zsock_sendto(sock_c, send_buf, strlen(send_buf) + 1, 0, in test_so_bindtodevice() 207 zassert_equal(ret, strlen(send_buf) + 1, "sendto failed, %d", errno); in test_so_bindtodevice() 224 strcpy(send_buf, DEV2_NAME); in test_so_bindtodevice() 230 ret = zsock_sendto(sock_c, send_buf, strlen(send_buf) + 1, 0, in test_so_bindtodevice() 232 zassert_equal(ret, strlen(send_buf) + 1, "sendto failed, %d", errno); in test_so_bindtodevice() 262 strcpy(send_buf, DEV1_NAME); in test_so_bindtodevice() 268 ret = zsock_sendto(sock_c, send_buf, strlen(send_buf) + 1, 0, in test_so_bindtodevice() [all …]
|
/Zephyr-latest/drivers/sensor/vishay/veml7700/ |
D | veml7700.c | 220 uint8_t send_buf[3]; in veml7700_write() local 222 send_buf[0] = cmd; /* byte 0: command code */ in veml7700_write() 223 sys_put_le16(data, &send_buf[1]); /* bytes 1,2: command arguments */ in veml7700_write() 225 return i2c_write_dt(&conf->bus, send_buf, ARRAY_SIZE(send_buf)); in veml7700_write()
|
/Zephyr-latest/drivers/led_strip/ |
D | ws2812_gpio.c | 76 static int send_buf(const struct device *dev, uint8_t *buf, size_t len) in send_buf() function 165 return send_buf(dev, (uint8_t *)pixels, num_pixels * config->num_colors); in ws2812_gpio_update_rgb()
|
/Zephyr-latest/include/zephyr/net/ |
D | coap_client.h | 112 uint8_t send_buf[MAX_COAP_MSG_LEN]; member
|
/Zephyr-latest/drivers/modem/ |
D | ublox-sara-r4.c | 294 char send_buf[sizeof("AT+USO**=###," in send_socket_data() local 358 snprintk(send_buf, sizeof(send_buf), in send_socket_data() 363 snprintk(send_buf, sizeof(send_buf), "AT+USOWR=%d,%zu", in send_socket_data() 373 NULL, 0U, send_buf, NULL, K_NO_WAIT); in send_socket_data() 457 char send_buf[sizeof("AT+USECMNG=#,#,!####!,####\r\n")]; in send_cert() local 470 snprintk(send_buf, sizeof(send_buf), in send_cert() 476 NULL, 0U, send_buf, NULL, K_NO_WAIT); in send_cert()
|
D | quectel-bg9x.c | 448 char send_buf[sizeof("AT+QISEND=##,####")] = {0}; in send_socket_data() local 457 snprintk(send_buf, sizeof(send_buf), "AT+QISEND=%d,%ld", sock->id, (long) buf_len); in send_socket_data() 465 NULL, 0U, send_buf, NULL, K_NO_WAIT); in send_socket_data()
|
D | simcom-sim7080.c | 222 char send_buf[sizeof("AT+CASEND=#,####")] = { 0 }; in offload_sendto() local 248 ret = snprintk(send_buf, sizeof(send_buf), "AT+CASEND=%d,%ld", sock->id, (long)len); in offload_sendto() 261 ret = modem_cmd_send_nolock(&mctx.iface, &mctx.cmd_handler, NULL, 0U, send_buf, NULL, in offload_sendto()
|
/Zephyr-latest/drivers/net/ |
D | ppp.c | 91 uint8_t send_buf[UART_TX_BUF_LEN]; member 94 uint8_t send_buf[UART_BUF_LEN]; member 399 uint8_t *buf = ppp->send_buf; in ppp_send_flush() 451 ppp->send_buf[off++] = data[i]; in ppp_send_bytes() 453 if (off >= sizeof(ppp->send_buf)) { in ppp_send_bytes()
|
/Zephyr-latest/subsys/net/lib/coap/ |
D | coap_client.c | 206 memset(client->send_buf, 0, sizeof(client->send_buf)); in coap_client_init_request() 216 ret = coap_packet_init(&internal_req->request, client->send_buf, MAX_COAP_MSG_LEN, in coap_client_init_request() 687 ret = coap_ack_init(&ack, req, client->send_buf, MAX_COAP_MSG_LEN, response_code); in send_ack() 707 ret = coap_rst_init(&rst, req, client->send_buf, MAX_COAP_MSG_LEN); in send_rst()
|
/Zephyr-latest/drivers/adc/ |
D | adc_ads131m02.c | 134 uint8_t *send_buf, size_t send_buf_len, in ads131m02_transceive() argument 141 .buf = send_buf, in ads131m02_transceive()
|
/Zephyr-latest/drivers/smbus/ |
D | intel_pch_smbus.c | 842 uint8_t send_count, uint8_t *send_buf, in pch_smbus_block_pcall() argument 854 send_count, send_buf, SMBUS_CMD_BLOCK_PROC); in pch_smbus_block_pcall()
|
/Zephyr-latest/include/zephyr/drivers/ |
D | smbus.h | 374 uint8_t send_count, uint8_t *send_buf,
|
/Zephyr-latest/subsys/bluetooth/host/ |
D | conn.c | 648 static int send_buf(struct bt_conn *conn, struct net_buf *buf, in send_buf() function 1086 int err = send_buf(conn, buf, buf_len, cb, ud); in bt_conn_tx_processor()
|