File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change 151151 #define BOARD_STM32H7
152152#endif
153153
154+ #if defined(ARDUINO_UNOR4_WIFI )
155+ #define BOARD_HAS_SECRET_KEY
156+ #define HAS_TCP
157+ #endif
158+
154159/******************************************************************************
155160 * CONSTANTS
156161 ******************************************************************************/
Original file line number Diff line number Diff line change 3131 #include " tls/utility/CryptoUtil.h"
3232#elif defined(BOARD_ESP)
3333 #include < WiFiClientSecure.h>
34+ #elif defined(ARDUINO_UNOR4_WIFI)
35+ #include < WiFiSSLClient.h>
3436#elif defined(ARDUINO_PORTENTA_C33)
3537 #include " tls/utility/CryptoUtil.h"
3638 #include < SSLClient.h>
@@ -148,6 +150,8 @@ class ArduinoIoTCloudTCP: public ArduinoIoTCloudClass
148150 CryptoUtil _crypto;
149151 #elif defined(BOARD_ESP)
150152 WiFiClientSecure _sslClient;
153+ #elif defined(ARDUINO_UNOR4_WIFI)
154+ WiFiSSLClient _sslClient;
151155 #elif defined(ARDUINO_PORTENTA_C33)
152156 ArduinoIoTCloudCertClass _cert;
153157 SSLClient _sslClient;
You can’t perform that action at this time.
0 commit comments