diff --git a/examples/RTL8720_WiFi/RTL8720_WiFi.ino b/examples/RTL8720_WiFi/RTL8720_WiFi.ino index 4ff8acb..63585a8 100644 --- a/examples/RTL8720_WiFi/RTL8720_WiFi.ino +++ b/examples/RTL8720_WiFi/RTL8720_WiFi.ino @@ -28,9 +28,6 @@ void heartBeatPrint() if (WiFi.status() == WL_CONNECTED) { Serial.print("H"); // H means connected to WiFi - // Bad bug or RTL8720 => if WiFi lost, WiFi.status() still is WL_CONNECTED and WiFi.RSSI() still OK. - // Similar bug in Portenta_H7 without workaround as in Portenta_H7, WiFi.RSSI() => 0 - //Serial.print(WiFi.RSSI()); } else Serial.print("F"); // F means not connected to WiFi diff --git a/examples/RTL8720_WiFi_MQTT/Credentials.h b/examples/RTL8720_WiFi_MQTT/Credentials.h index d9d9474..e428f01 100644 --- a/examples/RTL8720_WiFi_MQTT/Credentials.h +++ b/examples/RTL8720_WiFi_MQTT/Credentials.h @@ -63,13 +63,13 @@ bool LOAD_DEFAULT_CONFIG_DATA = false; WM_Configuration defaultConfig = { //char header[16], dummy, not used - "WIFI_GENERIC", + "RTL8720", // WiFi_Credentials WiFi_Creds [NUM_WIFI_CREDENTIALS]; // WiFi_Credentials.wifi_ssid and WiFi_Credentials.wifi_pw "SSID1", "password1", "SSID2", "password2", //char board_name [24]; - "SAMD-Control", + "RTL8720-Control", // terminate the list //int checkSum, dummy, not used 0 diff --git a/examples/RTL8720_WiFi_MQTT/RTL8720_WiFi_MQTT.ino b/examples/RTL8720_WiFi_MQTT/RTL8720_WiFi_MQTT.ino index 079bde5..fe43786 100644 --- a/examples/RTL8720_WiFi_MQTT/RTL8720_WiFi_MQTT.ino +++ b/examples/RTL8720_WiFi_MQTT/RTL8720_WiFi_MQTT.ino @@ -45,9 +45,6 @@ void heartBeatPrint() if (WiFi.status() == WL_CONNECTED) { Serial.print("H"); // H means connected to WiFi - // Bad bug or RTL8720 => if WiFi lost, WiFi.status() still is WL_CONNECTED and WiFi.RSSI() still OK. - // Similar bug in Portenta_H7 without workaround as in Portenta_H7, WiFi.RSSI() => 0 - //Serial.print(WiFi.RSSI()); } else Serial.print("F"); // F means not connected to WiFi @@ -326,7 +323,7 @@ void setup() // Set customized DHCP HostName WiFiManager->begin(HOST_NAME); - //Or use default Hostname "SAMD-WIFI-XXXXXX" + //Or use default Hostname "RTL8720-WIFI-XXXXXX" //WiFiManager->begin(); }