From 23410c618d6a64dd2807c16396146b1fb30c89de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kuba=20Szczodrzy=C5=84ski?= Date: Thu, 30 Jun 2022 19:35:43 +0200 Subject: [PATCH] [beken-72xx] Mark SSL client as broken --- README.md | 2 +- builder/frameworks/beken-72xx-arduino.py | 2 ++ builder/frameworks/beken-72xx-sdk.py | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) 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",