Search found 132 matches

by burkulesomesh43
Tue Jun 11, 2019 11:15 am
Forum: ESP-IDF
Topic: NTP server giving time after long time
Replies: 18
Views: 21083

Re: NTP server giving time after long time

Hi, We have tried same way at our end and didn't face any issue till now. I just want to clarify that are you sending NTP request after getting proper IP and external connectivity into device itself? Yes, I am sending NTP request after connecting the device to Network. Then it should be worked? Wou...
by burkulesomesh43
Tue Jun 11, 2019 11:01 am
Forum: ESP-IDF
Topic: Setting wifi configuration
Replies: 20
Views: 24845

Re: Setting wifi configuration

Hi, We are storing WiFi configurations into flash memory as per our requirements. So, what will be the lifetime of flash operation for single device? Because we are also in same phase like many times WiFi configurations will be changed as per our project requirements. the limit is 100000 write cycl...
by burkulesomesh43
Tue Jun 11, 2019 10:59 am
Forum: ESP-IDF
Topic: NTP server giving time after long time
Replies: 18
Views: 21083

Re: NTP server giving time after long time

Please send me logs in details because we are using that way and didn't face any issue yet. There is no logs generated. it only tries to reach NTP server continuosly. Hi, We have tried same way at our end and didn't face any issue till now. I just want to clarify that are you sending NTP request af...
by burkulesomesh43
Tue Jun 11, 2019 10:50 am
Forum: ESP-IDF
Topic: guru meditation error
Replies: 18
Views: 22372

Re: guru meditation error

fivdiAtESP32 wrote:
Fri Dec 28, 2018 8:17 am
Did you make the change that was suggested here to your code? I'm fairly sure that if this change is made there will be no "guru meditation errors".
It works,
thanks.
by burkulesomesh43
Tue Jun 11, 2019 10:45 am
Forum: ESP-IDF
Topic: Setting wifi configuration
Replies: 20
Views: 24845

Re: Setting wifi configuration

Since 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. Hi, We are storing WiFi configurations into flash memory as p...
by burkulesomesh43
Tue Jun 11, 2019 10:41 am
Forum: ESP-IDF
Topic: Ethernet initialization error handling
Replies: 8
Views: 11886

Re: Ethernet initialization error handling

Oromis wrote:
Fri Jan 11, 2019 9:41 am
True, you also need to go to the header file containing

Code: Select all

emac_reset()
(emac_dev.h) and change its return type from

Code: Select all

void emac_reset(void);
to

Code: Select all

bool emac_reset(void);
.
Ok.
Thanks.
by burkulesomesh43
Tue Jun 11, 2019 10:38 am
Forum: ESP-IDF
Topic: NTP server giving time after long time
Replies: 18
Views: 21083

Re: NTP server giving time after long time

Hi, Please find attached code for reference purpose for SNTP Init Process. void initialize_sntp (void) { sntp_setoperatingmode(SNTP_OPMODE_POLL); sntp_setservername(0, "pool.ntp.org"); sntp_setservername(1, "europe.pool.ntp.org"); sntp_setservername(2, "uk.pool.ntp.org "); sntp_setservername(3, "us...
by burkulesomesh43
Tue Jun 11, 2019 10:30 am
Forum: ESP-IDF
Topic: Wear Levelling library sector size
Replies: 3
Views: 5884

Re: Wear Levelling library sector size

Hi all, I am comfused about choosing the sector size in wear levelling example. I want to use near about 250kb of flash for file system so I have to use sector size 512kb because 4096kb sector size rquires minimum 512kb of flash for file system. but I actually very confused that what is the differe...
by burkulesomesh43
Fri Jun 07, 2019 11:54 am
Forum: ESP-IDF
Topic: esp_http_client_perform blocks the task
Replies: 2
Views: 4631

Re: esp_http_client_perform blocks the task

jitin17 wrote:
Fri Feb 22, 2019 12:36 pm
Hey, Did you face a similar issue with master branch, and can you send us the log with debug enabled?
Actually the API used for post request is blocking API. I think there is only solution to use async.
by burkulesomesh43
Fri Jun 07, 2019 11:32 am
Forum: General Discussion
Topic: How to prevent http request from blocking task for too long?
Replies: 5
Views: 9144

Re: How to prevent http request from blocking task for too long?

The issue was never resolved. I had to try HTTP posting to the server, and if it failed twice, then I just deemed the server dead for the remainder of the application's lifetime. Not ideal at all, but was good enough for my purpose. I hope it gets resolved! I am using watchdog. if request is blocke...