I did implementing an MQTT library, test it an have fun…
Short info from short doku...:
with this library you are able to send and recvice MQTT paket on all QoS levels 0-2.
Use Pubish to publish data(Strings and binary),
Use subscribe to recive MQTT data. On Subscribe you can tell the FB if you are expecting an String as data, so you will get one on the pointer output.
How to use you can see n de TestMqtt FB. This is my Test Case an it does up to 100 send and recives per second on an raspberry PI 1+ connectet to an mosquitto broker on an
windows 10 maschine.
If you find errors, or anny instability, tell me, i will have a look.
I started to implement TLS, but this will take a wile, so don't care about the TLS and crypto errors.
This Projekt i using some parts of the grat OSCAT libs, so take a look at oscat.de