Search found 132 matches

by burkulesomesh43
Fri Feb 22, 2019 7:42 am
Forum: General Discussion
Topic: How to prevent http request from blocking task for too long?
Replies: 4
Views: 1356

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?...
by burkulesomesh43
Sat Jan 12, 2019 12:22 pm
Forum: ESP32 IDF
Topic: NTP server giving time after long time
Replies: 12
Views: 1904

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...
by burkulesomesh43
Fri Jan 11, 2019 5:34 pm
Forum: ESP32 IDF
Topic: NTP server giving time after long time
Replies: 12
Views: 1904

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...
by burkulesomesh43
Fri Jan 11, 2019 11:43 am
Forum: ESP32 IDF
Topic: NTP server giving time after long time
Replies: 12
Views: 1904

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...
by burkulesomesh43
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: 3920

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...
by burkulesomesh43
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: 3920

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...
by burkulesomesh43
Sun Jan 06, 2019 4:13 am
Forum: ESP32 IDF
Topic: Setting wifi configuration
Replies: 20
Views: 3170

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...
by burkulesomesh43
Tue Jan 01, 2019 10:44 am
Forum: ESP32 IDF
Topic: Setting wifi configuration
Replies: 20
Views: 3170

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...
by burkulesomesh43
Mon Dec 31, 2018 2:00 pm
Forum: ESP32 IDF
Topic: Setting wifi configuration
Replies: 20
Views: 3170

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...
by burkulesomesh43
Fri Dec 28, 2018 5:40 am
Forum: ESP32 IDF
Topic: guru meditation error
Replies: 18
Views: 2937

Re: guru meditation error

fivdiAtESP32 wrote:
Thu Dec 27, 2018 6:54 pm
It looks like there's a typo.

Replace:

Code: Select all

  if(p2 != NULL)
with:

Code: Select all

  if(i2 != NULL)
to see if it works.
it returns NULL not "0".
I am not getting why it is not giving output for only ",".

Go to advanced search