maximum sleep / waking up from deep-sleep too early?
Posted: Wed Jan 27, 2016 12:48 pm
I send my ESP-01 to deepsleep after a request.
Everything works fine, but for sleep-times > 5 Minutes, things get weird:
The ESP wakes up after 7-10 Minutes, although i defined:
But it SHOULD sleep for 1 Day (86400*1000*1000)...
Could this be a problem of INT/LONG behaviour?
i tried as well
but without success.
Is this somehow possible?
Everything works fine, but for sleep-times > 5 Minutes, things get weird:
The ESP wakes up after 7-10 Minutes, although i defined:
Code: Select all
ESP.deepSleep(86400000000, WAKE_RF_DEFAULT);
delay(500);
But it SHOULD sleep for 1 Day (86400*1000*1000)...
Could this be a problem of INT/LONG behaviour?
i tried as well
Code: Select all
long microDay = 24L * 60L * 60L * 1000L * 1000L;
ESP.deepSleep(microDay, WAKE_RF_DEFAULT);
but without success.
Is this somehow possible?