前言 MQTT协议是IBM开发的一个即时通讯协议,有可能成为物联网的重要组成部分,http://mqtt.org/. MQTT is a machine-to-machine (M2M)/"Internet of Things" connectivity protocol. It was designed as an extremely lightweight publish/subscribe messaging transport. It is useful for connect
官方协议有句如下的话来形容MQTT的设计思想: "It is designed for connections with remote locations where a "small code footprint" is required or the network bandwidth is limited." MQTT:开源.可靠.轻巧.简单,MQTT的传输格式非常精小,最小的数据包只有2个比特,且无应用消息头. MQTT可以保证消息的可 靠性,它包括三种不同