Uploaded image for project: 'OASIS Message Queuing Telemetry Transport (MQTT) TC'
  1. OASIS Message Queuing Telemetry Transport (MQTT) TC
  2. MQTT-474

If the packet has a zero length Topic Name field ...which Reason Code is appropriate?

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: No Action
    • Affects Version/s: 5, wd14
    • Fix Version/s: 5, wd14
    • Component/s: core
    • Labels:
      None
    • Resolution:
      Hide

      TC Meeting 22 June, we decided that Reason Code of 0x82 (Protocol Error) is the appropriate behaviour.

      Show
      TC Meeting 22 June, we decided that Reason Code of 0x82 (Protocol Error) is the appropriate behaviour.

      Description

      This issue was originally reported in MQTT-417.

      Line 2037-2039

      "3) If the receiver does not already have a mapping for this Topic Alias
      a) If the packet has a zero length Topic Name field it is a Protocol Error and the receiver uses DISCONNECT with Reason Code of 0x82 (Protocol Error) as described in section 4.13."

      Why not use Return Code of 0x94 Topic Alias invalid?

        Attachments

          Activity

          Hide
          ken.borgendale Ken Borgendale (Inactive) added a comment -

          The original discussion of 0x94 (Topic Alias invalid) is that it is outside of the valid range (>Maximum Topic Alias) and it is so documented.

          I do not see any requirement for this change.

          Show
          ken.borgendale Ken Borgendale (Inactive) added a comment - The original discussion of 0x94 (Topic Alias invalid) is that it is outside of the valid range (>Maximum Topic Alias) and it is so documented. I do not see any requirement for this change.

            People

            • Assignee:
              Unassigned
              Reporter:
              kdot Konstantin Dotchkoff [X] (Inactive)
            • Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: