diff --git a/README.md b/README.md index 3f5cb02..a77c56a 100644 --- a/README.md +++ b/README.md @@ -56,7 +56,7 @@ Wire | ❗ | ❌ **OTHER LIBRARIES** | | Wi-Fi STA/AP/Mixed | ✔️ | ✔️/❌/❌ Wi-Fi Events | ✔️ | ❌ -TCP Client (SSL) | ✔️ (✔️) | ✔️ (❓) +TCP Client (SSL) | ✔️ (✔️) | ✔️ (❗) TCP Server | ✔️ | ❓ IPv6 | ❌ | ❌ HTTP Client (SSL) | ✔️ (✔️) | ❓ diff --git a/builder/frameworks/beken-72xx-arduino.py b/builder/frameworks/beken-72xx-arduino.py index 1084561..fd990d4 100644 --- a/builder/frameworks/beken-72xx-arduino.py +++ b/builder/frameworks/beken-72xx-arduino.py @@ -26,6 +26,8 @@ env.Append( CPPDEFINES=[ # LibreTuya configuration ("LT_ARD_HAS_WIFI", "1"), + # macros + ("mbedtls_net_set_nonblock", "net_set_nonblock"), # mbedtls_net_set_nonblock is commented out in tls_net.c ], LINKFLAGS=[ # stdio wrappers (port/printf/printf.c) diff --git a/builder/frameworks/beken-72xx-sdk.py b/builder/frameworks/beken-72xx-sdk.py index 7881846..c47668d 100644 --- a/builder/frameworks/beken-72xx-sdk.py +++ b/builder/frameworks/beken-72xx-sdk.py @@ -77,6 +77,7 @@ env.Append( ("WOLFSSL_BEKEN", env.Cfg("CFG_WPA3")), # LwIP options ("LWIP_SO_RCVBUF", "1"), # for ioctl(FIONREAD) + "MBEDTLS_KEY_EXCHANGE__SOME__PSK_ENABLED", ], ASFLAGS=[ "-mcpu=arm968e-s",