Fu Hanxi a73b0c3eb6 ci: Modify some dut-unrelated example tests env tag from Example_WIFI to Example_GENERIC 5 жил өмнө
..
main 31b2702387 esp_netif, examples: esp_netif_init() moved into ESP_ERROR_CHECK() 6 жил өмнө
CMakeLists.txt d9939cedd9 cmake: make main a component again 7 жил өмнө
Makefile 9784df1c3a asio: examples renamed to have consistent binary names when build in make and CMake 7 жил өмнө
README.md 18e83bcd53 Allow VFS file descriptors in select() 7 жил өмнө
example_test.py a73b0c3eb6 ci: Modify some dut-unrelated example tests env tag from Example_WIFI to Example_GENERIC 5 жил өмнө

README.md

Synchronous I/O multiplexing example

The example demonstrates the use of synchronous I/O multiplexing by the select() function with UART and socket file descriptors. The example starts three tasks:

  1. The first task writes periodically to the UART1 file descriptor.
  2. The second task writes periodically to the socket descriptor.
  3. Both UART1 and the socket are configured to act as loopbacks. The third task detects by the use of select() whether it is possible to read from UART1 or the socket, and receives the sent messages from the other tasks.

See the README.md file in the upper level 'examples' directory for more information about examples.