-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🚧 wip(th sensor) start implementing the interface functions
- Loading branch information
1 parent
8c30b37
commit 5612498
Showing
13 changed files
with
211 additions
and
67 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
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
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
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
28 changes: 28 additions & 0 deletions
28
firmware/iot-risk-logger-stm32l4/app/tasks/temperature_humidity_sensor/README.md
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 |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# Temperature & Humidity Sensor Task | ||
|
||
### Overview | ||
|
||
### State Diagram | ||
|
||
<details> | ||
<summary>Diagram as a code</summary> | ||
|
||
```plantuml | ||
@startuml | ||
title Temperature & Humidity Sensor FSM | ||
hide empty description | ||
IDLE: Initialized\nready for commands, low power mode | ||
CONTINUOUS_MEASURE: Device is measuring continuously\ngenerates interrupt on threshold exceed\n\nGLOBAL_WAKE_N_READ: Cron Read Measurements | ||
[*] --> IDLE : GLOBAL_CMD_INITIALIZE | ||
note "Publishes: \nGLOBAL_INITIALIZE_SUCCESS\nGLOBAL_ERROR" as N1 | ||
IDLE --> IDLE : SINGLE_SHOT_READ | ||
IDLE --> IDLE : SET_LIMIT | ||
IDLE --> CONTINUOUS_MEASURE : GLOBAL_CMD_START_CONTINUOUS_SENSING | ||
CONTINUOUS_MEASURE --> CONTINUOUS_MEASURE : GLOBAL_WAKE_N_READ | ||
CONTINUOUS_MEASURE --> CONTINUOUS_MEASURE : LIMIT_INT | ||
ERROR --> IDLE : RECOVER (TODO) | ||
IDLE --> ERROR : ERROR | ||
CONTINUOUS_MEASURE --> ERROR : ERROR | ||
@enduml | ||
``` | ||
</details> |
Oops, something went wrong.