RDK Documentation (Open Sourced RDK Components)

Description

Macros

#define LOG(...)   printf(__VA_ARGS__)
 

Functions

IARM_Result_t DeepSleepMgr_Start (int argc, char *argv[])
 
IARM_Result_t DeepSleepMgr_Loop ()
 
IARM_Result_t DeepSleepMgr_Stop (void)
 
static void _eventHandler (const char *owner, IARM_EventId_t eventId, void *data, size_t len)
 
static IARM_Result_t _DeepSleepWakeup (void *arg)
 
static IARM_Result_t _SetDeepSleepTimer (void *arg)
 
static IARM_Result_t _GetDeepSleepStatus (void *arg)
 
static IARM_Result_t _GetLastWakeupReason (void *arg)
 
static IARM_Result_t _GetLastWakeupKeyCode (void *arg)
 
static gboolean heartbeatMsg (gpointer data)
 
static gboolean deep_sleep_delay_timer_fn (gpointer data)
 
int main (int argc, char *argv[])
 
int processColdFactoryReset ()
 
int processFactoryReset ()
 
int processWareHouseReset ()
 
int processWHReset ()
 
int processWHResetNoReboot ()
 
int processCustomerReset ()
 

Variables

static uint32_t deep_sleep_delay_timeout = 0
 
static uint32_t deep_sleep_wakeup_timer = 0
 
static bool nwStandbyMode_gs = false
 
GMainLoop * deepSleepMgr_Loop = NULL
 
static guint dsleep_delay_event_src = 0
 
static DeepSleepStatus_t IsDeviceInDeepSleep = DeepSleepStatus_NotStarted
 
static gboolean isLxcRestart = 0