Search found 3 matches

by manuel2258
Sun Apr 11, 2021 9:44 am
Forum: ESP-IDF
Topic: Memory Corruption Problems
Replies: 2
Views: 3952

Memory Corruption Problems

Hi guys, I seem to have a few problems regarding memory corruption. My goal is to write a small and simple async https client for the esp-idf platform. You can view the current version on which this post is based on here: https://git.sr.ht/~manuel2258/esp-http/tree/69f5f9060f3221d5990c2c66e5334835eb...
by manuel2258
Mon Feb 17, 2020 12:53 pm
Forum: ESP-IDF
Topic: Can't create Https connection
Replies: 10
Views: 10659

Re: Can't create Https connection

I was able to resolve it myself. The problem was that as the example uses designated initializer for the esp_tls_cfg_t struct. Trying to port it to C++14 caused the issue. I'm not sure why not initialized struct fields with a designated initializer differ from an "empty" struct, but somehow they do,...
by manuel2258
Fri Feb 14, 2020 4:03 pm
Forum: ESP-IDF
Topic: Can't create Https connection
Replies: 10
Views: 10659

Can't create Https connection

Hello guys, I'm new to ESP-IDF and currently trying to write a class in which I can schedule https requests. As a base I took the wifi/getting-started and protocols/https-request example and merged them into a single class. However when I try to initiate a new https connection I'm always getting an ...