Search found 44 matches
- Sun Jul 23, 2017 3:53 am
- Forum: General Discussion
- Topic: How to keep Wifi from timing out / multiple Curl calls example / wifi: pm start, type:0
- Replies: 2
- Views: 5392
How to keep Wifi from timing out / multiple Curl calls example / wifi: pm start, type:0
I'm trying to use curl to make a restful request every minute or so ( though for testing I've calling every 5 seconds). The issue I'm running into is that everything works fine until this pops up: I (12667) wifi: pm start, type:0 Once that message hits, the calls timeout even though the wifi shows c...
- Mon Jul 17, 2017 10:34 pm
- Forum: ESP-IDF
- Topic: [Solved] Meaning of reason codes in system_event_sta_disconnected_t?
- Replies: 7
- Views: 22690
Re: [Solved] Meaning of reason codes in system_event_sta_disconnected_t?
@ESP_igrr
>>Will update event structure to use this enum
Did you get a chance to do this? It looks like it's still an unnamed enum that can't be accessed.
>>Will update event structure to use this enum
Did you get a chance to do this? It looks like it's still an unnamed enum that can't be accessed.
- Wed Jun 14, 2017 4:46 am
- Forum: General Discussion
- Topic: Crash running https_request example
- Replies: 19
- Views: 22484
Re: Crash running https_request example
So, there's really two different issues. Continued
- Tue Jun 13, 2017 4:53 am
- Forum: General Discussion
- Topic: Crash running https_request example
- Replies: 19
- Views: 22484
Re: Crash running https_request example
After a few more tests, "https_get_task" has hung in as little as 1Minute:30sec. The last hung at 7:45. The test is still running to see of it ever comes back (app_main is still printing the time every 100ms). "Enable mbedTLS debugging" is turned on. It turns out that the read_timeout (AKA read/recv...
- Tue Jun 13, 2017 3:04 am
- Forum: General Discussion
- Topic: Crash running https_request example
- Replies: 19
- Views: 22484
Re: Crash running https_request example
Thanks again. A couple things: Received the new ESP32 - in this case a NodeMCU Dev Kit. Tested with the original (unpinned) demo and it still crashes. So, pretty sure it has nothing to do with brownouts / power issues. Pretty sure it's a bug in the demo code pure and simple. It wouldn't have taken a...
- Mon Jun 12, 2017 11:43 pm
- Forum: General Discussion
- Topic: Crash running https_request example
- Replies: 19
- Views: 22484
Re: Crash running https_request example
@kolban Thanks - looks like it's "not intended for normal application runtime use but as a debug aid" - so probably better to focus on why it's hanging. Any thoughts on the best way to debug why "https_get_task" hangs at random times? So far it's been after 30-40 minutes (31 Minutes, 49 Secs yesterd...
- Mon Jun 12, 2017 6:40 pm
- Forum: General Discussion
- Topic: Crash running https_request example
- Replies: 19
- Views: 22484
Re: Crash running https_request example
Conversely (to killing tasks)
- Is there a way to monitor tasks and possibly be notified if they die so they can be restarted?
- Is there a way to monitor tasks and possibly be notified if they die so they can be restarted?
- Mon Jun 12, 2017 6:36 pm
- Forum: General Discussion
- Topic: Crash running https_request example
- Replies: 19
- Views: 22484
Re: Crash running https_request example
@f.h-f.s. - Credit - your suggestion worked!
- Mon Jun 12, 2017 6:55 am
- Forum: General Discussion
- Topic: Crash running https_request example
- Replies: 19
- Views: 22484
Re: Crash running https_request example
Changed a couple things: Modified app_main to Pin "https_get_task" to CPU1 (see below) Added a printf to print the available heap before each "Starting again!" Did a "make erase_flash" - then "make flash" and "make monitor" And, it runs without crashing - no "Guru Meditation Error"s, no reboots! ......
- Mon Jun 12, 2017 2:56 am
- Forum: General Discussion
- Topic: Crash running https_request example
- Replies: 19
- Views: 22484
Re: Crash running https_request example
@ESP_igrr >> Based on the varying crash cause, this looks very much like a brownout... unfortunately brownout detector support hasn't been merged yet, so hard to tell for sure. >>Do you have a different USB cable to try? It doesn't happen very often, but I remember there were a few reports of browno...