You are reading a single comment by @Gordon and its replies. Click here to read the full conversation.
  • Thanks for letting us know - you mean typing:

      var wlan = require("CC3000").connect();
      wlan.connect( "AccessPointName", "WPA2key", function (s) { 
        if (s=="dhcp") {
          require("http").get("http://www.pur3.co.­uk/hello.txt", function(res) {
            res.on('data', function(data) {
              console.log(">" + data);
            });
          });
        }
      });
    

    Does not work for you at all, or just does not work after you have save()d it to the board?

    When I've done that before I was pretty sure that it worked, but it took a few seconds before the prompt appeared again, as the two connect functions take a while to execute.

About

Avatar for Gordon @Gordon started