~aleteoryx/muditaos

ref: d87ab0a5d8b89beaf56b72c492f1ce5f7de7ec11 muditaos/module-services/service-time/doc/time_date_flow.puml -rw-r--r-- 1.1 KiB
d87ab0a5 — Pawel Olejniczak [CP-225] Create contact using post method, and update it using put 4 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
@startuml
participant ServiceCellular as cellular
participant ServiceTime as time
participant TimeManager as manager
participant SettingsApp as settings
participant SettingsDB as db
participant EventManager as event
participant bspRTC as rtc
participant OS as os

== Network time sync enabled ==
time -> cellular : Settings: Network time synchronisation Network time sync enabled
cellular -> time : CTZE notification: time update
time -> manager : Update time
manager -> event : Store new time
event -> rtc : Store new time
event -> os : Time updated notification

== Disabling / Enabling Network time synchonisation ==
settings -> time : Time synchronisation disabled / enabled
time -> db : Store new settings
db -> time : Setting stored
time -> cellular : Setting changed
cellular -> cellular : handle settings changed ( Enable / Disable Network time reporting)

== Network time synchronisation disabled, manually setting date / time==
settings -> time : New date / time is set
time -> manager : Update time
manager -> event : Store new time
event -> rtc : Store new time
event -> os : Time updated notification




@enduml