List of enumerations available for configuration or power events.
More...
|
| enum | Action { POWER_ON = 0,
REBOOT = 1,
STANDBY = 2,
SHUTDOWN = 3
} |
| | Action performed More...
|
| |
| enum | Cause { DEFAULT = 0,
CRITICAL_BATTERY = 1,
MCU_ERROR = 2,
IGNITION_OFF_TIMEOUT = 3
} |
| | Event cause More...
|
| |
| enum | Status {
IDLE = 0,
GOING_TO_REBOOT = 1,
GOING_TO_SLEEP = 2,
GOING_TO_POWER_OFF = 3,
REBOOTING = 4,
SLEEPING = 5,
POWERING_OFF = 6
} |
| | Power status More...
|
| |
| enum | Type { STARTED = 0,
COMPLETED = 1,
ABORTED = 2
} |
| | Event type More...
|
| |
◆ Action
| Enumerator |
|---|
| POWER_ON | The action of switching on the system.
|
| REBOOT | The action of restarting the system.
|
| STANDBY | The action of turning on standby mode (suspend to ram).
|
| SHUTDOWN | The action of switching off the system.
|
◆ Cause
| Enumerator |
|---|
| DEFAULT | Default action.
|
| CRITICAL_BATTERY | The action of warning the critical battery status.
|
| MCU_ERROR | The MCU is not ready for the transition.
|
| IGNITION_OFF_TIMEOUT | IGNITION has been off long enough to turn OBU off
|
◆ Status
| Enumerator |
|---|
| IDLE | Idle
|
| GOING_TO_REBOOT | Going to reboot
|
| GOING_TO_SLEEP | Going to sleep
|
| GOING_TO_POWER_OFF | Going to power off
|
| REBOOTING | Rebooting
|
| SLEEPING | Sleeping
|
| POWERING_OFF | Powering off
|
◆ Type
| Enumerator |
|---|
| STARTED | A Started message, it indicates that it is wanted to change the power state. However, it exits the possibility of aborting it.
|
| COMPLETED | A Completed message, it indicates that it is going to turn on the indicated action.
|
| ABORTED | An Aborting message, it indicates that the previous action was aborted.
|