  
  created 13 July 2010
  by dlf (Metodo2 srl)
- modified 1 Mar 2012
+ modified 4 Mar 2012
  by Tom Igoe
  */
 


  // attempt to connect using WEP encryption:
  Serial.println("Initializing Wifi...");
  WiFi.begin("networName");
  printMacAddress();


  // scan for existing networks:
  Serial.println("Scanning available networks...");

  // print the list of networks seen:
  Serial.print("SSID List:");
  Serial.println(numSsid);
  Serial.println("#\tNetwork:\tRSSI:\tEncryption:");
  // print the network number and name for each network found:
  for (int thisNet = 0; thisNet<numSsid; thisNet++) {
    Serial.print(thisNet);
    Serial.print(")\t");
    Serial.print(WiFi.SSID(thisNet));
    Serial.print("\t");
    Serial.print(WiFi.RSSI(thisNet));
    Serial.print("\t");
    Serial.println(WiFi.encryptionType(thisNet));
  }
}

