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.
- Related to
-
MQTT-559 DISCONNECT duration 16-bit field does not allow long enough to sleep
- Applied