Search found 23 matches

by copercini
Tue Feb 07, 2017 12:42 pm
Forum: ESP32 IDF
Topic: How to read the size of available data on mbedtls?
Replies: 3
Views: 3767

Re: How to read the size of available data on mbedtls?

First thanks for the answer and explanation =) I think that calling mbedtls_ssl_read(ssl, NULL, 0); mbedtls_ssl_get_bytes_avail() in the available() method is probably as good as you can hope for. It works, but not how it should... When 'mbedtls_ssl_read()' is called, it timeout if buffer is empty, ...
by copercini
Fri Feb 03, 2017 7:34 pm
Forum: ESP32 IDF
Topic: How to read the size of available data on mbedtls?
Replies: 3
Views: 3767

How to read the size of available data on mbedtls?

Hi, I am porting the WiFiClientSecure arduino library based of WifiClient of ESP32, but the problem is "client.available()" method, how to know if the client has data to read or not? using ioctl(ssl_client->socket, FIONREAD, &count); or mbedtls_ssl_get_bytes_avail(&ssl_client->ssl_ctx)); it always r...
by copercini
Fri Feb 03, 2017 3:47 pm
Forum: General Discussion
Topic: Request for HTTPS support
Replies: 4
Views: 5649

Re: Request for HTTPS support

ESP_Sprite wrote:Rudi: I don't think that's what he means :)
Stefan: I'll poke IT, see if we can do something.
You can use a free https://letsencrypt.org/ certificate

Go to advanced search