Ok, if you re-upload now I should have updated the MQTT module and hopefully this is fixed.
I did make a few other changes to tidy it up so hopefully nothing else got broken - but I gave it a quick test and it all looks fine
@MaBe the bit you'd need to add to fix tinyMQTT is this: https://github.com/espruino/EspruinoDocs/blob/c47196bab8f2e3e8e18d1242f2b57639f804dc88/modules/MQTT.js#L174-L192
Just committed a fix for tinyMQTT
@MaBe started
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.
Ok, if you re-upload now I should have updated the MQTT module and hopefully this is fixed.
I did make a few other changes to tidy it up so hopefully nothing else got broken - but I gave it a quick test and it all looks fine
@MaBe the bit you'd need to add to fix tinyMQTT is this: https://github.com/espruino/EspruinoDocs/blob/c47196bab8f2e3e8e18d1242f2b57639f804dc88/modules/MQTT.js#L174-L192