Search found 11 matches

by Justin2020
Sat Nov 21, 2020 2:12 am
Forum: ESP-IDF
Topic: 4.3-dev OTA update speed issue.
Replies: 2
Views: 4146

Re: 4.3-dev OTA update speed issue.

Good to know I'm not going crazy. Or at least not alone. :P
by Justin2020
Sat Nov 21, 2020 1:55 am
Forum: ESP-IDF
Topic: 4.3-dev OTA update speed issue.
Replies: 2
Views: 4146

4.3-dev OTA update speed issue.

I don't have much as far as information goes. Nothing is broken, just not behaving as I think it should. I'm hoping the issue I'm facing will ring a bell for someone and they'll know what I'm talking about and why. I'll try to keep it short (I'm bad at that!) 1) Back in July, first time using ESP32....
by Justin2020
Sun Sep 06, 2020 12:14 am
Forum: ESP-IDF
Topic: How to update the ESP-IDF in windows
Replies: 4
Views: 6962

Re: How to update the ESP-IDF in windows

Did you re-install the tools? If you're using Eclipse, it won't matter if you run the install script in a console to install the tools. You have to use Eclipse Help menu -> ESP-IDF Tools Manager -> Install Tools
by Justin2020
Fri Sep 04, 2020 1:53 am
Forum: ESP-IDF
Topic: gettimeofday() causing reboots?
Replies: 5
Views: 5791

Re: gettimeofday() causing reboots?

That git command I used above blew in my face so I had to clone the repository again and after a scary first ota update that took twice as long as usual and stalled a few times, all the other updates and the version check spam all went without a hitch. Not a single crash. Thanks again for pointing t...
by Justin2020
Fri Sep 04, 2020 1:19 am
Forum: ESP-IDF
Topic: gettimeofday() causing reboots?
Replies: 5
Views: 5791

Re: gettimeofday() causing reboots?

Wow.. 18 hours ago. What are the odds. Thanks for pointing this. I didn't think of checking the issues, or even posting one. I'm not sure I would have found it since it doesn't seem to be related to mqtt. I'll check that fix and see if I can merge it myself.
by Justin2020
Thu Sep 03, 2020 11:27 pm
Forum: ESP-IDF
Topic: gettimeofday() causing reboots?
Replies: 5
Views: 5791

Re: gettimeofday() causing reboots?

Last update since it's solved, sort of. I'd like some feedback about whether I did it right or wrong with git. I managed to get a list of commits using 'git log --oneline > git.log, and in the log there's this near the top: <snip> 5785e4dfb newlib: move some functions to soc, esp32, esp32s2 a395a00d...
by Justin2020
Thu Sep 03, 2020 9:42 pm
Forum: ESP-IDF
Topic: gettimeofday() causing reboots?
Replies: 5
Views: 5791

Re: gettimeofday() causing reboots?

This is a backtrace of the mqtt client crashing when I create the OTA task. I don't know if it's related to the OTA task itself (or the task api (doubt it)) but this is how I'm creating it: The task: xTaskCreate(&hub_ota_task, "OTA Task", 8192, &theArg, 7, NULL); // theArg is a global variable. Deco...
by Justin2020
Thu Sep 03, 2020 8:56 pm
Forum: ESP-IDF
Topic: gettimeofday() causing reboots?
Replies: 5
Views: 5791

gettimeofday() causing reboots?

I moved to the master branch two months ago and everything was smooth as butter. A few days ago I updated to the latest version and now I'm having problems with what appears to be gettimeofday(). I won't go through everything I tried to pinpoint the source of the problem and I'm not even sure I foun...
by Justin2020
Mon Aug 24, 2020 11:09 pm
Forum: ESP-IDF
Topic: 4.3 server websocket - send_frame delayed when using async_send
Replies: 3
Views: 4214

Re: 4.3 server websocket - send_frame delayed when using async_send

Editing post. It wasn't really a problem. I was trying to have a packet sent when the wifi was busy scanning, a.k.a programmer snafu.

Still a lesson learned. Good work on esp-idf. Loving it!
by Justin2020
Mon Aug 24, 2020 7:15 pm
Forum: ESP-IDF
Topic: 4.3 server websocket - send_frame delayed when using async_send
Replies: 3
Views: 4214

Re: 4.3 server websocket - send_frame delayed when using async_send

Thank for the reply. I put the async_send in a queue and task of its own and it didn't help. I gave the httpd server a priority of 3 and a priority of 8 for the async_send task. I included a screenshot of the piece of code where it happens. As you can see, I respond with httpd_ws_send_frame() then c...