SleepHelper
Data Fields
SleepHelper::SleepConfigurationParameters Class Reference

Structure of information about the next planned sleep. More...

#include <SleepHelper.h>

Data Fields

bool isConnected
 Currently connected to cellular if true.
 
system_tick_t timeUntilNextFullWakeMs
 Number of milliseconds until next full wake.
 
time_t nextFullWakeTime
 Time of next full wake (Unix time seconds since January 1, 1970, at UTC)
 
uint64_t calculatedMillis
 System.millis() when the sleep duration was calculated.
 
system_tick_t sleepTimeMs
 Override setting for sleep duration.
 
bool disconnectCellular
 Override setting for disconnecting from cellular.
 

Detailed Description

Structure of information about the next planned sleep.

The sleep configuration function is passed this object and can modify the fields marked "override setting" to change the sleep behavior. The other fields are informational.


The documentation for this class was generated from the following file: