1
0
mirror of https://github.com/FreeRTOS/coreMQTT synced 2025-05-21 21:54:53 +08:00
coreMQTT/docs/plantuml/mqtt_receiveloop_design.pu
Muneeb Ahmed c45f7606b8
Add some MQTT design documentation (#26)
* Add some sections for MQTT design

* Add design diagrams

Co-authored-by: Gaurav-Aggarwal-AWS <33462878+aggarg@users.noreply.github.com>
2020-09-11 10:27:39 -07:00

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