Search found 316 matches

by permal
Sun May 19, 2019 7:09 am
Forum: ESP32 IDF
Topic: mbedTLS memory usage per connection / mbedtls_ssl_context
Replies: 3
Views: 111

Re: mbedTLS memory usage per connection / mbedtls_ssl_context

Heh, enabling PSRAM gave me another 4MB to play with, this is going to last me forever :) Now to figure out if there's a way to speed up TLS-negotiations, it takes nearly three seconds for a connection to initialize :\ Edit: Hm, still getting these, even with PSRAM enabled: mbedtls_ssl_handshake fai...
by permal
Sun May 19, 2019 6:30 am
Forum: ESP32 IDF
Topic: mbedTLS memory usage per connection / mbedtls_ssl_context
Replies: 3
Views: 111

Re: mbedTLS memory usage per connection / mbedtls_ssl_context

Do you use PSRAM? I got about 40KB of IRAM back using AWS by enabling that option. libwebsockets has a custom mbedTLS for the ESP32 that mentioned memory savings, but see: https://github.com/warmcat/lws-esp32-factory/issues/47 No, I do not explicitly use PSRAM? I need to read up on that. The liwebs...
by permal
Sat May 18, 2019 7:55 pm
Forum: ESP32 IDF
Topic: mbedTLS memory usage per connection / mbedtls_ssl_context
Replies: 3
Views: 111

mbedTLS memory usage per connection / mbedtls_ssl_context

Hi, I'm implementing an event-based asynchronous HTTP(s) server. I'd like to support up to six simultaneous connections as modern browsers use up to six connections to the same domain. Things runs fine, as long as I only allow three or connections - more than that and I run really low on memory; got...
by permal
Fri May 17, 2019 6:59 pm
Forum: ESP32 IDF
Topic: [Solved] FatFS/MMC and paths
Replies: 1
Views: 60

Re: FatFS/MMC and paths

No idea what went wrong yesterday, its all working now.
by permal
Fri May 17, 2019 10:36 am
Forum: ESP32 IDF
Topic: [Solved] FatFS/MMC and paths
Replies: 1
Views: 60

[Solved] FatFS/MMC and paths

Hi, Just throwing this out there, in case someone else have had the same issues and found a solution... After successfully initializing a 32GB SD Card using the MMC driver and mounting it at /sdcard , I can access files directly in the root, such as /sdcard/index.htm . However, accessing files in a ...
by permal
Fri May 10, 2019 7:52 am
Forum: ESP32 IDF
Topic: How to change separator in response from http_server
Replies: 6
Views: 243

Re: How to change separator in response from http_server

From your description, it sounds like it is your phone that sends the parameters, not the ESP. The ampersand (&) is the standard separator used in requests, why do you want to change that?
by permal
Wed Apr 24, 2019 11:27 am
Forum: ESP32 IDF
Topic: Do non-blocking TCP send calls work?
Replies: 1
Views: 113

Re: Do non-blocking TCP send calls work?

I'm using non-blocking sockets exclusively. Setting non-blocking mode: https://github.com/PerMalmberg/Smooth/blob/feature/15-ServerSocket/lib/smooth/core/network/CommonSocket.cpp#L40 My send-call: https://github.com/PerMalmberg/Smooth/blob/feature/15-ServerSocket/lib/smooth/include/smooth/core/netwo...
by permal
Fri Mar 22, 2019 7:55 am
Forum: ESP32 IDF
Topic: Programming in C++
Replies: 47
Views: 29881

Re: Programming in C++

permal, I really like what it looks like you're doing in Smooth -- I've been trying to use it for the past few weeks, but my learning curve was pretty steep. I've got decades worth of experience as a developer, but mostly in the Microsoft world, and my last serious effort was a decade ago. Because ...
by permal
Thu Mar 07, 2019 7:22 pm
Forum: ESP32 MDF
Topic: Integrate mesh into an already existing ESP-IDF framework code
Replies: 1
Views: 505

Re: Integrate mesh into an already existing ESP-IDF framework code

"fatal error: miniz.h: No such file or directory"
If the file exists, it simply means that the project doesn't have an include path to the location of the file. Check you project setup.
by permal
Tue Mar 05, 2019 9:53 pm
Forum: ESP32 IDF
Topic: Programming in C++
Replies: 47
Views: 29881

Re: Programming in C++

I have built and run a couple of small C++ applications following Neil Kolgan's tutorial ... seems to work fine. However, looking at this thread it's not clear to me how solid the C++/esp-idf environment is at this point. Is it solid enough for serious development, or is it still a work in progress...

Go to advanced search