Yes, I have tried using software serial, but the serial data is not reliable, although I set the baud-rate at 4800. And, after one or 3 hours, the ESP8266 will crash.
Using hardware serial, the data is more reliable. However, after disconnection over tcp/ip,
there is no data coming from the device, as seen in a server application.
I use MQTT protocol to send data from device to the server.
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.
Hello @MaBe,
Yes, I have tried using software serial, but the serial data is not reliable, although I set the baud-rate at 4800. And, after one or 3 hours, the ESP8266 will crash.
Using hardware serial, the data is more reliable. However, after disconnection over tcp/ip,
there is no data coming from the device, as seen in a server application.
I use MQTT protocol to send data from device to the server.
Regards,
Maman