Search found 31 matches
- Tue Sep 12, 2017 6:24 am
- Forum: ESP-IDF
- Topic: Faster Wifi station connect improvement
- Replies: 3
- Views: 8175
Re: Faster Wifi station connect improvement
In a similar vein: is there a way to have a station mode connection happen without needing an explicit set-up? This should make wifi available as soon as the idf can execute it after restart/wakeup (without any app involvement). I thought I read somewhere that auto connect is possible but never mana...
- Thu Sep 07, 2017 1:47 pm
- Forum: ESP-IDF
- Topic: wakeup reset reason was DEEPSLEEP_RESET (good) but is now TG0WDT_SYS_RESET (bad)
- Replies: 2
- Views: 5792
Re: wakeup reset reason was DEEPSLEEP_RESET (good) but is now TG0WDT_SYS_RESET (bad) [fixed]
Thanks, after today's pull it works correctly again.
- Sat Sep 02, 2017 7:10 am
- Forum: ESP-IDF
- Topic: wakeup reset reason was DEEPSLEEP_RESET (good) but is now TG0WDT_SYS_RESET (bad)
- Replies: 2
- Views: 5792
wakeup reset reason was DEEPSLEEP_RESET (good) but is now TG0WDT_SYS_RESET (bad)
After running a long test for the last few months, I grabbed the latest git and to my surprise the result of rtc_get_reset_reason() is now 7 (TG0WDT_SYS_RESET), not 5 (DEEPSLEEP_RESET) as it always was. I recall there being a bug in revision 0 esp32, and there was a workaround to avoid a WDT reset a...
- Wed Jul 19, 2017 4:35 am
- Forum: ESP-IDF
- Topic: Is brownout detection usable now?
- Replies: 17
- Views: 38571
Re: Is brownout detection usable now?
I now enabled BOD: CONFIG_BROWNOUT_DET=y CONFIG_BROWNOUT_DET_LVL_SEL_0=y # CONFIG_BROWNOUT_DET_LVL_SEL_1 is not set # CONFIG_BROWNOUT_DET_LVL_SEL_2 is not set # CONFIG_BROWNOUT_DET_LVL_SEL_3 is not set # CONFIG_BROWNOUT_DET_LVL_SEL_4 is not set # CONFIG_BROWNOUT_DET_LVL_SEL_5 is not set # CONFIG_BRO...
- Tue Jul 18, 2017 1:29 am
- Forum: ESP-IDF
- Topic: Is brownout detection usable now?
- Replies: 17
- Views: 38571
Is brownout detection usable now?
In my recent build I see the introduction of brownout detection CONFIG_BROWNOUT_DET . I enabled it in sdkconfig and set it to the lowest voltage. I now get a brownout reset every time the wifi is turned on. I (2959) wifi: wifi timer task: 3ffb8d50, prio:22, stack:3584 Brownout detector was triggered...
- Sun Jul 02, 2017 7:44 am
- Forum: ESP-IDF
- Topic: [Answered] How to use esp_wifi_set_auto_connect()?
- Replies: 5
- Views: 14743
Re: [Answered] How to use esp_wifi_set_auto_connect()?
Me too. I would like to see an example where autoconnect works and I do not need to manually set a/p credentials and static IP. My experience is that I must issue a esp_wifi_connect() or a connection does not happen. The only callback I see is SYSTEM_EVENT_STA_START . I must be doing something wrong...
- Mon Jun 26, 2017 2:25 pm
- Forum: ESP-IDF
- Topic: gettimeofday() still useless across a deep sleep
- Replies: 10
- Views: 22520
Re: gettimeofday() still useless across a deep sleep
As I am collecting temperature related data I looked at the fixed gettimeofday() . It does much better than before, and so far I get very good time tracking from it, so I am now looking at the relationship between TSENS and gettimeofday() . I have three modules, and I see a reasonably constant (but ...
- Tue Jun 20, 2017 3:22 pm
- Forum: ESP-IDF
- Topic: Does wifi connection take too long?
- Replies: 3
- Views: 8825
Re: Does wifi connection take too long?
@ESP_igrr, no, I am not setting the channel. I now added it and it made no difference. Actually, regardless of the channel I set (1,6,11) it always connects on channel 6. BTW, I was setting the config on first boot, but not on deep sleep wakeup. Setting it every time made no difference. About nvs. A...
- Tue Jun 20, 2017 7:21 am
- Forum: ESP-IDF
- Topic: Does wifi connection take too long?
- Replies: 3
- Views: 8825
Does wifi connection take too long?
In an earlier thread (https://esp32.com/viewtopic.php?f=13&t=2066&p=9798) I asked why wifi takes so long to connect. It was a bit OT for that thread and did not attract any comment. The timing logged by my app is this (time from gettimeofday) 0.021863 esp_wifi_init I (514) wifi: wifi firmware versio...
- Mon Jun 19, 2017 11:43 pm
- Forum: ESP-IDF
- Topic: gettimeofday() still useless across a deep sleep
- Replies: 10
- Views: 22520
Re: gettimeofday() still useless across a deep sleep
The recent commit seems to have fixed the bad gettimeofday() . Thanks. I now have a question: how does one retrieve the time in us without the excess arithmetic? ATM I have (in time.c) a simplifies gettimeofday : uint64_t IRAM_ATTR gettimeofday_us(void) { #if defined( WITH_FRC1 ) || defined( WITH_RT...