We need to develop a cross platform database client based on websockets that is portable to Windows, Linux and the ESP32. This could be most efficiently done (I think) by using the popular Websocket++ library (github). However, Websocket++ would use the POSIX interface and OpenSSL, whereas the OpenSSL API wrapper is discontinued from IDF 5.x (according to documentation). Our app however runs on C++20 so reverting back to IDF4.4 is also not possible.
Also, the esp websocket client seems not yet ported to IDF 5.x so we're quite lost. Seems like the only solution is to write a custom websocket client based on mbed_tls. Any better ideas?
OpenSSL API wrapper not available for ports? (IDF 5.x)
-
- Posts: 69
- Joined: Thu Nov 01, 2018 8:32 am
Re: OpenSSL API wrapper not available for ports? (IDF 5.x)
Hi RichPiano
You can use esp_websocket_client in https://github.com/espressif/esp-protoc ... ket_client
It works with v5.0 and v5.1
You can use esp_websocket_client in https://github.com/espressif/esp-protoc ... ket_client
It works with v5.0 and v5.1
Re: OpenSSL API wrapper not available for ports? (IDF 5.x)
Thank you. Why is it not included in idf v5.0 / 5.1?
Who is online
Users browsing this forum: Majestic-12 [Bot] and 94 guests