OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

mqtt message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: [OASIS Issue Tracker] (MQTT-348) Consistency: Variations in Malformed Packet Return Code (with one error)


Brian Raymor created MQTT-348:
---------------------------------

             Summary: Consistency: Variations in Malformed Packet Return Code (with one error)
                 Key: MQTT-348
                 URL: https://issues.oasis-open.org/browse/MQTT-348
             Project: OASIS Message Queuing Telemetry Transport (MQTT) TC
          Issue Type: Bug
          Components: edits
    Affects Versions: 5, wd10
            Reporter: Brian Raymor
            Priority: Minor
             Fix For: 5, wd10


This is one example. It would be useful to review all references to Return Codes and ensure a consistent style.

There are three variations:
* hex return code
* decimal (hex) return code
* human readable name - hex return code - which is my preference for the style.

1. Is this supposed to be "with Malformed Packet Return Code 0x81" (129 is the decimal value not the hex value)

754 ... The receiver of a Malformed Packet MUST close the Network
755 Connection and MAY send a CONNACK or DISCONNECT with Return Code *0x129* before doing so.

2. This is the decimal (hex) variation:

1617 Packet which has both QoS bits set to 1 it MAY send a DISCONNECT Packet with Return Code 129
1618 (0x81), it MUST close the Network Connection.

3. This is the human readable name - hex variation:

2529 The Client or Server MUST validate that reserved bits are set to zero and close the Network Connection if
2530 they are not zero. It MAY send a DISCONNECT packet with a Malformed Packet Return Code 0x81 in
2531 response.



--
This message was sent by Atlassian JIRA
(v6.2.2#6258)


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]