Search found 112 matches

by wevets
Sat Feb 08, 2020 7:23 pm
Forum: ESP-IDF
Topic: how to retain GPIO state when system wakes up?
Replies: 7
Views: 8826

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: ESP-IDF
Topic: Closing down WiFi to save power
Replies: 2
Views: 5541

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: 4922

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: 10648

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: 10648

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: 5421

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: ESP-IDF
Topic: Flash port
Replies: 2
Views: 3782

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: ESP-IDF
Topic: Flash port
Replies: 2
Views: 3782

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: ESP-IDF
Topic: What actually goes out on an http client post request
Replies: 0
Views: 1625

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...
by wevets
Wed Dec 04, 2019 5:48 am
Forum: ESP-IDF
Topic: Suppress Boot messages
Replies: 13
Views: 21704

Re: Suppress Boot messages

I had the same problem, the need to suppress boot messages to the terminal. I've found the complete solution. It consists of 3 steps. 1. As mentioned in earlier posts (> 2.5 years ago), strap GPIO15 to ground. In "make menuconfig" 2. Bootloader config -> Bootloader log verbosity -> (no output) 3. Co...