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

Return code for Payload does not match Payload Format

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5, wd11
    • Fix Version/s: 5, wd11
    • Component/s: None
    • Labels:
      None
    • Proposal:
      Hide

      The receiver MAY validate that the Payload is of the format indicated and if it is not send a PUBACK, PUBREC, or DISCONNECT Packet with a Return Code of 0x99 (Payload Format Invalid).

      Add the Return Code 0x99 (Payload Format Invalid) where required.

      Show
      The receiver MAY validate that the Payload is of the format indicated and if it is not send a PUBACK, PUBREC, or DISCONNECT Packet with a Return Code of 0x99 (Payload Format Invalid). Add the Return Code 0x99 (Payload Format Invalid) where required.

      Description

      In section 3.3.2.4 Payload Format Indicator we say the receiver MAY validate the Payload is of the specified format. However we do not define a Return Code for this. Also in this case it would make sense in the case of a QoS>0 message send send a NAK rather than closing the connection.

        Attachments

          Activity

            People

            • Assignee:
              ken.borgendale Ken Borgendale (Inactive)
              Reporter:
              ken.borgendale Ken Borgendale (Inactive)
            • Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: