If you’re trying to debug your MQTT connection, you may be interested in something Karl P has written – an MQTT decoder/dissector for Wireshark. It doesn’t have complete protocol support yet, but is a good start.