-
• #2
I first start my mqtt in:
wlan.on ('connected', function (s) { mqttstart () };
as it sometimes takes some time before my esp8266 catches the network.
-
• #3
You could try using one of the very recent builds from http://www.espruino.com/binaries/travis/master/ - it looks like 1v97 had an issue that could have broken TCPIP sockets in some cases.
-
• #4
Thank you very much @Gordon. I delete flash and upgrade to 1v97.98 and works great!!!
I saw new versions at http://www.espruino.com/binaries/travis/master/ for example release 1v97.100. This versions are the last development versions?. Are the same as github repository "master" branch?
Thank you.
Best regards,
Juanillo -
• #5
This versions are the last development versions?. Are the same as github repository "master" branch?
Yes, that's right - they're built automatically with each new commit. You can actually look up a specific commit in http://www.espruino.com/binaries/travis/
Hi,
I'm trying to use MQTT on a ESP8266 (Flash map 1MB:512/512, manuf 0xc8 chip 0x4014) and always returns same error:
It's only a simple connection test code like this:
The output is always the same:
I try a lot of configurations and I don't know how to continue:
Try using connect directly:
Run mosquitto server in verbose mode "mosquitto -v":
Mosquitto server is up and runnig with anonymous access acepted. I'm using this server with other esp8266 boards running native C code and goes good, so I think that is no problem with the server.
If someone can help me with this problem, I would be enormously grateful.
Thank you