This commit is contained in:
@@ -65,6 +65,7 @@ void wifi_task(void* parameter)
|
||||
wifi_data.ip_address = WiFi.localIP().toString();
|
||||
|
||||
Log.verbose("RSSI: %F, IP Address, %p, SSID: %s", float(WiFi.RSSI()), WiFi.localIP(), prefs.getString(ssid_key, "NOSSID"));
|
||||
Serial.println(WiFi.channel());
|
||||
delay(5000);
|
||||
} else {
|
||||
Log.verbose("Connecting to %s using password %s", prefs.getString(ssid_key, ""), prefs.getString(wifi_password_key, ""));
|
||||
@@ -86,6 +87,7 @@ void ethernet_task(void* parameter)
|
||||
ethernet_data.link = ETH.linkUp();
|
||||
ethernet_data.rssi = ETH.linkSpeed();
|
||||
ethernet_data.ip_address = ETH.localIP().toString();
|
||||
Log.verbose("Ethernet RSSI: %F, IP Address, %s, LINK: %s", float(ethernet_data.rssi), ethernet_data.ip_address, String(ethernet_data.link));
|
||||
delay(60 * 1000);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user