KonstantinKondrashov ec4de4fe5c example_tests: CI uses ECO0 for esp32c3 tests 5 years ago
..
main 66fb5a29bb Whitespace: Automated whitespace fixes (large commit) 5 years ago
CMakeLists.txt d9939cedd9 cmake: make main a component again 7 years ago
Makefile 66fb5a29bb Whitespace: Automated whitespace fixes (large commit) 5 years ago
README.md 18e83bcd53 Allow VFS file descriptors in select() 8 years ago
example_test.py c85d949c1f ci: run Example_GENERIC for C3 5 years ago
sdkconfig.ci ec4de4fe5c example_tests: CI uses ECO0 for esp32c3 tests 5 years ago

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.