MQTT module stopped working with latest update #6015
Replies: 1 comment
-
Posted at 2018-02-08 by DanB Update: I found how to go back to a previous version from github (instructions at https://www.espruino.com/Modules). With the previous version of the MQTT module, I have no problems. Posted at 2018-02-09 by @gfwilliams Hi Dan, Thanks - I'll look into it. I merged on some contributed changes which could have caused problems. Posted at 2018-02-09 by @gfwilliams Wow, that's horrible. Looks like the Closure compiler that I use for minification has started adding labels and breaks to labels into minified code - which meant that the unminified file worked fine, but the minified version didn't. It should be fixed now. Posted at 2018-02-09 by @gfwilliams Actually hang on a bit. Looks like the recent contributed fixes broke the module (so it strips the first 2 chars off the message), so I'll have to roll back some of them Posted at 2018-02-09 by @gfwilliams Ok, try now :/ Posted at 2018-02-09 by DanB Hi Gordon, Works! Thanks so much. BTW, I've been working with microcontrollers for 40 years (starting with the 6502, assembly, and FORTH); and I have to tell you, Espruino on the ESP8266 is the best thing I've ever worked with in this realm. Espruino is an awesome system! Thank you for developing it. Posted at 2018-02-14 by @gfwilliams Thanks! :) |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2018-02-08 by DanB
Hi All, I've been using the MQTT module without any problems for at least a month. However, I started having problems yesterday, which I see was the day that a new MQTT module was posted on https://www.espruino.com/modules
mqtt.connect() gives this immediate error:
Code is running on
ESP8266-12E flashed with espruino_1v95_esp8266_4mb_combined_4096.bin ...
Test program, which has worked without a problem is listed below.
Is there an error in the MQTT module? Is there a change in using it?
Also, a related question: is there a way to access a previous version of a module?
Thanks,
Dan
Program:
Beta Was this translation helpful? Give feedback.
All reactions