ESP8266 Developer Zone The Official ESP8266 Forum 2017-11-17T10:19:53+08:00 https://bbs.espressif.com:443/feed.php?f=7&t=8377 2017-11-17T10:19:53+08:00 2017-11-17T10:19:53+08:00 https://bbs.espressif.com:443/viewtopic.php?t=8377&p=18199#p18199 <![CDATA[Re: MODEM_SLEEP_T and system idle task]]> Statistics: Posted by andrewtinkers — Fri Nov 17, 2017 10:19 am


]]>
2017-11-17T01:27:28+08:00 2017-11-17T01:27:28+08:00 https://bbs.espressif.com:443/viewtopic.php?t=8377&p=18197#p18197 <![CDATA[Re: MODEM_SLEEP_T and system idle task]]>
long.png

Statistics: Posted by andrewtinkers — Fri Nov 17, 2017 1:27 am


]]>
2017-11-16T16:00:56+08:00 2017-11-16T16:00:56+08:00 https://bbs.espressif.com:443/viewtopic.php?t=8377&p=18192#p18192 <![CDATA[Re: MODEM_SLEEP_T and system idle task]]> Statistics: Posted by Her Mary — Thu Nov 16, 2017 4:00 pm


]]>
2017-11-16T05:06:11+08:00 2017-11-16T05:06:11+08:00 https://bbs.espressif.com:443/viewtopic.php?t=8377&p=18183#p18183 <![CDATA[MODEM_SLEEP_T and system idle task]]>
However, I see some indeterminate behavior:

Most of the time, after a http request, I see the modem turn off, and the current draw drops from ~60mA to ~15mA within a second. And then there are short keep-alive connections later. This is expected.

However, sometimes after the http request, the modem stays on for 5 seconds, 10 seconds, even minutes. What determines this? Is it because we haven't hit a system idle task yet? If so, is there a way to debug which task is executing and preventing the system idle task?

Thank you!

Statistics: Posted by andrewtinkers — Thu Nov 16, 2017 5:06 am


]]>