Search found 132 matches
- Fri Feb 22, 2019 7:42 am
- Forum: General Discussion
- Topic: How to prevent http request from blocking task for too long?
- Replies: 5
- Views: 9301
Re: How to prevent http request from blocking task for too long?
Hi all, I'm using esp_http_client to make requests to a server. However, when the server is down, the http request is blocking the rest of the task for a very long time. I want to make it so that if the server is offline and the client can't post, it should immediately stop. Is this possible to do?...
- Sat Jan 12, 2019 12:22 pm
- Forum: ESP-IDF
- Topic: NTP server giving time after long time
- Replies: 18
- Views: 21538
Re: NTP server giving time after long time
Hi, We have used ntp into our project but we have applied all server which are used for ntp server configuration. So, We haven't faced any issue like that. Would you please try with that as provided into sntp example and check with that? It might be like sometime you will not get time from server a...
- Fri Jan 11, 2019 5:34 pm
- Forum: ESP-IDF
- Topic: NTP server giving time after long time
- Replies: 18
- Views: 21538
Re: NTP server giving time after long time
Hi, We have used ntp into our project but we have applied all server which are used for ntp server configuration. So, We haven't faced any issue like that. Would you please try with that as provided into sntp example and check with that? It might be like sometime you will not get time from server a...
- Fri Jan 11, 2019 11:43 am
- Forum: ESP-IDF
- Topic: NTP server giving time after long time
- Replies: 18
- Views: 21538
NTP server giving time after long time
Hi all, I have used sntp example from esp idf and modified it as per my use as folllows-->>> void sntp_task(void *pvParameter) { sntp_setoperatingmode(SNTP_OPMODE_POLL); sntp_setservername(0,"asia.pool.ntp.org"); sntp_init(); time_t now; struct tm timeinfo; struct tm *tmp; time(&now); localtime_r(&n...
- Fri Jan 11, 2019 6:01 am
- Forum: General Discussion
- Topic: What is a watchdog, why does it need to be feed, what is it fed, and why does it stop my code from running properly?
- Replies: 10
- Views: 18074
Re: What is a watchdog, why does it need to be feed, what is it fed, and why does it stop my code from running properly?
Is there any effect if we disable the watchdogs ?? I am using upto 10 tasks in my code but giving me an TG1WDT RESET ERROR. So I want to remove this error to prevent esp32 from reset. I want my esp32 live for long time. Could you please explain if any issue by disabling watchdogs? Is the WD resetti...
- Thu Jan 10, 2019 6:10 pm
- Forum: General Discussion
- Topic: What is a watchdog, why does it need to be feed, what is it fed, and why does it stop my code from running properly?
- Replies: 10
- Views: 18074
Re: What is a watchdog, why does it need to be feed, what is it fed, and why does it stop my code from running properly?
You may want to read up on the esp-idf watchdogs: http://esp-idf.readthedocs.io/en/latest/api-reference/system/wdts.html . Is there any effect if we disable the watchdogs ?? I am using upto 10 tasks in my code but giving me an TG1WDT RESET ERROR. So I want to remove this error to prevent esp32 from...
- Sun Jan 06, 2019 4:13 am
- Forum: ESP-IDF
- Topic: Setting wifi configuration
- Replies: 20
- Views: 25381
Re: Setting wifi configuration
As per error logs it seems like memory is going to be leaked at low level of WiFi Stack. Would you please share code like what you have did? so that it will be helpful to give support for that. I am switching into two networks in handler like this->> static esp_err_t event_handler(void *ctx, system...
- Tue Jan 01, 2019 10:44 am
- Forum: ESP-IDF
- Topic: Setting wifi configuration
- Replies: 20
- Views: 25381
Re: Setting wifi configuration
Nice :D Heyy, I am getting this error by changing configuration. 183188) wifi: esf_buf: t=2 l=76 max:32, alloc:32 no eb W (1183188) wifi: alloc eb len=76 type=2 fail, heap:41928 W (1183198) wifi: m f probe req l=0 E (1183318) wifi: esf_buf: t=2 l=76 max:32, alloc:32 no eb W (1183318) wifi: alloc eb...
- Mon Dec 31, 2018 2:00 pm
- Forum: ESP-IDF
- Topic: Setting wifi configuration
- Replies: 20
- Views: 25381
Re: Setting wifi configuration
Nice :D Heyy, I am getting this error by changing configuration. 183188) wifi: esf_buf: t=2 l=76 max:32, alloc:32 no eb W (1183188) wifi: alloc eb len=76 type=2 fail, heap:41928 W (1183198) wifi: m f probe req l=0 E (1183318) wifi: esf_buf: t=2 l=76 max:32, alloc:32 no eb W (1183318) wifi: alloc eb...
- Fri Dec 28, 2018 5:40 am
- Forum: ESP-IDF
- Topic: guru meditation error
- Replies: 18
- Views: 22703
Re: guru meditation error
it returns NULL not "0".fivdiAtESP32 wrote: ↑Thu Dec 27, 2018 6:54 pmIt looks like there's a typo.
Replace:with:Code: Select all
if(p2 != NULL)
to see if it works.Code: Select all
if(i2 != NULL)
I am not getting why it is not giving output for only ",".