In This tutorial we will look in more detail on how to connect , publish and subscribe using the MQTT v 3.1.1 client synchronous client using a single thread. We will not be using callbacks. If you use callbacks then second thread is started automatically to process the callbacks.
Continue reading