MQTT: protocol guide / panduan protokol
Use a broker to distribute a QoS 1 sensor message.
Gunakan broker untuk menyebarkan pesan sensor QoS 1.
Communication walkthrough / Alur komunikasi
- CONNECT
A client introduces itself to a broker and requests a clean start.
Klien memperkenalkan diri ke broker dan meminta clean start.
- CONNACK
The broker accepts the connection; subscriptions are a separate operation.
Broker menerima koneksi; subscription adalah operasi terpisah.
- PUBLISH QoS 1
A topic names the stream. Packet Identifier correlates the QoS 1 acknowledgement.
Topic menamai aliran. Packet Identifier menghubungkan acknowledgement QoS 1.
- PUBACK
QoS 1 gives at-least-once delivery; duplicate handling remains important.
QoS 1 memberi pengiriman setidaknya sekali; penanganan duplikat tetap penting.
Source and simulation scope
This is a simplified, deterministic teaching scenario. Timing is illustrative. Messages grouped within one event are explicitly condensed. Hexadecimal fixtures, where shown, contain only the indicated protocol ADU, not a full network capture. No PCAP files are supplied.
MQTT · technical reference ↗