diff --git a/examples/raw_async_https_request/build_opt.h b/examples/raw_async_https_request/build_opt.h new file mode 100644 index 0000000..a29b2d5 --- /dev/null +++ b/examples/raw_async_https_request/build_opt.h @@ -0,0 +1 @@ +-DASYNC_TCP_SSL_ENABLED=1 diff --git a/examples/raw_async_https_request/raw_async_https_request.ino b/examples/raw_async_https_request/raw_async_https_request.ino index d0a89c3..a14d5f8 100644 --- a/examples/raw_async_https_request/raw_async_https_request.ino +++ b/examples/raw_async_https_request/raw_async_https_request.ino @@ -5,6 +5,9 @@ const char* ssid = "YOUR-WIFI-SSID-HERE"; const char* password = "YOUR-WIFI-PASSWORD-HERE"; +// On your Arduino projects, create the file build_opt.h if it does not exist +// and add the following single line to enable AsyncTCP SSL support: +// -DASYNC_TCP_SSL_ENABLED=1 #ifndef ASYNC_TCP_SSL_ENABLED #error The macro ASYNC_TCP_SSL_ENABLED has not been correctly enabled in your environment! #endif