Home
last modified time | relevance | path

Searched refs:recvbuf (Results 1 – 7 of 7) sorted by relevance

/hal_espressif-3.6.0/examples/peripherals/spi_slave/receiver/main/
Dapp_main.c140 WORD_ALIGNED_ATTR char recvbuf[129]=""; in app_main() local
141 memset(recvbuf, 0, 33); in app_main()
147 memset(recvbuf, 0xA5, 129); in app_main()
153 t.rx_buffer=recvbuf; in app_main()
164 printf("Received: %s\n", recvbuf); in app_main()
/hal_espressif-3.6.0/examples/peripherals/spi_slave/sender/main/
Dapp_main.c146 char recvbuf[128] = {0}; in app_main() local
171 "Sender, transmission no. %04i. Last time, I received: \"%s\"", n, recvbuf); in app_main()
177 t.rx_buffer=recvbuf; in app_main()
181 printf("Received: %s\n", recvbuf); in app_main()
/hal_espressif-3.6.0/components/driver/test/
Dtest_common_spi.c77 uint8_t recvbuf[320+8]; in spitest_slave_task() local
89 t.rx_buffer = recvbuf+8; in spitest_slave_task()
94 memcpy(recvbuf, &t.trans_len, sizeof(uint32_t)); in spitest_slave_task()
95 *(uint8_t**)(recvbuf+4) = (uint8_t*)txdata.start; in spitest_slave_task()
97 xRingbufferSend( ringbuf, recvbuf, 8+(t.trans_len+7)/8, portMAX_DELAY ); in spitest_slave_task()
Dtest_spi_master.c139 char *recvbuf = heap_caps_malloc((num_bytes + 3) & (~3), MALLOC_CAP_DMA); in spi_test() local
142 recvbuf[x] = 0x55; in spi_test()
149 t.rx_buffer = recvbuf; in spi_test()
163 if (sendbuf[x] != recvbuf[x]) { in spi_test()
182 printf("%02X ", recvbuf[from + i]); in spi_test()
192 free(recvbuf); in spi_test()
Dtest_spi_param.c172 WORD_ALIGNED_ATTR uint8_t recvbuf[320+8]; in local_test_loop() local
176 .rx_buffer = recvbuf, in local_test_loop()
/hal_espressif-3.6.0/examples/protocols/sockets/udp_multicast/main/
Dudp_multicast_example_main.c364 char recvbuf[48]; in mcast_example_task() local
369 int len = recvfrom(sock, recvbuf, sizeof(recvbuf)-1, 0, in mcast_example_task()
391recvbuf[len] = 0; // Null-terminate whatever we received and treat like a string... in mcast_example_task()
392 ESP_LOGI(TAG, "%s", recvbuf); in mcast_example_task()
/hal_espressif-3.6.0/components/mdns/
Dmdns_networking_socket.c288 static char recvbuf[MDNS_MAX_PACKET_SIZE]; in sock_recv_task() local
294 int len = recvfrom(sock, recvbuf, sizeof(recvbuf), 0, in sock_recv_task()
301 ESP_LOG_BUFFER_HEXDUMP(TAG, recvbuf, len, ESP_LOG_VERBOSE); in sock_recv_task()
316 memcpy(buf, recvbuf, len); in sock_recv_task()