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] (MQTT-576) Separate flags fields for connect, publish, subscribe


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

Ian Craggs updated MQTT-576:
----------------------------
    Proposal: 
5.3.4 Flags

_Rename section 5.3.4 to Publish Flags_

_Remove will and cleansession from both the diagram in table 4 and the list underneath. Leave remaining fields where they are - will and cleansession become reserved._

5.3.5 Connect Flags

Â
|Capabilities
(3)|Authentication
(2)|Will
(1)|Clean Session
(0)|
 * Capabilities: indicates capability exchange to follow
 * Authentication: indicates authentication exchange to follow
 * Will: _(as in current section 5.3.4)_
 * Clean Session: _(as in current section 5.3.4)_

Â

5.3.6 Subscribe Flags
|TopicIdType
(7,6)|Retain Handling
(5,4)|Retain as Published
(3)|No Local
(2)|QoS
(1,0)|
 * QoS: maximum QoS. This gives the maximum QoS level at which the Server can send Application Messages to the Client. It is a Protocol Error if the Maximum QoS field has the value 3.
 * No Local: if the value is 1, Application Messages MUST NOT be forwarded to a connection with a ClientID equal to the ClientID of the publishing connection
 * Retain as published: {color:#000000}If 1, Application Messages forwarded using this subscription keep the RETAIN flag they were published with. If 0, Application Messages forwarded using this subscription have the RETAIN flag set to 0. Retained messages sent when the subscription is established have the RETAIN flag set to 1.{color}
 * {color:#000000}{color:#000000}Retain handling. T{color}{color}his option specifies whether retained messages are sent when the subscription is established. This does not affect the sending of retained messages at any point after the subscribe. If there are no retained messages matching the Topic Filter, all of these values act the same. The values are:
 ** 0 = Send retained messages at the time of the subscribe
 ** 1 = Send retained messages at subscribe only if the subscription does not currently exist2
 ** 2 = Do not send retained messages at the time of the subscribe.
 ** It is a Protocol Error to send a Retain Handling value of 3.
 * TopicIdType: _(as in current section 5.3.4)_

Â

Â

Â

Â

Â

Â

Â

> Separate flags fields for connect, publish, subscribe
> -----------------------------------------------------
>
>                 Key: MQTT-576
>                 URL: https://issues.oasis-open.org/browse/MQTT-576
>             Project: OASIS Message Queuing Telemetry Transport (MQTT) TC
>          Issue Type: Improvement
>          Components: MQTT-SN
>    Affects Versions: MQTT-SN-1.2
>            Reporter: Ian Craggs
>            Assignee: Ian Craggs
>            Priority: Major
>
> To support new features of authentication https://issues.oasis-open.org/browse/MQTT-568, subscribe options https://issues.oasis-open.org/browse/MQTT-573, and capabilities https://issues.oasis-open.org/browse/MQTT-566, more flags are needed than are available in the current flags byte.



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


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