a) When it disconnects from the server it throws "disconnected" event twice.
b) When it reconnects it does not fires "connected" event, but still receives messages.
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.
OK, I think I figured the problem
a) When it disconnects from the server it throws "disconnected" event twice.
b) When it reconnects it does not fires "connected" event, but still receives messages.
Can it be fixed ?