MQTT Keep Alive Interval Explained With Examples

MQTT uses a TCP/IP connection. This connection is normally left open by the client so that is can send and receive data at any time. If no data flows over an open connection for a certain time period then the client will generate a PINGREQ and expect to receive a PINGRESP from the broker.

Continue reading