January 2018
Intermediate to advanced
524 pages
13h 33m
English
A communication link using MQTT starts with the client sending a CONNECT message to a broker. Only a client can initiate a session and no client may communicate directly with another client. The broker will always respond back to a CONNECT message with a CONNACK response and status code. Once established the connection remains open. The following are the MQTT messages and formats:
|
Field |
Requirement |
Description |
|
clientID |
Required |
Identifies client to the server. Each client has a unique client ID. It can be between 1 and 23 UTF-8 bytes long. |
|
cleanSession ... |
Read now
Unlock full access