LV-MQTT-Broker icon indicating copy to clipboard operation
LV-MQTT-Broker copied to clipboard

[MQTT-4.3.3-2] QoS = 2 delivery protocol (receiver)

Open francois-normandin opened this issue 6 years ago • 0 comments

In the QoS 2 delivery protocol, the Receiver

MUST respond with a PUBREC containing the Packet Identifier from the incoming PUBLISH Packet, having accepted ownership of the Application Message. Until it has received the corresponding PUBREL packet, the Receiver MUST acknowledge any subsequent PUBLISH packet with the same Packet Identifier by sending a PUBREC. It MUST NOT cause duplicate messages to be delivered to any onward recipients in this case. MUST respond to a PUBREL packet by sending a PUBCOMP packet containing the same Packet Identifier as the PUBREL. After it has sent a PUBCOMP, the receiver MUST treat any subsequent PUBLISH packet that contains that Packet Identifier as being a new publication.

francois-normandin avatar Sep 30 '18 16:09 francois-normandin