Search found 73 matches

by wevets
Sun Feb 09, 2020 7:18 am
Forum: ESP32 IDF
Topic: Closing down WiFi to save power
Replies: 2
Views: 267

Re: Closing down WiFi to save power

Thanks, That seems to have been the problem. I just added a flag, WiFiShuttingDown, that I set pdFALSE when I initialized the WiFi stack, and set pdTRUE when I wanted to tear it down, and a conditional in the WiFi event handler that allowed calling esp_wifi_connect() only when WiFiShuttingDown was f...
by wevets
Sat Feb 08, 2020 7:23 pm
Forum: ESP32 IDF
Topic: how to retain GPIO state when system wakes up?
Replies: 7
Views: 553

Re: how to retain GPIO state when system wakes up?

Several of the GPIO pins work during deep sleep and are accessible from the ULP. These keep their state on wake up, although as wake up causes a system reset, it's easy to re-initialize them to any desired state on wake reboot. But these GPIOs/RTC GPIOs will retain their state on transition to deep ...
by wevets
Fri Feb 07, 2020 10:37 pm
Forum: ESP32 IDF
Topic: Closing down WiFi to save power
Replies: 2
Views: 267

Closing down WiFi to save power

Not having received a reply in the IoT forum, I thought I'd try this one. I have an application in which I want to very occasionally start up wifi to POST some data to a remote server. I can get things going and POST the message, but am having trouble with the tear-down phase. As I read the docs, th...
by wevets
Fri Feb 07, 2020 5:26 am
Forum: ESP IoT Solution
Topic: dismissing wifi to save power
Replies: 0
Views: 166

dismissing wifi to save power

I have an application in which I want to very occasionally start up wifi to POST some data to a remote server. I can get things going and POST the message, but am having trouble with the tear-down phase. As I read the docs, the right steps and the order in which they should be called is: esp_http_cl...
by wevets
Wed Jan 29, 2020 9:18 pm
Forum: Documentation
Topic: documentation files in .rst format
Replies: 2
Views: 417

Re: documentation files in .rst format

Thanks. I continued rooting around after I posted my question at the top and found the online docs.
by wevets
Wed Jan 29, 2020 6:07 am
Forum: Documentation
Topic: documentation files in .rst format
Replies: 2
Views: 417

documentation files in .rst format

in the documentation directory of the esp-idf, most of the files are in some '.rst' format. I can open the files in most any editor/word processor/browser. But he files clearly have block diagrams and other material in some sort of markup format that nothing I've tried, and I've tried several, can d...
by wevets
Mon Jan 20, 2020 3:20 am
Forum: General Discussion
Topic: ulp code as an esp-idf project component not compiling
Replies: 4
Views: 701

Re: ulp code as an esp-idf project component not compiling

I have not experimented with any directory structure other than that explicitly supported by the esp idf, but I have a project using ULP code in which a directory appears in main called ULP. The .S files in that directory both assemble and are linked into the program of which the .cpp file is in mai...
by wevets
Wed Jan 08, 2020 8:16 am
Forum: ESP32 IDF
Topic: Flash port
Replies: 2
Views: 186

Re: Flash port

Angus,
That fixed it. I must have set that months ago and, never having had cause to change it, forgot about it.
Thanks. Works perfectly now.
wevets
by wevets
Wed Jan 08, 2020 7:18 am
Forum: ESP32 IDF
Topic: Flash port
Replies: 2
Views: 186

Flash port

Someone gave me a LOLIN32 dev board which I want to use for some tests. The problem is that when I plug it into my Win dev box, it comes up on COM5. So I go into "serial flasher config" in "make menuconfig" and I set the Default serial port to COM5. I verfied that sdkconfig knows this. It shows the ...
by wevets
Mon Jan 06, 2020 11:38 pm
Forum: ESP32 IDF
Topic: What actually goes out on an http client post request
Replies: 0
Views: 184

What actually goes out on an http client post request

I have an application in which I post json data to a web server, and the code works. But in delving into the entrails of what's going on, it seems that esp_http_client_perform() pulls a bunch of stuff from the client structure to assemble the packet that actually goes out. I've had to modify the cli...

Go to advanced search