Please can you add the following code? I just tried this on desktop Espruino and it appears to be at least calling the 'ping' function:
mqtt._ping = mqtt.ping;mqtt.ping=function() { console.log("PING");this._ping(); }
@Gordon 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.
Please can you add the following code? I just tried this on desktop Espruino and it appears to be at least calling the 'ping' function: