You are reading a single comment by @JumJum and its replies. Click here to read the full conversation.
  • Telnet exists in generated jswrapper.js, search in the file returns 24 times
    But there is no entry for Telnet like this one for Serial1

    {287, JSWAT_JSVAR | JSWAT_EXECUTE_IMMEDIATELY, (void (*)(void))gen_jswrap_Serial1},
    

    require("Telnet") returns a variable which at least can be used for switching mode
    Tested on a just compiled version for ESP8266

    t = require("Telnet")
    =function () { [native code] }
    t.setOptions({mode:"on"});
    =undefined
    
About

Avatar for JumJum @JumJum started