Everything works fine, but for sleep-times > 5 Minutes, things get weird:
The ESP wakes up after 7-10 Minutes, although i defined:
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
long microDay = 24L * 60L * 60L * 1000L * 1000L;
ESP.deepSleep(microDay, WAKE_RF_DEFAULT);
but without success.
Is this somehow possible?