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 10
10
11
11
created 13 July 2010
12
12
by dlf (Metodo2 srl)
13
- modified 9 Mar 2012
13
+ modified 12 Mar 2012
14
14
by Tom Igoe
15
15
*/
16
16
@@ -26,7 +26,6 @@ void setup() {
26
26
Serial.println (" Initializing Wifi..." );
27
27
printMacAddress ();
28
28
29
-
30
29
// scan for existing networks:
31
30
Serial.println (" Scanning available networks..." );
32
31
listNetworks ();
@@ -72,13 +71,12 @@ void listNetworks() {
72
71
for (int thisNet = 0 ; thisNet<numSsid; thisNet++) {
73
72
Serial.print (thisNet);
74
73
Serial.print (" ) " );
75
- Serial.println (WiFi.SSID (thisNet));
76
- Serial.print (" Signal Strength : " );
74
+ Serial.print (WiFi.SSID (thisNet));
75
+ Serial.print (" \t Signal : " );
77
76
Serial.print (WiFi.RSSI (thisNet));
78
- Serial.println ( " dBm" );
79
- Serial.print (" Encryption Type : " );
77
+ Serial.print ( " dBm" );
78
+ Serial.print (" \t Encryption : " );
80
79
Serial.println (WiFi.encryptionType (thisNet));
81
- Serial.println ();
82
80
}
83
81
}
84
82
You can’t perform that action at this time.
0 commit comments