Enhance audio feedback mechanism by introducing a flag to play a popup (#1560)

* Enhance audio feedback mechanism by introducing a flag to play a popup sound after transitioning to listening mode. Update Schedule method to accept rvalue references for callbacks. Bump esp-ml307 component version to 3.5.3. Adjust signal strength thresholds in Ml307Board for better accuracy.

* Update esp-wifi-connect component version to 3.0.2 in idf_component.yml

* Adjust Wi-Fi signal strength thresholds in WifiBoard for improved accuracy in network state icon representation.
This commit is contained in:
Xiaoxia
2025-12-15 12:54:17 +08:00
committed by GitHub
parent 0ccdc082b5
commit 564018c762
5 changed files with 23 additions and 14 deletions

View File

@@ -259,9 +259,9 @@ const char* WifiBoard::GetNetworkStateIcon() {
}
int rssi = wifi.GetRssi();
if (rssi >= -60) {
if (rssi >= -65) {
return FONT_AWESOME_WIFI;
} else if (rssi >= -70) {
} else if (rssi >= -75) {
return FONT_AWESOME_WIFI_FAIR;
}
return FONT_AWESOME_WIFI_WEAK;