MQTT
MQTT
* Naturally, Security will also play a role but that largely depends on how the broker is setup and the
certificates on the clients
QOS (QUALITY OF SERVICE)
There are 3 levels of QOS
0. Almost Once (Fire and forget)
1. At least Once (Fire and get ack)
2. Exactly Once (Fire get and ack and ack the ack)
RETAIN
• The broker can retain a message and wait for a device to connect and then
immediately push a notification.
• This is super useful to notify devices of an action after they wake up from
sleep
LAST WILL
• If a device ungracefully disconnects. (The connection is killed without a
proper disconnect [dropped connection, the device runs out of power, crashes
etc.]) The broker can publish a last will
• The last will is a normal message that is published to clients that have
subscribed / interested in the fact that the device ungracefully diconnected