[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: [MQTT-3.3.1-10]Retain Handling 1 description
Hi, According to the MQTT v5.0 spec, https://docs.oasis-open.org/mqtt/mqtt/v5.0/os/mqtt-v5.0-os.html#_Toc3901104 > 3.3.1.3 RETAIN > ... > If Retain Handling is set to 1 then if the subscription did not already exist, the Server MUST send all retained message matching the Topic Filter of the subscription to the Client, and if the subscription did exist the Server MUST NOT send the retained messages. [MQTT-3.3.1-10]. It is reasonable. https://docs.oasis-open.org/mqtt/mqtt/v5.0/os/mqtt-v5.0-os.html#_Toc3901292 > Appendix B. Mandatory normative statement (non-normative) > [MQTT-3.3.1-10] > If Retain Handling is set to 1 then if the subscription did already exist, the Server MUST send all retained message matching the Topic Filter of the subscription to the Client, and if the subscription did not exist, the Server MUST NOT send the retained messages. This is opposite meaning of 3.3.3.1 RETAIN. In 3.3.3.1, "if the subscription did already exist", but in Appendix B "if the subscription did already exist". I think that "if the subscription did already exist" is correct so Appendix B should be fixed. --- Thanks, Takatoshi
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]