• at first, i am just so happy it finally works, had some problems with an apparently faulty esp8266

    after that bad start i ordered some esp8266 esp-01 from eBay, by especially searching for "...tested..." and i got one with the following firmware:

    "AT+GMR\r\r\nAT version:0.50.0.0(Sep 18 2015 20:55:38)\r\nSDK version:1.4.0\r\nTested in UK by AudioSpectrumAnalyzers\r\nOK\r\n"
    

    well to get it working with an Espruino Pico i needed to change the ESP8266_v025 module in one little detail

    from

    if (d=="ready")
    

    to

    if (d=="Ready.")
    

    here is a larger part to see the change in context

    "reset" : function(callback) {
        at.cmd("\r\nAT+RST\r\n", 10000, function cb(d) {
          //console.log(">>>>>"+JSON.stringify(d))­;
          // if (d=="ready")...
          if (d=="Ready.") setTimeout(function() { wifiFuncs.init(callback); }, 1000);
          else if (d===undefined) callback("No 'ready' after AT+RST");
          else return cb;
        });
      },
    

    ok now to my question, do we want a special ESP8266_v50 module? if yes i will create the issue and pull-request including an update to the documentation

    but i would like to know, what is your preferred way to handle the (in this case a lot) duplicate code?

About