~aleteoryx/muditaos

ref: ea27e6871615172000db8664a9d11d1b6103c562 muditaos/module-cellular/Modem/doc/Images/single_cmd.uml -rw-r--r-- 679 bytes
ea27e687 — Maciej Janicki [EGD-5748] Remake Cellular flow 5 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
@startuml
title Single cmd processing

participant IRQ order 1
participant BSP order 2
participant CellularWorker order 3
participant Channel order 4
participant Service order 5

CellularWorker -> BSP: Read()
rnote over CellularWorker: Wait for data in MessageBuffer
Service -> Channel: cmd()
activate CellularWorker
Channel -> BSP : Write()
rnote over Channel: Wait for cmd response in MessageBuffer
activate Channel
rnote over IRQ: DMA received data
IRQ -> CellularWorker: MessageBufferSendFromISR()
rnote over CellularWorker: processData()
CellularWorker -> Channel: MessageBufferSend()
rnote over Channel: Parse response
deactivate Channel
Channel -> Service: Result
@enduml