mirror of
https://github.com/FreeRTOS/coreMQTT
synced 2025-05-21 21:54:53 +08:00

* Add some sections for MQTT design * Add design diagrams Co-authored-by: Gaurav-Aggarwal-AWS <33462878+aggarg@users.noreply.github.com>
22 lines
317 B
Plaintext
22 lines
317 B
Plaintext
@startuml
|
|
skinparam dpi 300
|
|
skinparam ArrowFontSize 18
|
|
|
|
start
|
|
|
|
repeat
|
|
: Receive single byte;
|
|
if( success ) then (yes)
|
|
: Get rest of packet;
|
|
: Deserialize packet;
|
|
: Application callback;
|
|
else (no)
|
|
endif
|
|
|
|
repeat while (**timeout** reached) is (no)
|
|
-> yes or timeout == 0;
|
|
|
|
stop
|
|
|
|
@enduml
|