Paho Python MQTT Client-Understanding The Loop

When writing code using the Paho Python client you would have had to use the loop() function . In this tutorial we will look at what it does, and why it is necessary. When new messages arrive at the Python MQTT client they are placed in a receive buffer. The messages sit in this receive buffer waiting to be read by the client program.

Continue reading