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

Commit 68cde02

Browse files
authored
v1.2.0 to sync with AmebaD core v3.1.3
### 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`
1 parent ef26153 commit 68cde02

File tree

3 files changed

+3
-9
lines changed

3 files changed

+3
-9
lines changed

examples/RTL8720_WiFi/RTL8720_WiFi.ino

-3
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,6 @@ void heartBeatPrint()
2828
if (WiFi.status() == WL_CONNECTED)
2929
{
3030
Serial.print("H"); // H means connected to WiFi
31-
// Bad bug or RTL8720 => if WiFi lost, WiFi.status() still is WL_CONNECTED and WiFi.RSSI() still OK.
32-
// Similar bug in Portenta_H7 without workaround as in Portenta_H7, WiFi.RSSI() => 0
33-
//Serial.print(WiFi.RSSI());
3431
}
3532
else
3633
Serial.print("F"); // F means not connected to WiFi

examples/RTL8720_WiFi_MQTT/Credentials.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -63,13 +63,13 @@ bool LOAD_DEFAULT_CONFIG_DATA = false;
6363
WM_Configuration defaultConfig =
6464
{
6565
//char header[16], dummy, not used
66-
"WIFI_GENERIC",
66+
"RTL8720",
6767
// WiFi_Credentials WiFi_Creds [NUM_WIFI_CREDENTIALS];
6868
// WiFi_Credentials.wifi_ssid and WiFi_Credentials.wifi_pw
6969
"SSID1", "password1",
7070
"SSID2", "password2",
7171
//char board_name [24];
72-
"SAMD-Control",
72+
"RTL8720-Control",
7373
// terminate the list
7474
//int checkSum, dummy, not used
7575
0

examples/RTL8720_WiFi_MQTT/RTL8720_WiFi_MQTT.ino

+1-4
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,6 @@ void heartBeatPrint()
4545
if (WiFi.status() == WL_CONNECTED)
4646
{
4747
Serial.print("H"); // H means connected to WiFi
48-
// Bad bug or RTL8720 => if WiFi lost, WiFi.status() still is WL_CONNECTED and WiFi.RSSI() still OK.
49-
// Similar bug in Portenta_H7 without workaround as in Portenta_H7, WiFi.RSSI() => 0
50-
//Serial.print(WiFi.RSSI());
5148
}
5249
else
5350
Serial.print("F"); // F means not connected to WiFi
@@ -326,7 +323,7 @@ void setup()
326323

327324
// Set customized DHCP HostName
328325
WiFiManager->begin(HOST_NAME);
329-
//Or use default Hostname "SAMD-WIFI-XXXXXX"
326+
//Or use default Hostname "RTL8720-WIFI-XXXXXX"
330327
//WiFiManager->begin();
331328
}
332329

0 commit comments

Comments
 (0)