~aleteoryx/muditaos

ref: 7a8e35016dc0509858bfc3d3d67830734cc1b97a muditaos/module-services/service-cellular/doc/urc_handling.puml -rw-r--r-- 925 bytes
7a8e3501 — Lefucjusz [MOS-1026] Add extended logging to Pure's charger driver 2 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
@startuml
skinparam BackgroundColor F0F0F0
participant ServiceCellular as cellular
participant TS0710 as ts
participant WorkerThread as worker
participant UrcFactory as factory
participant Urc as urc
participant CellularUrcHandler as handler


cellular -> ts + : <<create>>
cellular -> ts  : setCallback
ts -> worker * : <<create>>
note right worker 
processing of the incoming data takes place is separate thread
utilizing the callback function set by ServiceCellular
end note
loop true
?-> worker : new data
worker -> cellular : callback
cellular -> factory + : Create
factory -> urc ** : <<create>>
return <<return>>
cellular -> urc +: Handle(CellularUrcHandler)
urc -> handler + : Handle(Urc)
handler->? : <<specific system\nactions>>
handler<-? - : <<result>>
cellular -> handler + : getResponse
handler --> cellular - : <<response>>
?<--    cellular -- : ""multicast\nresponse""
cellular -> urc !! : delete
end
@enduml