Skip to content
This repository has been archived by the owner on Jan 29, 2023. It is now read-only.

Commit

Permalink
v1.2.0 to sync with AmebaD core v3.1.3
Browse files Browse the repository at this point in the history
### Release v1.2.0

1. Update to sync with Ameba Arduino SDK v3.1.3 WiFi.status() bug fix. Check [Update README.md](#2)
2. Update examples
3. Update libraries' dependencies
4. Update `Packages' Patches`
  • Loading branch information
khoih-prog authored Aug 18, 2022
1 parent ef26153 commit 68cde02
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 9 deletions.
3 changes: 0 additions & 3 deletions examples/RTL8720_WiFi/RTL8720_WiFi.ino
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions examples/RTL8720_WiFi_MQTT/Credentials.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 1 addition & 4 deletions examples/RTL8720_WiFi_MQTT/RTL8720_WiFi_MQTT.ino
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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();
}

Expand Down

0 comments on commit 68cde02

Please sign in to comment.