[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [mqtt-comment] Why Maximum Packet Size = 2,684,354,565?
Thanks for pointing out my mistake both of you :) Cheers, Roger On 14 August 2017 at 13:34, Ian Craggs <icraggs@modelbasedtesting.co.uk> wrote: > Roger, > > then the number listed in the spec is written incorrectly, with an extra 5 > at the end. I was looking at this this morning. > > Ian > > > > On 14/08/2017 13:25, Roger Light wrote: >> >> Hi Tatsuzo, >> >> It's down to the way the "remaining length" value is constructed. It >> is 4 bytes with the most significant bit of each byte being a >> continuation bit. This gives us 7 bits of integer data per "byte", so >> a 28 bit integer in total. 2^28 = 268435456. >> >> Cheers, >> >> Roger >> >> >> On 14 August 2017 at 13:16, Tatsuzo Osawa <tatsuzo.osawa@gmail.com> wrote: >>> >>> Hi there, >>> >>> Could you show the reason of magic number "2,684,354,565" of Maximum >>> Packet Size ? >>> >>> Regards, >>> Tatsuzo Osawa >>> >>> -- >>> This publicly archived list offers a means to provide input to the >>> OASIS Message Queuing Telemetry Transport (MQTT) TC. >>> >>> In order to verify user consent to the Feedback License terms and >>> to minimize spam in the list archive, subscription is required >>> before posting. >>> >>> Subscribe: mqtt-comment-subscribe@lists.oasis-open.org >>> Unsubscribe: mqtt-comment-unsubscribe@lists.oasis-open.org >>> List help: mqtt-comment-help@lists.oasis-open.org >>> List archive: http://lists.oasis-open.org/archives/mqtt-comment/ >>> Feedback License: http://www.oasis-open.org/who/ipr/feedback_license.pdf >>> List Guidelines: http://www.oasis-open.org/maillists/guidelines.php >>> Committee: http://www.oasis-open.org/committees/mqtt >>> Join OASIS: http://www.oasis-open.org/join/ >>> > > -- > Ian Craggs > icraggs@uk.ibm.com IBM United Kingdom > Paho Project Lead; Committer on Mosquitto > > > > -- > This publicly archived list offers a means to provide input to the > OASIS Message Queuing Telemetry Transport (MQTT) TC. > > In order to verify user consent to the Feedback License terms and > to minimize spam in the list archive, subscription is required > before posting. > > Subscribe: mqtt-comment-subscribe@lists.oasis-open.org > Unsubscribe: mqtt-comment-unsubscribe@lists.oasis-open.org > List help: mqtt-comment-help@lists.oasis-open.org > List archive: http://lists.oasis-open.org/archives/mqtt-comment/ > Feedback License: http://www.oasis-open.org/who/ipr/feedback_license.pdf > List Guidelines: http://www.oasis-open.org/maillists/guidelines.php > Committee: http://www.oasis-open.org/committees/mqtt > Join OASIS: http://www.oasis-open.org/join/ >
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]