Skip to content

Commit

Permalink
added note about MQTT keep alive
Browse files Browse the repository at this point in the history
  • Loading branch information
RichardChambers authored Jan 2, 2018
1 parent f0ac93b commit f35b1b7
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions mqtt/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,14 @@ these utilities running in its own terminal window for testing.
Security for software is always a consideration. See this StackExchange posting about
[What simple security tests can I perform on my MQTT network?](https://iot.stackexchange.com/questions/452/what-simple-security-tests-can-i-perform-on-my-mqtt-network).

### MQTT Keep Alive

The MQTT protocol has a periodic Keep Alive or heartbeat message that is transmitted between the client
and the broker in order for both to know that both ends are still functioning. The Keep Alive is
used if no other MQTT messages are transmitted. Since the connection is duplex both ends of the
MQTT connection use the Keep Alive messages to check that the other end is still functioning.
See [MQTT Keep Alive Interval Explained](http://www.steves-internet-guide.com/mqtt-keep-alive-by-example/).

### Protocol alternatives

MQTT is one of several types of publish/subscribe messaging protocols. Some messaging
Expand Down

0 comments on commit f35b1b7

Please sign in to comment.