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

SN Feature: server initiated disconnects

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5
    • Fix Version/s: wd03, 5
    • Component/s: futures
    • Labels:
      None
    • Proposal:
      Hide

      The DISCONNECT packet is the final Control Packet sent by the Client to the Server, or by the Server to the Client. When sent by the client, it indicates that the Client is disconnecting cleanly. When sent by the server, the packet must include a one byte reason code, indicating the reason for the disconnection.

      Reason code values
      1 - Server shutting down
      2 - Server temporarily unavailable - please try later
      3 - Client actions caused disconnect

      Show
      The DISCONNECT packet is the final Control Packet sent by the Client to the Server, or by the Server to the Client. When sent by the client, it indicates that the Client is disconnecting cleanly. When sent by the server, the packet must include a one byte reason code, indicating the reason for the disconnection. Reason code values 1 - Server shutting down 2 - Server temporarily unavailable - please try later 3 - Client actions caused disconnect
    • Resolution:
      Hide

      Included in WD03

      Show
      Included in WD03

      Description

      MQTT-SN allows the server to send a disconnect packet to a client. This is much nicer behaviour, for example in the case that a server is shutting down. A reason could also be transmitted with the disconnect packet, so that the client had some idea of when to attempt to reconnect.

        Attachments

          Activity

            People

            • Assignee:
              ken.borgendale Ken Borgendale (Inactive)
              Reporter:
              icraggs Ian Craggs (Inactive)
            • Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: