[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: [OASIS Issue Tracker] (MQTT-564) MQTT 5.0 behaviour for Request Problem Information
[ https://issues.oasis-open.org/browse/MQTT-564?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=79282#comment-79282 ] Peter Niblett edited comment on MQTT-564 at 5/20/21 4:57 PM: ------------------------------------------------------------- Here's another go at writing some text to clarify the intent of the current spec, if you don't think my previous attempt helped. Â Â If the value of Request Problem Information is 0, the Server MAY send a Reason String or User Properties relating to a failure on a CONNACK or DISCONNECT packet. It MUST NOT send a Reason String or User Properties in any other acknowledgement packet (PUBACK, PUBREC, PUBREL, PUBCOMP, SUBACK, UNSUBACK, AUTH).[MQTT-3.1.2-29].ÂÂÂ If the value is 0 and the Client receives a Reason String or User Properties in any of these other packets, it uses a DISCONNECT packet with Reason Code 0x82 (Protocol Error) as described inÂ[section 4.13|https://docs.oasis-open.org/mqtt/mqtt/v5.0/os/mqtt-v5.0-os.html#S4_13_Errors]ÂHandling errors. was (Author: peterniblett): Here's another go at writing some text to clarify the intent of the current spec, if you don't think my previous attempt helped. Â Â If the value of Request Problem Information is 0, the Server MAY send a Reason String or User Properties relating to a failure on a CONNACK or DISCONNECT packet. It MUST NOT send a Reason String or User Properties in any other acknowledgement packet (PUBACK, PUBREC, PUBREL, PUBCOMP, SUBACK, UNSUBACK, AUTH).[MQTT-3.1.2-29].ÂÂÂ If the value is 0 and the Client receives a Reason String or User Properties in any of these packets, it uses a DISCONNECT packet with Reason Code 0x82 (Protocol Error) as described inÂ[section 4.13|https://docs.oasis-open.org/mqtt/mqtt/v5.0/os/mqtt-v5.0-os.html#S4_13_Errors]ÂHandling errors. > MQTT 5.0 behaviour for Request Problem Information > -------------------------------------------------- > > Key: MQTT-564 > URL: https://issues.oasis-open.org/browse/MQTT-564 > Project: OASIS Message Queuing Telemetry Transport (MQTT) TC > Issue Type: Bug > Components: core, edits > Affects Versions: 5 > Reporter: Richard Coppen > Priority: Major > > Question fromÂTakatoshi on MQTT Comments list > Â > I have a comment about the following part of MQTT Version 5.0 document: > https://urldefense.proofpoint.com/v2/url?u=https-3A__docs.oasis-2Dopen.org_mqtt_mqtt_v5.0_os_mqtt-2Dv5.0-2Dos.html-23-5FToc3901053&d=DwIFaQ&c=jf_iaSHvJObTbx-siA1ZOg&r=HFOYf-FWdPMlPq2g5pc8M7HUYiSp2sC9P2hDoZdjdRo&m=jvexqqlWqfyLENYV-w-vdlZeZVUY9XTEHIAJKvZXxwo&s=GaNM7rm25khF8RtMPACWSQWGDvA7Mw4xE1MTuoQ28Xo&e= > ÂIf the value of Request Problem Information is 0, the Server MAY return a Reason String or User Properties on a CONNACK or DISCONNECT packet, but MUST NOT send a Reason String or User Properties on any packet other than PUBLISH, CONNACK, or DISCONNECT [MQTT-3.1.2-29]. If the value is 0 and the Client receives a Reason String or User Properties in a packet other than PUBLISH, CONNACK, or DISCONNECT, it uses a DISCONNECT packet with Reason Code 0x82 (Protocol Error) as described in section 4.13 Handling errors. > At first, the spec refer to CONNACK and DISCONNECT. But from theÂmiddle, PUBLISH is mixed. > Which MQTT control packets can use Reason String and/or User > Properties if Request Problem Information is 0 ? > Thanks, > Takatoshi -- 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]