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-332) Consistency: 8 bits or one byte?


    [ https://issues.oasis-open.org/browse/MQTT-332?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=64772#comment-64772 ] 

Rahul Gupta commented on MQTT-332:
----------------------------------

Updated two sentences -

The Return Code is a one byte unsigned value that indicates the result of an operation. Return Codes less than 128 indicate successful completion. The normal Return Code for success is 0. Return Code values of 128 or greater indicate failure.

The one byte unsigned value that represents the revision level of the protocol used by the Client. The value of the Protocol Level field for the version 5.0 of the protocol is 5 (0x05). 

changed from 8 bit to one byte to make it consistent across the specification.

> Consistency: 8 bits or one byte?
> --------------------------------
>
>                 Key: MQTT-332
>                 URL: https://issues.oasis-open.org/browse/MQTT-332
>             Project: OASIS Message Queuing Telemetry Transport (MQTT) TC
>          Issue Type: Bug
>          Components: edits
>    Affects Versions: 5, wd10
>            Reporter: Brian Raymor
>            Assignee: Rahul Gupta
>            Priority: Trivial
>             Fix For: 5, wd10
>
>
> Sometimes the Return Code is described as an "8 bit" unsigned integer:
> 735 The Return Code is an 8 bit unsigned integer value that indicates the result of an operation.
> and other times as "one byte":
> 1999 The values for the one byte unsigned Publish Return Code field are listed



--
This message was sent by Atlassian JIRA
(v6.2.2#6258)


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