FireSync API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
kRestartReason Struct Reference

Description

Represents the reason that a device was rebooted.

This enum is used in conjunction with watchdog timers to represent the reason that a device is rebooted.

Related

#define kRESTART_REASON_NONE
 Device not rebooted by watchdog.
 
#define kRESTART_REASON_UNRESPONSIVE
 Software became unresponsive; reset by hardware watchdog.
 
#define kRESTART_REASON_MEMORY_EXHAUSTED
 Software detected memory exhausted.
 
#define kRESTART_REASON_DEADLOCK
 Software detected thread deadlock in part of the program.
 
#define kRESTART_REASON_CRASH
 Software detected a crash and initiated a reboot.
 
#define kRESTART_REASON_APP_CODE_0
 Application-specific failure code 0.
 
#define kRESTART_REASON_APP_CODE_1
 Application-specific failure code 1.
 
#define kRESTART_REASON_APP_CODE_2
 Application-specific failure code 2.
 
#define kRESTART_REASON_APP_CODE_3
 Application-specific failure code 3.
 

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