Search found 62 matches

by rfleming
Tue May 17, 2022 7:17 am
Forum: ESP-IDF
Topic: uart read fails after ring buffer size elapses
Replies: 0
Views: 1445

uart read fails after ring buffer size elapses

Hi All, esp-idf v4.2.2 I can replicate this consistently with 2 different implementations. The first I have seen around for quite some-time over the conventional uart port for stdio. The issues in general only appear to occur when reading data, likely linked to attempting to read large amounts of da...
by rfleming
Sun Oct 24, 2021 8:23 am
Forum: ESP-IDF
Topic: WiFi CSA not working (Channel Switch Announcement)
Replies: 0
Views: 2168

WiFi CSA not working (Channel Switch Announcement)

Hi All, ESP-IDF version: v4.2.2 (Though same thing happened with older versions too when ran the same way) I have an application that requires me to create a hotspot, connect to it and use a webserver to connect to a local, existing wifi network. The webserver hosted on the esp seemed to be the best...
by rfleming
Wed Oct 20, 2021 12:53 am
Forum: IDEs for ESP-IDF
Topic: VsCode build error reference links unclickable
Replies: 4
Views: 7506

Re: VsCode build error reference links unclickable

Perfect, thanks for that.

This project was created a few years ago when we were using eclipse and has gone through various evolutions. So the new templates were never brought in ^^
by rfleming
Mon Oct 11, 2021 7:08 am
Forum: IDEs for ESP-IDF
Topic: VsCode build error reference links unclickable
Replies: 4
Views: 7506

Re: VsCode build error reference links unclickable

The answer to this mostly comes my lack of knowledge for how to correctly configure vscode with esp ^^ I build in 2 different ways atm. 1 is direct in the terminal and manually run "idf.py build" I am unsure if this could ever provide the feedback back to vscode or not. The other is to "Run Build Ta...
by rfleming
Sat Sep 18, 2021 2:31 am
Forum: IDEs for ESP-IDF
Topic: VsCode build error reference links unclickable
Replies: 4
Views: 7506

VsCode build error reference links unclickable

Hi All, I have been using vscode for a while now and I am pretty sure I am out of the look with this...so hoping someone has the answer. When I first started using the application, after a compilation of errors it would highlight in red the error line and provide me with the ability to click on it. ...
by rfleming
Wed Sep 15, 2021 1:07 am
Forum: ESP-IDF
Topic: ccache error during building
Replies: 6
Views: 16014

Re: ccache error during building

Sorry to bump an old topic. I just did a new install of esp32 tools with v4.1.2 idf installed from the installer: esp-idf-tools-setup-online-2.10.exe . It appears that the above issue is still present. I am unsure if the 64b tools have been either installed or being used in the above installer. I ge...
by rfleming
Fri Jun 25, 2021 11:39 pm
Forum: ESP-IDF
Topic: http client read response headers
Replies: 5
Views: 7627

Re: http client read response headers

Turns out headers were all parsed via the event loop instead of the main functions. So when received, I just stored them in an array and processed them in the main function. I am unsure about cookies though.
by rfleming
Wed Jun 16, 2021 11:14 pm
Forum: ESP-IDF
Topic: Missing the first rising edge when waking up
Replies: 6
Views: 6552

Re: Missing the first rising edge when waking up

Just spit-balling here... Since a deep sleep is effectively a restart of the esp (minus a handful of registers), this would mean once it wakes on the rising edge, the edge has already passed by the time you reinstall the ISR. Wouldn't it be better to just test for a "high" on that IO at start? If yo...
by rfleming
Wed Jun 16, 2021 11:04 pm
Forum: ESP-IDF
Topic: Application resetting every 13m20s
Replies: 3
Views: 4467

Re: Application resetting every 13m20s

Code: Select all

Error reading FreeRTOS thread name
This `could` be that you either parsed in null when creating your thread, or you may have made your thread name too long? The thread name itself should only be something like 14 characters including null - defined in the sdkconfig.
by rfleming
Wed Jun 16, 2021 11:01 pm
Forum: ESP-IDF
Topic: Print, Abort, Exit
Replies: 1
Views: 2933

Re: Print, Abort, Exit

While I cannot see anything inherently wrong with what you have done, I would recommend posting this on the arduino sub-forum as that would be more appropriate for these functions. Else if you want to do this with the esp-idf directly you could: puts("** REBOOT **"); vTaskDelay(10*1000/portTICK_PERI...