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>
19 lines
319 B
Plaintext
19 lines
319 B
Plaintext
@startuml
|
|
skinparam dpi 300
|
|
skinparam ArrowFontSize 18
|
|
|
|
start
|
|
: Send CONNECT packet;
|
|
: count = 0;
|
|
|
|
repeat
|
|
: Receive single byte;
|
|
repeat while (No network data AND \ncount < MQTT_MAX_CONNACK_RECEIVE_RETRY_COUNT) is (yes)
|
|
-> no or timeout == 0;
|
|
|
|
: Get rest of CONNACK packet;
|
|
: Deserialize CONNACK packet;
|
|
stop
|
|
|
|
@enduml
|