[OASIS Issue Tracker] (MQTT-574) Add reason code/string to the disconnect packet

From
OASIS Issues Tracker <>
Date
2020-11-11T12:28:07+00:00
ID
Thread
[OASIS Issue Tracker] (MQTT-574) Add reason code/string to the disconnect packet
[ https://issues.oasis-open.org/browse/MQTT-574?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Simon Johnson updated MQTT-574:
-------------------------------
    Proposal: 
New disconnect packet would look like, including the new KeepAlive field expansion

||Length||MsgType||KeepAlive||ReasonCode||ReasonString||
|(octet 0)|(1)|(2-5)|(6)|(7-N)


  was:
New disconnect packet would look like, including the new KeepAlive field expansion

||Length||MsgType||KeepAlive||ReasonCode||ReasonString

|(octet 0)|(1)|(2-5)|(6)|(7-N)|


> Add reason code/string to the disconnect packet
> -----------------------------------------------
>
>                 Key: MQTT-574
>                 URL: https://issues.oasis-open.org/browse/MQTT-574
>             Project: OASIS Message Queuing Telemetry Transport (MQTT) TC
>          Issue Type: Improvement
>          Components: MQTT-SN
>    Affects Versions: MQTT-SN-1.2
>            Reporter: Ian Craggs
>            Assignee: Simon Johnson
>            Priority: Major
>
> As in MQTT 5.0, the disconnect packet should contain a reason code, and perhaps a reason string so that the receiver has an explanation for the termination of the session.



--
This message was sent by Atlassian Jira
(v8.3.3#803004)