mirror of
https://github.com/espressif/esp-protocols.git
synced 2025-07-17 20:42:21 +02:00
ci: partially enable example build for esp32c2
* Original commit: espressif/esp-idf@f7be540222
This commit is contained in:
committed by
gabsuren
parent
057a5d2db8
commit
2cf7518114
@ -1,3 +1,6 @@
|
|||||||
|
| Supported Targets | ESP32 | ESP32-S2 | ESP32-S3 | ESP32-C3 |
|
||||||
|
| ----------------- | ----- | -------- | -------- | -------- |
|
||||||
|
|
||||||
|
|
||||||
# Asio chat client and server examples
|
# Asio chat client and server examples
|
||||||
|
|
||||||
@ -48,7 +51,7 @@ Set following parameters under Example Configuration Options:
|
|||||||
- Connect to the server using multiple clients, for example using any option below.
|
- Connect to the server using multiple clients, for example using any option below.
|
||||||
- build and run asio chat client on your host machine
|
- build and run asio chat client on your host machine
|
||||||
- run chat_client asio example on ESP platform
|
- run chat_client asio example on ESP platform
|
||||||
- since chat messages consists of ASCII size and message, it is possible to
|
- since chat messages consists of ASCII size and message, it is possible to
|
||||||
netcat `nc IP PORT` and type for example ` 4ABC<CR>` to transmit 'ABC\n'
|
netcat `nc IP PORT` and type for example ` 4ABC<CR>` to transmit 'ABC\n'
|
||||||
|
|
||||||
## Running the example in client mode
|
## Running the example in client mode
|
||||||
|
@ -1,3 +1,6 @@
|
|||||||
|
| Supported Targets | ESP32 | ESP32-S2 | ESP32-S3 | ESP32-C3 |
|
||||||
|
| ----------------- | ----- | -------- | -------- | -------- |
|
||||||
|
|
||||||
# Asio SSL client/server example
|
# Asio SSL client/server example
|
||||||
|
|
||||||
Simple Asio client and server with SSL/TLS transport
|
Simple Asio client and server with SSL/TLS transport
|
||||||
@ -13,8 +16,8 @@ to connect to internet or a local network via WiFi or Ethernet to easily exercis
|
|||||||
|
|
||||||
* Open the project configuration menu (`idf.py menuconfig`)
|
* Open the project configuration menu (`idf.py menuconfig`)
|
||||||
* Configure Wi-Fi or Ethernet under "Example Connection Configuration" menu. See "Establishing Wi-Fi or Ethernet Connection" section in [examples/protocols/README.md](../../README.md) for more details.
|
* Configure Wi-Fi or Ethernet under "Example Connection Configuration" menu. See "Establishing Wi-Fi or Ethernet Connection" section in [examples/protocols/README.md](../../README.md) for more details.
|
||||||
* Enable the ASIO client and set server's host name to examine client's functionality.
|
* Enable the ASIO client and set server's host name to examine client's functionality.
|
||||||
The ASIO client connects to the configured server and sends default payload string "GET / HTTP/1.1"
|
The ASIO client connects to the configured server and sends default payload string "GET / HTTP/1.1"
|
||||||
* Enable the ASIO server to examine server's functionality. The ASIO server listens to connection and echos back what was received.
|
* Enable the ASIO server to examine server's functionality. The ASIO server listens to connection and echos back what was received.
|
||||||
|
|
||||||
### Build and Flash
|
### Build and Flash
|
||||||
@ -58,7 +61,7 @@ D
|
|||||||
### Both server and client enabled
|
### Both server and client enabled
|
||||||
|
|
||||||
The below output demonstrates the client connecting to the ASIO server via loopback interface, so no WiFi, nor Ethernet connection
|
The below output demonstrates the client connecting to the ASIO server via loopback interface, so no WiFi, nor Ethernet connection
|
||||||
was established.
|
was established.
|
||||||
```
|
```
|
||||||
I (0) cpu_start: App cpu up.
|
I (0) cpu_start: App cpu up.
|
||||||
I (495) heap_init: Initializing. RAM available for dynamic allocation:
|
I (495) heap_init: Initializing. RAM available for dynamic allocation:
|
||||||
|
@ -1,3 +1,6 @@
|
|||||||
|
| Supported Targets | ESP32 | ESP32-S2 | ESP32-S3 | ESP32-C3 |
|
||||||
|
| ----------------- | ----- | -------- | -------- | -------- |
|
||||||
|
|
||||||
# Asio TCP echo server example
|
# Asio TCP echo server example
|
||||||
|
|
||||||
Simple Asio TCP echo server using WiFi STA or Ethernet.
|
Simple Asio TCP echo server using WiFi STA or Ethernet.
|
||||||
|
@ -1,3 +1,6 @@
|
|||||||
|
| Supported Targets | ESP32 | ESP32-S2 | ESP32-S3 | ESP32-C3 |
|
||||||
|
| ----------------- | ----- | -------- | -------- | -------- |
|
||||||
|
|
||||||
# Asio UDP echo server example
|
# Asio UDP echo server example
|
||||||
|
|
||||||
Simple Asio UDP echo server using WiFi STA or Ethernet.
|
Simple Asio UDP echo server using WiFi STA or Ethernet.
|
||||||
|
Reference in New Issue
Block a user