• I also took some time to try and debug using the following code I saw on another thread:

    This is the code you said to try:

    var WIFI_BOOT = A13;
    var WIFI_CHPD = A14;
    digitalWrite(WIFI_CHPD, 0); // turn off wifi
    var pins = { rx: A3, tx : A2 };
    Serial2.on('data', function(d) { console.log("wifi:",JSON.stringify(d)); });
    Serial2.setup(115200, { rx: A3, tx : A2 });
    setTimeout(function() {
      digitalWrite(WIFI_BOOT, 1); // out of boot mode
      digitalWrite(WIFI_CHPD, 1); // turn on wifi
    }, 500);
    

    And this is the output

    >E.getAnalogVRef()
    =3.30846754005
    >
     ____                 _
    |  __|___ ___ ___ _ _|_|___ ___
    |  __|_ -| . |  _| | | |   | . |
    |____|___|  _|_| |___|_|_|_|___|
             |_| espruino.com
     2v19 (c) 2021 G.Williams
    >
    wifi: "r"
    wifi: "l\u0000l\u009C\u009E\u008E"
    wifi: "\u0002\u008Cb\u0003\u00E3n\f"
    wifi: "\f\f\u008C\u001C\u0080l"
    wifi: "\u00EC\u001Cp\u008C|\u008E\u0082"
    wifi: "\u009E\u0000\u00ECp\u0002\u0093r\u0093"­
    wifi: "bl\fc\u008C"
    wifi: "p~\u00F2n\u009F\u0000l"
    wifi: "on\u009C\u0012b\fb"
    wifi: "\u001Cp\u008Clb\u000El"
    wifi: "slp\u00F2o"
    wifi: "\u00E0\u0082\u009C\u0000\f\f\u0082"
    wifi: "\u008E\u0080l\f\f\f\f"
    wifi: "\f\fb\fn"
    wifi: "\u00E3\u00E3nl\u00EC\u001C"
    wifi: "\u00E2\u008C\u008Ep\f\u008C|~"
    wifi: "\u00F2o\u00EE\u0002l\u008C\u008E"
    wifi: "\u0000l`\u0002"
    wifi: "\u0090"
    wifi: "\u0013\u0012on\f"
    wifi: "\u008Fsl\u000F\u0002o"
    wifi: "s\u008E\u0093\u009F\u00EF\u0003\f"
    wifi: "\f\u0002ll`\u0002"
    wifi: "p\u00F2o\u00E0\u0082\u009C\u0000\f"
    wifi: "\fr\u008C\u009C\u001C\u0093"
    wifi: "\u009C\u00E0\f\f\f\fb"
    wifi: "\fn\u00E3\u00E3n\u00EC"
    wifi: "\u008F\u009F\u008C\u008Fp\f\u008C|"
    wifi: "~\u00F3n\u00EF\u0003\f\u008E\u0000"
    wifi: "l`\u0002"
    wifi: "\u0090\u0012\u0013n"
    wifi: "o\f\u008Erl"
    wifi: "\u000E\u0002nr\u008E\u0092\u009E"
    wifi: "r\u0002\f\f\u0093\u009C\u00E0"
    wifi: "l`\u0003p\u00F2n\u00E0\u0083"
    wifi: "\u0002\f\fs\u008C"
    wifi: "\u009C\u001C\u0092\u009C\u00E0\u00EC\u0­01C\u0080"
    wifi: "\f\fc\fo\u00E2\u00E2o"
    wifi: "l\u008E\u0090\f\f"
    wifi: "b\u008C|\u007F\u00F2o\u00EE"
    wifi: "\u0002\f\u008F\u0000l`\u0003"
    wifi: "\u0090\u0012\u0013n"
    wifi: "o\fl`\u0002"
    wifi: "\u000E\u0002nr\u008F\u0092\u009Es"
    wifi: "\u0002\f\fs\u0002l"
    wifi: "`\u0002\u000Er\u0093\u009F"
    wifi: "s\u0002\f\fr\u0002"
    wifi: "l`\u0002rl\u008C"
    wifi: "\u008Co\u009C\u0000\u008Cp\u007F"
    wifi: "\u00F2n\u009E\u0000\u008C\u009E\u0012c"­
    wifi: "r\u0013non"
    wifi: "\u008C\u001E\u0000l\u008Cb\u008E"
    wifi: "`\u008Cp\u0082lc\u000E"
    wifi: "l\u0000\f\u00ECl\u0080\u0093\u008C"
    wifi: "\u0003\u00ECl\u0080\u0092\u009C\u0012\u­0082"
    wifi: "\u009C\u0000\f\f\f\f\f"
    wifi: "\u008C\u001E\u0000\f\u008E\u0080l"
    wifi: "ll\u007Frl\u0000\f"
    wifi: "\u00ECl\u0080\u0093\u008C\u0003l"
    wifi: "ln\u009C\u0012\u0002\f"
    wifi: "\f\f\f\f\f\u008C"
    wifi: "\u001E\u0000\f\u0090b\u00F2l"
    wifi: "\u000El\u0000\f\u00ECl\u0080\u0093"
    wifi: "\u008C\u0003\u008C\u0090p\u0012s"
    wifi: "\u0002n\u00EClbb"
    wifi: "\u0092\u009C\u0000\u008C\u008C\u0000ll"­
    wifi: "\u00E0\u0002c\f\fll"
    wifi: "pc\u0082\u009E`l\u008E"
    wifi: "\u0082\u008C\u00ECb\frbr"
    wifi: "\u0082\u008C\u001Cnc\u0012c"
    wifi: "\u000Ell\u0092\u009Er\u0002"
    wifi: "\u0002\f\u009E~\u0003\u008C|"
    wifi: "\u0092\u00E2ol\u009E\u008E\u0092"
    wifi: "\u009C\u008C\u0012\f\f\u0002"
    wifi: "l\f\f\fl`"
    wifi: "\u0002rl"
    wifi: "r"
    wifi: "l\u008F\u0013\u0090o"
    wifi: "\u0002\u00CC\u00FF"
    wifi: "\r"
    wifi: "\nAi-Thi"
    wifi: "nker Tec"
    wifi: "hnology"
    wifi: " Co.,Lt"
    wifi: "d.\r\n"
    wifi: "\r"
    wifi: "\nready\r"
    wifi: "\n"
    wifi: "W"
    wifi: "IFI CON"
    wifi: "NECTED\r"
    wifi: "\n"
    wifi: "W"
    wifi: "IFI GOT"
    wifi: " IP\r\n"
    
About

Avatar for Coder2012 @Coder2012 started