Search found 384 matches

by permal
Tue Aug 01, 2017 12:37 pm
Forum: ESP-IDF
Topic: timeval calcualtions - timeradd/timersub
Replies: 7
Views: 9746

Re: timeval calcualtions - timeradd/timersub

Those looks like an exact copy of the macros in the file I referenced in my original post.

Lets hope Espressif can give us a positive answer to my initial question.
by permal
Tue Aug 01, 2017 10:21 am
Forum: ESP-IDF
Topic: timeval calcualtions - timeradd/timersub
Replies: 7
Views: 9746

Re: timeval calcualtions - timeradd/timersub

@BuddyCasino Care to share your results?
by permal
Tue Aug 01, 2017 8:35 am
Forum: ESP-IDF
Topic: timeval calcualtions - timeradd/timersub
Replies: 7
Views: 9746

timeval calcualtions - timeradd/timersub

Hi, In various posts on this forum we're recommended to use gettimeofday() to get time stamps, but we're missing the convenience macros timeradd & timersub which are located in source file xtensa-esp32-elf/include/sys/time.h . Unfortunately, the entire file is #ifdef'd with #if defined (__rtems__) |...
by permal
Thu Jul 20, 2017 10:45 am
Forum: ESP-IDF
Topic: Non-blocking SSL/TLS communication / incomplete(?) openssl
Replies: 3
Views: 6061

Re: Non-blocking SSL/TLS communication / incomplete(?) openssl

Oh, ok. I hadn't realized that was the case. I'll look at mbedtls then. Thanks.
by permal
Thu Jul 20, 2017 10:25 am
Forum: ESP-IDF
Topic: Non-blocking SSL/TLS communication / incomplete(?) openssl
Replies: 3
Views: 6061

Re: Non-blocking SSL/TLS communication / incomplete(?) openssl

Anyone with some insights? :)
by permal
Thu Jul 20, 2017 10:19 am
Forum: ESP-IDF
Topic: ESP32 continuous reset for many times before it stable down to run
Replies: 5
Views: 8153

Re: ESP32 continuous reset for many times before it stable down to run

What you're seeing in the traceback is most likely a side effect of the actual problem, which I'm guessing is a either stack overflow, memory overwrite, uninitialized pointers, deallocated memory etc. I say this because the code you're pointing to is part of well tested and used code so it is most l...
by permal
Wed Jul 19, 2017 7:32 pm
Forum: ESP-IDF
Topic: ESP32 continuous reset for many times before it stable down to run
Replies: 5
Views: 8153

Re: ESP32 continuous reset for many times before it stable down to run

If you're saying that the ESP resets several times before your application successfully starts I'd say you have a timing issue in your application causing it to fail during startup. So, start by isolating the issue in a small application, then continue to break it down to find the root cause.
by permal
Sun Jul 16, 2017 9:12 am
Forum: ESP-IDF
Topic: Non-blocking SSL/TLS communication / incomplete(?) openssl
Replies: 3
Views: 6061

Non-blocking SSL/TLS communication / incomplete(?) openssl

Hi, I've now successfully implemented non-blocking TCP sockets and also added SSL/TLS encryption using openssl that ships with ESP-IDF. All communication is handled by a single task and incoming and outgoing data are distributed via queues to other tasks. I'm using the latest version of the master b...
by permal
Mon Jul 10, 2017 6:05 pm
Forum: ESP-IDF
Topic: Non-blocking sockets, select() and transmit buffer size
Replies: 3
Views: 7962

Re: Non-blocking sockets, select() and transmit buffer size

Great answer. Thanks!