GithubHelp home page GithubHelp logo

Comments (5)

mobizt avatar mobizt commented on August 23, 2024

I test with my W5500 module and ESP32 and it works fine.

There are some user feedbacks about library when using ESP32 with W5500 both works and not work.

Especially when I implement it on my other library that supports external SSLClient and concluded that it may not work in all configurations even using WiFIClient as a client.

The problem is the SSL engine library used in this library for ESP32 is mbedTLS that is already come with core SDK installation.

The mbedTLS works well when binding with lwIP TCP socket directly as in WiFiClientSecure.

The problem is not only at Ethernet module buffer memory restriction but the binding between mbedTLS and Client has some stability and slow data transfer speed issues.

When I test mbedTLS binding with Client (WiFiClient) without socket and Client (WiFiClient) with socket, the result is worst when compare with WiFiClientSecure.

Othe SSLClient libraries that use mbedTLS in the same approach as in this library will not work good in all conditions.

Now I decide to remove mbedTLS as a SSL library and use BearSSL SSL engine library instead as used in ESP8266 core.

From testing ESP32 with BearSSL, it works well as fast connection as in WiFIClientSecure that used mbedTLS.

I and other users also test ESP32 with BearSSL and W5500 and it works fine.

I will finish updating the library soon in this week.

I will post here when the new version is available.

from esp_sslclient.

kapyaar avatar kapyaar commented on August 23, 2024

Thank you for the quick response. I tested with just wifi, and that works fine, I know that is using bearSSL. It would be great to try out your new version with bearSSL. Looking forward to it. :)

from esp_sslclient.

kapyaar avatar kapyaar commented on August 23, 2024

Forgot to mention one thing. In searching for solutions, I played around with ArduinoBearSSL, and I used Ethernet client to test. It worked by itself. However, when I tried the method in my main ESP32 project, I got so many errors, because ESP32 Arduino already uses bearssl, and may files were already being used, and causing the error of "Already defined here". So, if you were to work with bearssl, It would be great if you can address this as well :)

from esp_sslclient.

mobizt avatar mobizt commented on August 23, 2024

Now the new version (v2.0.0) is available.

Arduino's Library Manager may be available soon or download zip file to install.

from esp_sslclient.

kapyaar avatar kapyaar commented on August 23, 2024

Did a quick test, and it works. Tested with both wificlient and ethernetclient. Both are working. Thanks, I will test further, and update you if there are any issues. Much appreciated :)

from esp_sslclient.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.