Hello,
I have an issue using the MKRFOX board with power saving feature.
I am using the latest libraries and boards.
Simple way to reproduce:
Take EventTrigger example sketch, and change this:
LowPower.sleep();
to this:
LowPower.sleep(60000);
Result: I get two frames at 60 seconds interval, but never the third, a reset is necessary, and same behaviour continues.
After further troubleshooting I have identified that following part of code never returns after sending the second frame (second frame which is actually received by the backend).
I have also noticed that I only encounter this with timed wakeups, not event wakeups.
I also added this to be sure, but that didn't help:
LowPower.attachInterruptWakeup(RTC_ALARM_WAKEUP, alarmEvent0, CHANGE);
While troubelshooting, I added this in the setup:
SigFox.debug();
And this time I got consistent results.
I then read in documentation that Enabling the debugging all the power saving features are disabled.
That doesn't impact SAMD power saving features.
So the WeatherMonitor example sketch which comes with Sigfox library simply doesn't work.
Is anybody able to reproduce or tell what is going wrong?
Yanik