• Type: Improvement
    • Resolution: Fixed
    • Priority: Major
    • wd03, 5
    • Affects Version/s: 5
    • Component/s: futures
    • None
    • 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
    • Hide

      Included in WD03

      Show
      Included in WD03

      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.

            Assignee:
            Ken Borgendale (Inactive)
            Reporter:
            Ian Craggs
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: