Search found 344 matches
- Thu Jul 04, 2019 12:15 am
- Forum: ESP-IDF
- Topic: reconnect from Deep Sleep to AP
- Replies: 2
- Views: 1096
Re: reconnect from Deep Sleep to AP
It hasn't been mentioned much for some reason but the recent IDF update has significantly improved connection speeds. It was consistently taking 1100-1300ms to connect to my home WPA2 network a couple weeks ago, but in testing this week I'm consistently getting about 500ms now (often ~400ms). I have...
- Wed Jul 03, 2019 10:09 am
- Forum: General Discussion
- Topic: [SOLVED] How to download files from browser using AsyncWebServer ?
- Replies: 3
- Views: 4177
Re: Is there a way of making a file and then download it using a web-server and a browser without touching the file-syst
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Disposition I think you're using AsyncWebServer so your handler might look something like this: AsyncWebServerResponse *response = request->beginResponse(200, "text/plain", "My file contents"); response->addHeader("Content-Disposition...
- Tue Jul 02, 2019 1:27 pm
- Forum: General Discussion
- Topic: [SOLVED] Wrong Magic Byte error when trying to upload spiffs.bin
- Replies: 2
- Views: 1386
Re: Wrong Magic Byte error when trying to upload spiffs.bin
Isn't this line wrong? For "spiffs.bin", indexOf("spiffs")==0 so it won't be detected as U_SPIFFS type.
Try
Code: Select all
int cmd = (filename.indexOf("spiffs") > 0) ? U_SPIFFS : U_FLASH;
Code: Select all
int cmd = (filename.indexOf("spiffs") > -1) ? U_SPIFFS : U_FLASH;
- Thu Jun 27, 2019 8:43 pm
- Forum: ESP32 Arduino
- Topic: RTC_DATA_ATTR shows strange offset
- Replies: 2
- Views: 1443
Re: RTC_DATA_ATTR shows strange offset
Arduino is pre-compiled with CONFIG_ULP_COPROC_RESERVE_MEM = 512, meaning that 512 bytes (ie. 128 words) are reserved from 0x50000000 for a ULP program, and anything with the RTC_DATA_ATTR attribute comes just after that (ie. 0x50000200, as you noticed). There is 8K of RTC slow memory available in t...
- Wed Jun 26, 2019 6:05 pm
- Forum: ESP32 Arduino
- Topic: Trouble with multiple millis() timers
- Replies: 4
- Views: 2197
Re: Trouble with multiple millis() timers
I wrote a similar comment yesterday but you deleted the post! I see you fixed a couple things (not what mike rightly pointed out though). I think most of this is still relevant: The "one" "two" "three" variables are really confusing and difficult to follow. I think you might even be confusing yourse...
- Fri Jun 21, 2019 11:44 am
- Forum: Report Bugs
- Topic: Can not start ULP after DEEPSLEEP_RESET
- Replies: 2
- Views: 1649
Re: Can not start ULP after DEEPSLEEP_RESET
To be clear, is your ULP program ending immediately after it reports the power supply down state? Or does it continue to run while in deep sleep? Are you confident that the problem is that the ULP program isn't running, or is it possible that it's running but there is some other problem (eg. pin not...
- Thu Jun 20, 2019 5:57 pm
- Forum: ESP32 Arduino
- Topic: Modify the IP address in WiFi_AP mode
- Replies: 3
- Views: 3187
Re: Modify the IP address in WiFi_AP mode
Code: Select all
IPAddress IP = (10, 10, 1, 1);
Code: Select all
IPAddress IP = IPAddress(10, 10, 1, 1);
- Thu Jun 20, 2019 5:50 pm
- Forum: ESP32 Arduino
- Topic: How to use: esp_wifi_get_country(wifi_country_t *country)
- Replies: 2
- Views: 1751
Re: How to use: esp_wifi_get_country(wifi_country_t *country)
Try something like this.
Code: Select all
wifi_country_t myCountry;
if(esp_wifi_get_country(&myCountry) == ESP_OK){
Serial.print("Country Code: ");
Serial.println(myCountry.cc);
}
- Sun Jun 16, 2019 11:47 am
- Forum: Hardware
- Topic: Recommend a voltage regulator/buck converter for ESP32 project
- Replies: 3
- Views: 4591
Re: Recommend a voltage regulator/buck converter for ESP32 project
Why would you go for a 6210 over the 6220? I think it's perfect for ESP32: up to 1 amp in high power mode, and seamlessly switches to Green Operation mode (nominal 8uA but even less than that in my real world experience) when load current drops to less than 1mA (ie. deep sleep). Also slightly better...
- Sat Jun 15, 2019 11:38 am
- Forum: General Discussion
- Topic: ultra-low power/fast boot SDK for ESP32?
- Replies: 1
- Views: 1395
Re: ultra-low power/fast boot SDK for ESP32?
I would first address whatever is causing that to take 10-15 seconds with your current setup. That's an extraordinarily long time.
I share your frustration with deep sleep wakeup time though, so you may be as interested as I am in following/trying this: https://github.com/espressif/esp-idf/pull/3304
I share your frustration with deep sleep wakeup time though, so you may be as interested as I am in following/trying this: https://github.com/espressif/esp-idf/pull/3304