“MQTT is a Client Server publish/subscribe messaging transport protocol. It is lightweight, open, simple, and designed so as to be easy to implement. These characteristics make it ideal for use in many situations, including constrained environments such as for communication in Machine to Machine (M2M) and Internet of Things (IoT) contexts where a small code footprint is required and/or network bandwidth is at a premium.”
Citation from the official MQTT 3.1.1 specification

一、基本概念
MQ----a product IBM developed to support MQ telemetry transport.
TT----Telemetry Transport
publisher、subscriber、broker
Mosquito
pub/sub
model
topics
port
1883
8883 encrypted
operations
public
subscribe
unsubcrribe
ping PINGREQ/PINGRESP last will
QoS
reliable、latency、bandwidth
0 at most once
1 at last once
2 exactly once
organization
OASIS
二、MQTTClient
MQTT-Client-Framework is a native Objective-C iOS library. It uses CFNetwork for networking and CoreData for persistence. It is a complete implementation of MQTT 3.1.1 and supports TLS.
updating
网友评论