13 constant
int FAILURE_TYPE_NETWORK_DEVICE_NOT_DETECTED = 1;
14 constant
int FAILURE_TYPE_I2C_BUS_STUCK = 2;
15 constant
int FAILURE_TYPE_SUB_CTRL_NOT_REACHABLE = 3;
16 constant
int FAILURE_TYPE_SUB_CTRL_MALFUNCTION = 4;
17 constant
int FAILURE_TYPE_OUTLET_POWER_STATE_INCONSISTENT = 5;
18 constant
int FAILURE_TYPE_SUB_CTRL_INCOMPATIBLE = 6;
vector< Failure > getFailures()
Return a vector with past and present hardware failures.
Event that is send when the hardware failure status changes.
int failureType
one of the hardware failure type constants
boolean isAsserted
true when the failure is currently asserted
string componentId
the ID of the affected hardware component
int assertCount
count of assertions
int type
one of the hardware failure type constants
int creationOrderId
failures created later have a larger id; range 1..failure-count
string description
human readable string describing HW component and failure
boolean isAsserted
true when the failure is currently asserted
time lastAssertTimeStamp
UNIX timestamp (UTC) when the failure was last asserted.
string componentId
the ID of the affected hardware component
time lastDeassertTimeStamp
UNIX timestamp (UTC) when the failure was last deasserted (0 if asserted)
Common base for all events.