This issue is an extension of problem described in MQTT-5 for CONNECT command message.
Command Fixed header DUP, QOS, RETAIN Flags used
------------------ ---------------------------------------------------------------
CONNECT NO -----> Issue discussed in MQTT-5
CONNACK NO
PUBLISH YES ------> not an issue
PUBACK NO
PUBREC NO
PUBREL YES ------> not an issue
PUBCOMP NO
SUSCRIBE YES ------> not an issue
SUBACK NO
UNSUBSCRIBE YES ------> not an issue
UNSUBACK NO
PINGREQ NO
PINGRESP NO
DISCONNECT NO
The issue is opened in general for fixed header flags (DUP, QOS, RETAIN) in nine other command messages.
Also what should the receiver of these command messages do in case the bits are not set to zero and are malformed ? Do we need to discuss this as a separate JIRA issue for different command messages ?
Documentation currently done in WD-04 for CONNECT command message :
"Bits 3,2,1,0 are reserved for future use and MUST be set to zero by the client. The server MUST check that these bits are set to zero and disconnect the client if they are not set to zero."
Suggestions welcome .
This issue is an extension of problem described in
MQTT-5for CONNECT command message.Command Fixed header DUP, QOS, RETAIN Flags used
------------------ ---------------------------------------------------------------
CONNECT NO -----> Issue discussed in
MQTT-5CONNACK NO
PUBLISH YES ------> not an issue
PUBACK NO
PUBREC NO
PUBREL YES ------> not an issue
PUBCOMP NO
SUSCRIBE YES ------> not an issue
SUBACK NO
UNSUBSCRIBE YES ------> not an issue
UNSUBACK NO
PINGREQ NO
PINGRESP NO
DISCONNECT NO
The issue is opened in general for fixed header flags (DUP, QOS, RETAIN) in nine other command messages.
Also what should the receiver of these command messages do in case the bits are not set to zero and are malformed ? Do we need to discuss this as a separate JIRA issue for different command messages ?
Documentation currently done in WD-04 for CONNECT command message :
"Bits 3,2,1,0 are reserved for future use and MUST be set to zero by the client. The server MUST check that these bits are set to zero and disconnect the client if they are not set to zero."
Suggestions welcome .