UDMI / Docs / Specs / System Mode
The system 'mode' controls the high-level operating mode of the entire system.
flowchart LR
Z[[SYSTEM<br/>RESTART]]
style Z fill:#f88
A[DEVICE STATE<br/><code>system.mode = <i>initial</i></code>]
B[DEVICE STATE<br/><code>system.mode = <i>active</i></code>]
C[DEVICE STATE<br/><code>system.mode = <i>restart</i></code>]
Z --> A
A -- DEVICE CONFIG <br/><code>system.mode = active</code> --> B
B -- DEVICE CONFIG <br/><code>system.mode = restart</code> --> C
C --> Z
Notes:
- The active/restart config modes are explicitly to prevent restart loops.
- Conceptually, restart could be other operating modes (e.g. shutdown).
- Initial device would be undefined if capability is not supported (legacy).