Search found 132 matches
- Wed Dec 26, 2018 6:14 am
- Forum: General Discussion
- Topic: Storing Logs
- Replies: 12
- Views: 21800
Re: Storing Logs
Howdy my friend, If we take away the word "logs" from your story and simply say "We are storing data for subsequent retrieval" then I am presuming that the data has to be persisted (i.e. not just in RAM and hence survive a power down or crash). In which case my recommendation would be to use the Fa...
- Tue Dec 25, 2018 12:38 pm
- Forum: ESP-IDF
- Topic: Ethernet initialization error handling
- Replies: 8
- Views: 12068
Re: Ethernet initialization error handling
Thanks for the suggestion. After a bit of trial and error I was able to modify the ethernet code to do what I want: New implementation of emac_reset() in emac_dev.c: bool emac_reset(void) { REG_SET_BIT(EMAC_DMABUSMODE_REG, EMAC_SW_RST); int retryCount = 0; const int maxRetries = 500 / portTICK_PERI...
- Tue Dec 25, 2018 10:32 am
- Forum: ESP-IDF
- Topic: Setting wifi configuration
- Replies: 20
- Views: 25337
Re: Setting wifi configuration
I am already using this.ESP_igrr wrote: ↑Tue Dec 25, 2018 10:19 amSince by default Wi-Fi configuration is stored into flash, you may want to call esp_wifi_set_storage function with WIFI_STORAGE_RAM argument. In this case configuration will not be saved in flash, and flash lifetime will not be affected.
thanks.
- Tue Dec 25, 2018 10:02 am
- Forum: ESP-IDF
- Topic: Ethernet initialization error handling
- Replies: 8
- Views: 12068
Re: Ethernet initialization error handling
Thanks for the suggestion. After a bit of trial and error I was able to modify the ethernet code to do what I want: New implementation of emac_reset() in emac_dev.c: bool emac_reset(void) { REG_SET_BIT(EMAC_DMABUSMODE_REG, EMAC_SW_RST); int retryCount = 0; const int maxRetries = 500 / portTICK_PERI...
- Tue Dec 25, 2018 7:41 am
- Forum: ESP-IDF
- Topic: Setting wifi configuration
- Replies: 20
- Views: 25337
Re: Setting wifi configuration
I think it just like using wifi on mobile phone. When use want to connect to another wifi, you just disconnect and reconnect. And calling esp_wifi_start(); esp_wifi_stop() is the same with disable and enable wifi on mobile phone and doing this periodically is not good. So in my opinion, if you just...
- Tue Dec 25, 2018 5:03 am
- Forum: ESP-IDF
- Topic: Setting wifi configuration
- Replies: 20
- Views: 25337
Re: Setting wifi configuration
yes. It will also work.hoainguyen265 wrote: ↑Tue Dec 25, 2018 4:04 amHow about just disconnect wifi, set up new config and reconnect to wifi again?
but I want to ask you that it will affect the performance of esp32 or not.
because I want to do it for several times for whole life cycle of esp32.
- Mon Dec 24, 2018 7:29 pm
- Forum: ESP-IDF
- Topic: Setting wifi configuration
- Replies: 20
- Views: 25337
Setting wifi configuration
Hi all, I want to connect to two wifi networks with the difference of some interval of time. for example: network1 for 10 min and network2 for 10 minutes. but for changing the configuration I want to stop the wifi then set the configuration and then start the wifi. that is in idf like->>> ESP_ERROR_...
- Wed Dec 19, 2018 6:21 pm
- Forum: ESP-IDF
- Topic: webserver to ota
- Replies: 4
- Views: 7213
Re: webserver to ota
Yes, but I want upload bin file by selecting it from system using webserver browse selection..
And as I upload it from webserver, the bin file should be uploaded to esp32 and used for ota.
So that I have to pass that file to ota write.
- Wed Dec 19, 2018 2:35 pm
- Forum: ESP-IDF
- Topic: webserver to ota
- Replies: 4
- Views: 7213
webserver to ota
Hi all, I want to ota update by uploading file from webserver. here is my html code for webserver->> "<!DOCTYPE html>" "<html>" "<body>" "<form action=\"/cf\" method=\"post\" enctype=\"multipart/form-data\">" "Select image to upload:" "<input type=\"file\" name=\"fileToUpload\" id=\"fileToUpload\">"...
- Tue Dec 18, 2018 11:53 am
- Forum: General Discussion
- Topic: parse JSON from HTTP header
- Replies: 9
- Views: 22483
Re: parse JSON from HTTP header
http server runs without a problem but i need to extract data from POST Header did not found way to do that here is my post request and i want " uname " and " name ": POST /connect.json HTTP/1.1 Host: 192.168.4.1 User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:57.0) Gecko/20100101 Firefox/5...