getStandbyFlag method.

Home Forums mDot/xDot getStandbyFlag method.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #14445
    Tom Hill
    Participant

    I was wondering if the getStandbyFlag method returns true even when it wakes up from deep sleep mode?

    Thanks,
    Yogesh

    #14446
    Jason Reiss
    Keymaster

    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.

    #14480
    Tom Hill
    Participant

    Thanks Jason for the explanation of the different scenarios in the deep sleep mode.

    #14484
    Tom Hill
    Participant

    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

    #14489
    Jason Reiss
    Keymaster

    Same as if it were powered on from outside of sleep.

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.