File tree Expand file tree Collapse file tree 2 files changed +14
-5
lines changed Expand file tree Collapse file tree 2 files changed +14
-5
lines changed Original file line number Diff line number Diff line change @@ -494,7 +494,7 @@ build_flags =
494
494
-DDEBUG_RP2040_CORE
495
495
-DDEBUG_RP2040_WIFI
496
496
-DNDEBUG
497
- -DLWIP_DEBUG
497
+ -DLWIP_DEBUG =1
498
498
-DDEBUG_RP2040_PORT =Serial1
499
499
-DDEBUG_RP2040_UART_1
500
500
-DDEBUG_RP2040_UART =1
Original file line number Diff line number Diff line change @@ -137,12 +137,21 @@ class ws_networking_pico : public Wippersnapper {
137
137
138
138
// User-set network not found, print scan results to serial console
139
139
WS_DEBUG_PRINTLN (" ERROR: Your requested WiFi network was not found!" );
140
- WS_DEBUG_PRINTLN (" WipperSnapper found these WiFi networks: " );
141
- for (int i = 0 ; i < n; ++i) {
140
+ WS_DEBUG_PRINTLN (" WipperSnapper found these WiFi networks:" );
141
+ for (uint8_t i = 0 ; i < n; ++i) {
142
142
WS_DEBUG_PRINT (WiFi.SSID (i));
143
- WS_DEBUG_PRINT (" " );
143
+ WS_DEBUG_PRINT (" (" );
144
+ uint8_t BSSID[WL_MAC_ADDR_LENGTH];
145
+ WiFi.BSSID (i, BSSID);
146
+ for (int m = 0 ; m < WL_MAC_ADDR_LENGTH; ++m) {
147
+ if (m != 0 ) WS_DEBUG_PRINT (" :" );
148
+ WS_DEBUG_PRINTHEX (BSSID[m]);
149
+ }
150
+ WS_DEBUG_PRINT (" ) " );
144
151
WS_DEBUG_PRINT (WiFi.RSSI (i));
145
- WS_DEBUG_PRINTLN (" dB" );
152
+ WS_DEBUG_PRINT (" dB (ch" );
153
+ WS_DEBUG_PRINT (WiFi.channel (i))
154
+ WS_DEBUG_PRINTLN (" )" );
146
155
}
147
156
148
157
return false ;
You can’t perform that action at this time.
0 commit comments