~aleteoryx/muditaos

ref: afa71c7e53b5277ba7e16a5a3963a75d6cda768b muditaos/module-cellular/Modem/doc/Images/single_cmd.uml -rw-r--r-- 679 bytes
afa71c7e — Jakub Pyszczak [EGD-6051] Receiving notifications on bt 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
@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