[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: MQTT Version 5.0 - Public Review - Property Length in UNSUBACK cannot be zero or missing
In MQTT V5, the UNSUBACK Payload will be always at least 1 byte long to contain the reason code(s). Keeping this in mind the Remaining length will always be at least 4 bytes long and the property length variable byte can never be left out. Please remove the sentence "If the Remaining Length is less than 3 there is no Properties." --- 3.11.2.1 UNSUBACK Properties3.11.2.1.1 Property LengthThe length of the Properties in the UNSUBACK packet Variable Header encoded as a Variable Byte Integer. If the Remaining Length is less than 3 there is no Properties. … 3.11.3 UNSUBACK PayloadThe Payload contains a list of Reason Codes. Each Reason Code corresponds to a Topic Filter in the UNSUBSCRIBE packet being acknowledged. The order of Reason Codes in the UNSUBACK packet MUST match the order of Topic Filters in the UNSUBSCRIBE packet [MQTT-3.11.3-1]. Christoph Krey <c@ckrey.de> 7582 9188 8D6C E945 15BA 4CD9 900D FB34 2AB0 38D7 Breite Strasse 79, 41460 Neuss, Germany +49 1511 874 4526 |
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]