Unfortunately the official Eclipse page which you can easily find using Google does NOT link to the documentation proper (at least not as far as I can see it). The link to the documentation itself is this:https://www.eclipse.org/paho/files/jsdoc/Paho.MQTT.Client.htmlHappy coding.
After deploying picockpit to my server, a bug was observed: the web frontend would disconnect in very regular intervals. This had not been present on the local development environment. Users of picockpit reported the same bug. I have debugged it today, and applied a hotfix. It turns out it was a timing issue. TL;DR how [...]
The CONNECT packetThe MQTT CONNECT Control packet always contains a payload. It is the first packet, which the client must send to the server after the connection is established.It can only be sent once by the client, if a second CONNECT packet is sent, the server (broker) must process it as a protocol violation and [...]