I am trying to put the MKRFOX1200 in Deepsleep using LowPower.DeepSleep(milliseconds).
When I try LowPower.DeepSleep(8601000) everything works, the board goes to sleep for 8mins and then wakes up again, sends message and goes back to sleep for 8mins. When I try to make it go to sleep for 24hrs using LowPower.DeepSleep(1440601000) the board goes to sleep but wakes up immediatly. It gets caught in a loop of sleeping and waking up without interval. I have also tried LowPower.Deepsleep(720601000), it goes to sleep the first time, but doesn't wake up after 12hrs.
I have also read in another topic that #Define WAKE_UP_INTERVAL_24HR 86400000UL doesn't work either but #Define WAKE_UP_INTERVAL_6HR 21600000UL does work. I have thought about a work around to have the board wake up at it's max deepsleep period and use a counter. Just make it send the message every 4 or 8 wake ups. That will avoid sending more messages than I want but my battery life will probably suffer a lot.
Preferrably I want to send 1 message every 1-2 days on battery. Triggering with external pin is not possible, unless it is the only option.
Thanks for any help or suggestions.