tcp/tls client and server connection with FreeRTOS, lwIP #484
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
changed tcp/tls client socket connection to FreeRTOS, lwIP and added tcp/tls server.
-tcpClient_main.c
-tcpServer_main.c
-tlsClient_main.c
-tlsServer_main.c
Download files
$ git clone https://github.com/raspberrypi/pico-sdk
$ git clone hhttps://github.com/FreeRTOS-kernel
$ git clone https://github.com/wolfssl/wolfssl
Define path
$ export PICO_SDK_PATH=/your/pico-sdk/path
$ export FREERTOS_KERNEL_PATH=/your/FreeRTOS-kernel/path
$ export WOLFSSL_ROOT=/your/wolfssl-root/path
cmake and make
$ cd wolfssl-examples/RPi-Pico
$ cmake -DPICO_BOARD=pico_w -DWIFI_SSID=your-wifi-ssid
-DWIFI_PASSWORD=your-wifi-password
-DTEST_TCP_SERVER_IP=ip-addr
-DUSE_WIFI=ON
-DDATETIME=yymmddhhmmss .
$ make
DATETIME is for certificate validity check. Not need to be very acurrate.
testwolfcrypt.uf2
benchmark.uf2
Wifi.uf2
tcp_Client.uf2
tls_Client.uf2
tcp_Server.uf2
tls_Server.uf2
Console output is to USB serial