Skip to content
/ AsyncTCP Public
forked from fremouw/AsyncTCP

Async TCP Library for ESP32 with TLS support (for now only the client), see mbed-tls branch.

License

Notifications You must be signed in to change notification settings

tve/AsyncTCP

 
 

Repository files navigation

AsyncTCP

Build Status Codacy Badge

Async TCP Library for ESP32 Arduino

Join the chat at https://gitter.im/me-no-dev/ESPAsyncWebServer

This is a fully asynchronous TCP library, aimed at enabling trouble-free, multi-connection network environment for Espressif's ESP32 MCUs.

This library is the base for ESPAsyncWebServer

AsyncClient and AsyncServer

The base classes on which everything else is built. They expose all possible scenarios, but are really raw and require more skills to use.

TLS support

Support for TLS is added using mbed TLS, for now only the client part is supported. You can enable this by adding the flag ASYNC_TCP_SSL_ENABLED to your build flags (-DASYNC_TCP_SSL_ENABLED). If you'd like to set a root certificate you can use the setRootCa function on AsyncClient. Feel free to add support for the server side as well :-)

In addition to the regular certificate based cipher suites there is also support for Pre-Shared Key cipher suites. Use setPsk to define the PSK identifier and PSK itself. The PSK needs to be provided in the form of a hex string (and easy way to generate a PSK is to use md5sum).

About

Async TCP Library for ESP32 with TLS support (for now only the client), see mbed-tls branch.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 66.0%
  • C 23.2%
  • Shell 10.4%
  • Other 0.4%