Skip to content

Commit 44fb113

Browse files
committed
Reformatted reporting on ScanNetworks
1 parent e82ab0d commit 44fb113

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

WiFi/examples/ScanNetworks/ScanNetworks.ino

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
1111
created 13 July 2010
1212
by dlf (Metodo2 srl)
13-
modified 4 Mar 2012
13+
modified 9 Mar 2012
1414
by Tom Igoe
1515
*/
1616

@@ -68,16 +68,17 @@ void listNetworks() {
6868
Serial.print("number of available networks:");
6969
Serial.println(numSsid);
7070

71-
Serial.println("#\tName\tRSSI\tencryptionType:");
7271
// print the network number and name for each network found:
7372
for (int thisNet = 0; thisNet<numSsid; thisNet++) {
7473
Serial.print(thisNet);
75-
Serial.print("\t");
76-
Serial.print(WiFi.SSID(thisNet));
77-
Serial.print("\t");
74+
Serial.print(") ");
75+
Serial.println(WiFi.SSID(thisNet));
76+
Serial.print("Signal Strength: ");
7877
Serial.print(WiFi.RSSI(thisNet));
79-
Serial.print("\t");
78+
Serial.println("dBm");
79+
Serial.print("Encryption Type: ");
8080
Serial.println(WiFi.encryptionType(thisNet));
81+
Serial.println();
8182
}
8283
}
8384

0 commit comments

Comments
 (0)