Commit 2ad260f
committed
app: main + fota: Split out FOTA controller logic into separate module
Splits out the FOTA controller logic from the main application into a
separate module, responsible for managing the FOTA state machine.
The main application now only triggers FOTA polls and reacts to
high-level FOTA outcomes published by the controller,
without needing to manage the details of the FOTA process.
Signed-off-by: Trond F. Christiansen <trond.christiansen@nordicsemi.no>1 parent 3fd73d0 commit 2ad260f
16 files changed
Lines changed: 1060 additions & 355 deletions
File tree
- app
- src
- modules/fota_controller
- tests/module
- fota_controller
- src
- main
- src
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
31 | 32 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
242 | 242 | | |
243 | 243 | | |
244 | 244 | | |
245 | | - | |
| 245 | + | |
246 | 246 | | |
247 | 247 | | |
248 | 248 | | |
| |||
0 commit comments