-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
46 changed files
with
102 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,53 @@ | ||
@startuml app_layer | ||
|
||
skinparam component { | ||
BackgroundColor<<Arduino>> Lightgreen | ||
BackgroundColor<<Future>> White | ||
} | ||
|
||
package "Application" as app { | ||
|
||
component "StateMachine" as stateMachine | ||
component "DisplayMgr" as displayMgr | ||
component "UpdateMgr" as updateMgr | ||
component "main" as main <<program-entry>> | ||
|
||
package "StateMachine" as stateMachinePckg { | ||
component "StateMachine" as stateMachine | ||
} | ||
|
||
package "General" as generalPckg { | ||
component "MiniTerminal" as miniTerminal | ||
component "MemoryMonitor" as memoryMonitor | ||
} | ||
|
||
package "ButtonHandler" as buttonHandlerPckg { | ||
component "ButtonHandler" as buttonHandler | ||
} | ||
|
||
package "DisplayMgr" as displayMgrPckg { | ||
component "DisplayMgr" as displayMgr | ||
} | ||
|
||
package Plugin | ||
package "Plugin" as pluginPckg { | ||
component "PluginMgr" as pluginMgr | ||
} | ||
|
||
package "SystemState" as systemStatePckg { | ||
component "APState" as apState | ||
component "ConnectedState" as connectedState | ||
component "ConnectingState" as connectingState | ||
component "ErrorState" as errorState | ||
component "IdleState" as idleState | ||
component "InitState" as initState | ||
component "RestartState" as restartState | ||
} | ||
|
||
package "State" as state { | ||
component "APState" | ||
component "ConnectedState" | ||
component "ConnectingState" | ||
component "ErrorState" | ||
component "IdleState" | ||
component "InitState" | ||
component "RestartState" | ||
package "Update" as updatePckg { | ||
component "UpdateMgr" as updateMgr | ||
} | ||
|
||
stateMachine ...> state | ||
main --> stateMachine | ||
main --> miniTerminal | ||
main ---> buttonHandler | ||
main --> memoryMonitor | ||
stateMachine o---> systemStatePckg | ||
|
||
displayMgr ..> Plugin | ||
initState ...> updateMgr: <<use>> | ||
connectedState ...> updateMgr: <<use>> | ||
restartState ...> updateMgr: <<use>> | ||
} | ||
|
||
@enduml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,7 +28,7 @@ | |
* @brief Abstract state machine | ||
* @author Andreas Merkle <[email protected]> | ||
* | ||
* @addtogroup statemachine | ||
* @addtogroup STATE_MACHINE | ||
* | ||
* @{ | ||
*/ | ||
|
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,7 +28,7 @@ | |
* @brief Button actions | ||
* @author Andreas Merkle <[email protected]> | ||
* | ||
* @addtogroup app | ||
* @addtogroup BUTTON_HANDLER | ||
* | ||
* @{ | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,7 +28,7 @@ | |
* @brief Button handler | ||
* @author Andreas Merkle <[email protected]> | ||
* | ||
* @addtogroup app | ||
* @addtogroup BUTTON_HANDLER | ||
* | ||
* @{ | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,7 +28,7 @@ | |
* @brief One button controller | ||
* @author Andreas Merkle <[email protected]> | ||
* | ||
* @addtogroup app | ||
* @addtogroup BUTTON_HANDLER | ||
* | ||
* @{ | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,7 +28,7 @@ | |
* @brief Three button controller | ||
* @author Andreas Merkle <[email protected]> | ||
* | ||
* @addtogroup app | ||
* @addtogroup BUTTON_HANDLER | ||
* | ||
* @{ | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,7 +28,7 @@ | |
* @brief Two button controller | ||
* @author Andreas Merkle <[email protected]> | ||
* | ||
* @addtogroup app | ||
* @addtogroup BUTTON_HANDLER | ||
* | ||
* @{ | ||
*/ | ||
|
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,7 +28,7 @@ | |
* @brief Ambient light functions | ||
* @author Andreas Merkle <[email protected]> | ||
* | ||
* @addtogroup gfx | ||
* @addtogroup DISPLAY_MGR | ||
* | ||
* @{ | ||
*/ | ||
|
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,7 +28,7 @@ | |
* @brief Brightness controller | ||
* @author Andreas Merkle <[email protected]> | ||
* | ||
* @addtogroup gfx | ||
* @addtogroup DISPLAY_MGR | ||
* | ||
* @{ | ||
*/ | ||
|
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,7 +28,7 @@ | |
* @brief Display manager | ||
* @author Andreas Merkle <[email protected]> | ||
* | ||
* @addtogroup gfx | ||
* @addtogroup DISPLAY_MGR | ||
* | ||
* @{ | ||
*/ | ||
|
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,7 +28,7 @@ | |
* @brief Slot | ||
* @author Andreas Merkle <[email protected]> | ||
* | ||
* @addtogroup gfx | ||
* @addtogroup DISPLAY_MGR | ||
* | ||
* @{ | ||
*/ | ||
|
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,7 +28,7 @@ | |
* @brief Slot list | ||
* @author Andreas Merkle <[email protected]> | ||
* | ||
* @addtogroup gfx | ||
* @addtogroup DISPLAY_MGR | ||
* | ||
* @{ | ||
*/ | ||
|
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,7 +28,7 @@ | |
* @brief System state: AP | ||
* @author Andreas Merkle <[email protected]> | ||
* | ||
* @addtogroup sys_states | ||
* @addtogroup SYS_STATES | ||
* | ||
* @{ | ||
*/ | ||
|
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,7 +28,7 @@ | |
* @brief System state: Connected | ||
* @author Andreas Merkle <[email protected]> | ||
* | ||
* @addtogroup sys_states | ||
* @addtogroup SYS_STATES | ||
* | ||
* @{ | ||
*/ | ||
|
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,7 +28,7 @@ | |
* @brief System state: Connecting | ||
* @author Andreas Merkle <[email protected]> | ||
* | ||
* @addtogroup sys_states | ||
* @addtogroup SYS_STATES | ||
* | ||
* @{ | ||
*/ | ||
|
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,7 +28,7 @@ | |
* @brief System state: Error | ||
* @author Andreas Merkle <[email protected]> | ||
* | ||
* @addtogroup sys_states | ||
* @addtogroup SYS_STATES | ||
* | ||
* @{ | ||
*/ | ||
|
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,7 +28,7 @@ | |
* @brief System state: Idle | ||
* @author Andreas Merkle <[email protected]> | ||
* | ||
* @addtogroup sys_states | ||
* @addtogroup SYS_STATES | ||
* | ||
* @{ | ||
*/ | ||
|
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,7 +28,7 @@ | |
* @brief System state: Init | ||
* @author Andreas Merkle <[email protected]> | ||
* | ||
* @addtogroup sys_states | ||
* @addtogroup SYS_STATES | ||
* | ||
* @{ | ||
*/ | ||
|
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,7 +28,7 @@ | |
* @brief System state: Restart | ||
* @author Andreas Merkle <[email protected]> | ||
* | ||
* @addtogroup sys_states | ||
* @addtogroup SYS_STATES | ||
* | ||
* @{ | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,7 +28,7 @@ | |
* @brief Update manager | ||
* @author Andreas Merkle <[email protected]> | ||
* | ||
* @addtogroup update | ||
* @addtogroup UPDATE | ||
* | ||
* @{ | ||
*/ | ||
|