File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed
WiFi/examples/ScanNetworks Expand file tree Collapse file tree 1 file changed +7
-6
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 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 (" #\t Name\t RSSI\t encryptionType:" );
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
You can’t perform that action at this time.
0 commit comments