getStandbyFlag method.
- This topic has 4 replies, 2 voices, and was last updated 8 years, 7 months ago by .
Viewing 5 posts - 1 through 5 (of 5 total)
Viewing 5 posts - 1 through 5 (of 5 total)
- You must be logged in to reply to this topic.
I was wondering if the getStandbyFlag method returns true even when it wakes up from deep sleep mode?
Thanks,
Yogesh
Deepsleep is standby mode.
The flag will be set when the application creates the mDot object if the device was in deepsleep/standby mode. If unthe reset button is pressed while in sleep the flag will also be set. Two reset presses will reset the flag before the mDot object creation. Otherwise the value is read and the flag is reset by mDot.
Thanks Jason for the explanation of the different scenarios in the deep sleep mode.
Sorry Jason a followup question. what would be the state of the flag if the mdot is powered off when it was in sleep mode? so when the mdot is powered on, and the mdot instance is created would the flag be unset?
Thanks,
Yogesh
Same as if it were powered on from outside of sleep.