|
|
5 年之前 | |
|---|---|---|
| .. | ||
| main | 5 年之前 | |
| CMakeLists.txt | 6 年之前 | |
| Makefile | 5 年之前 | |
| README.md | 5 年之前 | |
| http_server_simple_test.py | 5 年之前 | |
The Example consists of HTTPD server demo with demostration of URI handling :
1. URI \hello for GET command returns "Hello World!" message
2. URI \echo for POST command echoes back the POSTed message
Open the project configuration menu (idf.py menuconfig) to configure Wi-Fi or Ethernet. See "Establishing Wi-Fi or Ethernet Connection" section in examples/protocols/README.md for more details.
In order to test the HTTPD server persistent sockets demo :
idf.py -p PORT flashidf.py -p PORT monitor and note down the IP assigned to your ESP module. The default port is 80See the README.md file in the upper level 'examples' directory for more information about examples.