{"id":2667,"date":"2017-07-02T17:41:16","date_gmt":"2017-07-02T15:41:16","guid":{"rendered":"http:\/\/www.jensd.de\/wordpress\/?p=2667"},"modified":"2017-07-03T11:31:11","modified_gmt":"2017-07-03T09:31:11","slug":"unveiled-why-mqtt-v4-0-will-never-be-released","status":"publish","type":"post","link":"https:\/\/www.jensd.de\/wordpress\/?p=2667","title":{"rendered":"&#8220;Secret&#8221; unveiled: Why MQTT v4.0 will never be released"},"content":{"rendered":"<p>In 2010 MQTT version 3.1 was released to the public.<br \/>\nAbout 4 years later MQTT 3.1.1 became an OASIS Standard.<br \/>\nBy end of this year (likely) the next version of the MQTT specification will be released: MQTT v5.0.<br \/>\nBut wait! MQTT v3.1.1 and now v5.0? Why isn&#8217;t the next release v4.0?<\/p>\n<p>Well, the root cause lies in the variable header of the MQTT CONNECT Control Packet.<br \/>\nThe protocol version or to be more precise, the <a href=\"http:\/\/docs.oasis-open.org\/mqtt\/mqtt\/v3.1.1\/csprd02\/mqtt-v3.1.1-csprd02.html#_Toc385349771\">protocol revision level is set in byte #7<\/a>:<\/p>\n<p><strong><em>&#8220;The 8 bit unsigned value that represents the revision level of the protocol used by the Client. The value of the Protocol Level field for the version 3.1.1 of the protocol is 4 (0x04).&#8221;<\/em><\/strong><\/p>\n<figure id=\"attachment_2670\" aria-describedby=\"caption-attachment-2670\" style=\"width: 300px\" class=\"wp-caption alignright\"><img loading=\"lazy\" decoding=\"async\" data-attachment-id=\"2670\" data-permalink=\"https:\/\/www.jensd.de\/wordpress\/?attachment_id=2670\" data-orig-file=\"https:\/\/www.jensd.de\/wordpress\/wp-content\/uploads\/2017\/07\/Pasted-Graphic-1.png\" data-orig-size=\"964,748\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Pasted Graphic 1\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/www.jensd.de\/wordpress\/wp-content\/uploads\/2017\/07\/Pasted-Graphic-1-300x233.png\" data-large-file=\"https:\/\/www.jensd.de\/wordpress\/wp-content\/uploads\/2017\/07\/Pasted-Graphic-1.png\" tabindex=\"0\" role=\"button\" class=\"wp-image-2670 size-medium\" src=\"http:\/\/www.jensd.de\/wordpress\/wp-content\/uploads\/2017\/07\/Pasted-Graphic-1-300x233.png\" alt=\"\" width=\"300\" height=\"233\" srcset=\"https:\/\/www.jensd.de\/wordpress\/wp-content\/uploads\/2017\/07\/Pasted-Graphic-1-300x233.png 300w, https:\/\/www.jensd.de\/wordpress\/wp-content\/uploads\/2017\/07\/Pasted-Graphic-1-768x596.png 768w, https:\/\/www.jensd.de\/wordpress\/wp-content\/uploads\/2017\/07\/Pasted-Graphic-1-720x559.png 720w, https:\/\/www.jensd.de\/wordpress\/wp-content\/uploads\/2017\/07\/Pasted-Graphic-1.png 964w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><figcaption id=\"caption-attachment-2670\" class=\"wp-caption-text\">MQTT v3.1.1 CONNECT message<\/figcaption><\/figure>\n<p>&nbsp;<\/p>\n<p>The protocol level of v3.1 is defined as <em>3<\/em> and v3.1.1 is <em>4<\/em>.<br \/>\nHence the next protocol level is <em>5<\/em>.<br \/>\nTo avoid inconsistency the specification group has agreed to name the <a href=\"https:\/\/www.oasis-open.org\/committees\/download.php\/60111\/mqtt-v5.0-wd11.pdf\">next MQTT version accordingly<\/a>:<\/p>\n<p><strong><em>&#8220;The\u00a0value of the Protocol Level field for the version 5.0 of the protocol is 5 (0x05).&#8221;<\/em><\/strong><\/p>\n<p>That\u2019s it ;-)!<\/p>\n<div class=\"page\" title=\"Page 28\"><\/div>\n","protected":false},"excerpt":{"rendered":"<p>In 2010 MQTT version 3.1 was released to the public. About 4 years later MQTT 3.1.1 became an OASIS Standard. By end of this year (likely) the next version of the MQTT specification will be released: MQTT v5.0. But wait! MQTT v3.1.1 and now v5.0? Why isn&#8217;t the next release v4.0? Well, the root cause&hellip; <span class=\"clear\"><\/span><a href=\"https:\/\/www.jensd.de\/wordpress\/?p=2667\" class=\"more-link read-more\" rel=\"bookmark\">Continue Reading <span class=\"screen-reader-text\">&#8220;Secret&#8221; unveiled: Why MQTT v4.0 will never be released<\/span><i class=\"fa fa-arrow-right\"><\/i><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":true,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"footnotes":"","_jetpack_memberships_contains_paid_content":false,"jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false},"version":2}},"categories":[22,42,30,45,4,46,50,57],"tags":[88,101,91,76,102,106,86],"jetpack_publicize_connections":[],"aioseo_notices":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p38FCL-H1","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.jensd.de\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/2667"}],"collection":[{"href":"https:\/\/www.jensd.de\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.jensd.de\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.jensd.de\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.jensd.de\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2667"}],"version-history":[{"count":12,"href":"https:\/\/www.jensd.de\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/2667\/revisions"}],"predecessor-version":[{"id":2681,"href":"https:\/\/www.jensd.de\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/2667\/revisions\/2681"}],"wp:attachment":[{"href":"https:\/\/www.jensd.de\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2667"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.jensd.de\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2667"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.jensd.de\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2667"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}