File tree Expand file tree Collapse file tree 1 file changed +5
-7
lines changed
WiFi/examples/ScanNetworks Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change 1010
1111 created 13 July 2010
1212 by dlf (Metodo2 srl)
13- modified 9 Mar 2012
13+ modified 12 Mar 2012
1414 by Tom Igoe
1515 */
1616
@@ -26,7 +26,6 @@ void setup() {
2626 Serial.println (" Initializing Wifi..." );
2727 printMacAddress ();
2828
29-
3029 // scan for existing networks:
3130 Serial.println (" Scanning available networks..." );
3231 listNetworks ();
@@ -72,13 +71,12 @@ void listNetworks() {
7271 for (int thisNet = 0 ; thisNet<numSsid; thisNet++) {
7372 Serial.print (thisNet);
7473 Serial.print (" ) " );
75- Serial.println (WiFi.SSID (thisNet));
76- Serial.print (" Signal Strength : " );
74+ Serial.print (WiFi.SSID (thisNet));
75+ Serial.print (" \t Signal : " );
7776 Serial.print (WiFi.RSSI (thisNet));
78- Serial.println ( " dBm" );
79- Serial.print (" Encryption Type : " );
77+ Serial.print ( " dBm" );
78+ Serial.print (" \t Encryption : " );
8079 Serial.println (WiFi.encryptionType (thisNet));
81- Serial.println ();
8280 }
8381}
8482
You can’t perform that action at this time.
0 commit comments