Hi @Gordon and all,
I've an Espruino Pico. Is it possible for the MQTT client to connect to the MQTT broker over WebSocket protocol?
Yes, it should be possible. Just establish the WebSocket connection, call mqtt=require("MQTT").create(...) and then mqtt.connect(websocketConnection);
Sine MQTT is expecting a .write function and .data event you might have to fiddle it a bit though
Thank you! @Gordon Let me give a try.
© Espruino, powered by microcosm.
Report a problem