tinyMQTT does not have last will, neither the retain flag on publish nor qos for subscribe (QoS 1 might be useful).
Reconnect seems to be implemented for CONNECT only, while the new module reconnects also if a socket.write fails later or a PINGACK is missing.
In case somewhat less than 127 bytes are enough for topic and payload combined tinyMQTT is an excellent choice though.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
tinyMQTT does not have last will, neither the retain flag on publish nor qos for subscribe (QoS 1 might be useful).
Reconnect seems to be implemented for CONNECT only, while the new module reconnects also if a socket.write fails later or a PINGACK is missing.
In case somewhat less than 127 bytes are enough for topic and payload combined tinyMQTT is an excellent choice though.