OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

mqtt message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: [OASIS Issue Tracker] Updated: (MQTT-89) Dup Flag consistency after issue 27


     [ http://tools.oasis-open.org/issues/browse/MQTT-89?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Banks updated MQTT-89:
-----------------------------

     Summary: Dup Flag consistency after issue 27  (was: Dup Flag consistency after iss 27)
    Proposal: 
In the Subscribe Unsubcscribe and PubRel packets the Dup flag will be referred to as a reserved bit.

So for subscribe line 956 WD13:

Bit	7	6	5	4	3	2	1	0
byte 1	MQTT Control Packet type (8)	Dup flag	Reserved
	1	0	0	0	0	0	1	0
byte 2	Remaining Length

See MQTT Issue-27
Dup flag
Set to zero (0). This means that the packet is being sent for the first time. See DUP, section 2.2.2.1 for more details.

Bits 2,1 and 0 of the fixed header are reserved and must be set to 0,1 and 0 respectively. The server MUST treat any other value as malformed and close the Network Connection.


Becomes

Bit	7	6	5	4	3	2	1	0
byte 1	MQTT Control Packet type (8)	Reserved
	1	0	0	0	0	0	1	0
byte 2	Remaining Length


Bits 3,2,1 and 0 of the fixed header are reserved and must be set to 0,0,1 and 0 respectively. The server MUST treat any other value as malformed and close the Network Connection.


> Dup Flag consistency after issue 27
> -----------------------------------
>
>                 Key: MQTT-89
>                 URL: http://tools.oasis-open.org/issues/browse/MQTT-89
>             Project: OASIS Message Queuing Telemetry Transport (MQTT) TC
>          Issue Type: Improvement
>            Reporter: Andrew Banks
>
> Issue 27 mandated that the Dup flag is zero in Subscribe Unsubcscribe and PubRel packets. Should the specification now show the Dup flag at all for these packets and should it be labeled as reserved rather than Dup?

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://tools.oasis-open.org/issues/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]