sinricpro / esp8266-esp32-sdk

Library for https://sinric.pro - simple way to connect your device to Alexa, Google Home, SmartThings and cloud
https://sinric.pro
228 stars 121 forks source link

Unable to compile light.ino demo #236

Closed phelix001 closed 2 years ago

phelix001 commented 2 years ago

Arduino/libraries/WebSockets_Generic/src/WebSocketsClient_Generic-Impl.h:398:22: error: 'class WiFiClientSecure' has no member named 'setInsecure' _client.ssl->setInsecure();

I have the current version of websockets and websockets2 installed. This is on a heltec esp32 board.

kakopappa commented 2 years ago

Probably needs to uninstall WebSockets_Generic and install https://github.com/Links2004/arduinoWebSockets

Make sure your Esp32 core is also up to date

On Sun, 26 Dec 2021 at 6:31 AM Joshua Freedman @.***> wrote:

Arduino/libraries/WebSockets_Generic/src/WebSocketsClient_Generic-Impl.h:398:22: error: 'class WiFiClientSecure' has no member named 'setInsecure' _client.ssl->setInsecure();

I have the current version of websockets and websockets2 installed. This is on a heltec esp32 board.

— Reply to this email directly, view it on GitHub https://github.com/sinricpro/esp8266-esp32-sdk/issues/236, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABZAZZRXL5TE6VDIDV7AND3USZH4FANCNFSM5KYIPDCA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you are subscribed to this thread.Message ID: @.***>

phelix001 commented 2 years ago

SOLVED. Yes, removed esp32 and heltec esp32 board stuff; added back ESP32 Arduino board stuff, chose heltec and it worked out.