@Kolban thanks for the answer!
Previously I had socket.on( 'close', .. ) and it was not invoked.
socket.on( 'close', .. )
I inserted require("ESP8266").logDebug(true); but no additional console output appeared...
require("ESP8266").logDebug(true);
I can't really use ping, as the server doesn't provide any ICMP ports and so the code:
ping
require("ESP8266").ping( '192.168.0.113', function( p ){ console.log( 'ping', p ); } );
prints out:
=undefined ping { "totalCount": 0, "totalBytes": 0, "totalTime": 0, "respTime": 0, "seqNo": 0, "timeoutCount": 0, "bytes": 0, "error": -1 }
@Injecteer started
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.
@Kolban thanks for the answer!
Previously I had
socket.on( 'close', .. )
and it was not invoked.I inserted
require("ESP8266").logDebug(true);
but no additional console output appeared...I can't really use
ping
, as the server doesn't provide any ICMP ports and so the code:prints out: