My 25.2 imp has adopted a new habit - I am not sure at which release this started.
It is requiring a power cycle each time I get around to using it - I don’t use the device every day.
i added some code to log to the planner every 5 minutes but this did not change it. Most recently it ran for 12 hours before stopping and today for 5 hours.
from boot the log looks like this:
…
8/8/2013 6:18:04 AM: 8 8/8/2013 6:18:04 AM: 0e967a4 - Fri Jul 19 10:04:28 2013 8/8/2013 6:18:04 AM: 02bdb9e2b5cf 8/8/2013 6:18:04 AM: 28464 8/8/2013 6:23:04 AM: 42864 8/8/2013 6:28:04 AM: 42864 8/8/2013 6:33:04 AM: 42864 and on and on
and at the end the last thing I see is
8/8/2013 11:03:04 AM: 42864 8/8/2013 11:08:04 AM: 42864 8/8/2013 11:13:04 AM: 42864 8/8/2013 11:18:04 AM: 42864
I have tried sending new code to it and get no response. I am fairly certain that I used to tinker with this machine over my lunch hour.
I also have an imp running at work and that thing has never gone offline that i can recall.
What do I have to do in order to make it stay awake and online?
I have never used the sleep commands in my code.
This is the code I added to attempt keeping it awake
`function stayalive(){
server.log(imp.getmemoryfree());
imp.wakeup(300,stayalive);
}
stayalive();
`
That is the last thing in my program