`
hongtoushizi
  • 浏览: 389051 次
  • 性别: Icon_minigender_1
  • 来自: 天津
社区版块
存档分类
最新评论

mqtt V3到mqtt V3.1的改变

    博客分类:
  • mqtt
阅读更多

1.1. Changes

The following are the changes between MQTT V3 and MQTT V3.1:

  • User name and password can now be sent with a CONNECT packet
  • New return codes on CONNACK packets, for security problems
  • Clarification that clients are not informed of un-authorized PUBLISH or SUBSCRIBE commands, and that the normal MQTT flow should complete even though the command has not been performed.
  • Strings in MQTT now support full UTF-8, instead of just the US-ASCII subset.

The protocol version number passed with CONNECT packets, is unchanged for this revision, and remains as the "3". Existing MQTT V3 server implementations should be able to accept connections from clients that support this revision, as long as they correctly respect the "Remaining Length" field, and therefore ignore the extra security information.

 

 

原始文章: http://public.dhe.ibm.com/software/dw/webservices/ws-mqtt/mqtt-v3r1.html

分享到:
评论

相关推荐

    MQTT v3.1.1 & v5.0协议

    此文档将深入探讨MQTT的两个主要版本——v3.1.1和v5.0。 **MQTT v3.1.1** MQTT v3.1.1是MQTT协议的第三个主要版本,于2014年发布,是目前最广泛使用的版本。该版本主要特性包括: 1. **发布/订阅模型**:MQTT采用...

    MQTT_协议_3.1.1_中文版.pdf

    - 当引用MQTT协议3.1.1版本规范时,应当使用特定的引用格式,如文档中所示的 "[mqtt-v3.1.1]MQTTVersion3.1.1.EditedbyAndrewBanksandRahulGupta.29October2014."。 总结来说,MQTT协议是一种专为嵌入式设备和低...

    中文版MQTT

    5. **向后兼容性**:现有MQTT V3服务器仍然能接受V3.1客户端的连接,只需适当地处理`RemainingLength`字段即可。 #### 消息格式(Message Format) MQTT消息结构主要包括三个部分:固定报头(Fixed Header)、可变...

    mqtt_client:用于dart的基于服务器和浏览器的MQTT客户端

    客户端是MQTT v3(3.1和3.1.1)实现,支持所有QOS级别的订阅/发布,保持活动和同步连接。 客户端被设计为尽可能减轻用户的MQTT协议工作,自动处理连接协议,以及支持不同QOS级别和保持活动机制所需的消息交换。 这...

    org.eclipse.paho.client.mqttv3-1.2.0.zip

    Paho MQTT v3客户端库实现了MQTT 3.1和3.1.1协议,这两个版本是目前最常用的。 在MQTT协议中,主要有三个角色:发布者(Publisher)、订阅者(Subscriber)和代理(Broker)。发布者负责发送消息,订阅者接收消息,...

Global site tag (gtag.js) - Google Analytics