mirror of
https://github.com/mikecarper/MeshCore.git
synced 2026-11-04 09:47:16 +00:00
fix: harden ESP-NOW and full companion networking
Add selectable shared ESP-NOW channels, raw/wrapped bridge compatibility, and bounded fragmentation for maximum-size packets.\n\nGive ESP32 Full profiles WiFi coexistence, stabilize WebConfig and USB terminal lifecycles, and keep disabled bridges stopped during observer updates.\n\nUpdate generated UI, firmware selection, documentation, and regression coverage.
This commit is contained in:
1 parent
c6476b8ba8
commit
2b3b93ab2f
56 files changed
+5783
-2155
No files matched your search
@@ -112,12 +112,25 @@ TEST(WebConfigBatch, FinishArmsThirtySecondFallbackOnlyForAFullyOkRebootBatch) {
|
||||
TEST(WebConfigBatch, SetupWiFiHandoffRequiresASuccessfulCredentialChangingReboot) {
|
||||
EXPECT_TRUE(Batch::shouldStartSetupWiFiHandoff(
|
||||
/*setup=*/true, /*reboot=*/true, /*all_ok=*/true,
|
||||
/*wifi_changed=*/true, /*has_ssid=*/true));
|
||||
EXPECT_FALSE(Batch::shouldStartSetupWiFiHandoff(false, true, true, true, true));
|
||||
EXPECT_FALSE(Batch::shouldStartSetupWiFiHandoff(true, false, true, true, true));
|
||||
EXPECT_FALSE(Batch::shouldStartSetupWiFiHandoff(true, true, false, true, true));
|
||||
EXPECT_FALSE(Batch::shouldStartSetupWiFiHandoff(true, true, true, false, true));
|
||||
EXPECT_FALSE(Batch::shouldStartSetupWiFiHandoff(true, true, true, true, false));
|
||||
/*wifi_changed=*/true, /*has_ssid=*/true,
|
||||
/*espnow_channel_changed=*/false));
|
||||
EXPECT_FALSE(Batch::shouldStartSetupWiFiHandoff(
|
||||
false, true, true, true, true, false));
|
||||
EXPECT_FALSE(Batch::shouldStartSetupWiFiHandoff(
|
||||
true, false, true, true, true, false));
|
||||
EXPECT_FALSE(Batch::shouldStartSetupWiFiHandoff(
|
||||
true, true, false, true, true, false));
|
||||
EXPECT_FALSE(Batch::shouldStartSetupWiFiHandoff(
|
||||
true, true, true, false, true, false));
|
||||
EXPECT_FALSE(Batch::shouldStartSetupWiFiHandoff(
|
||||
true, true, true, true, false, false));
|
||||
}
|
||||
|
||||
TEST(WebConfigBatch, EspNowChannelChangeSkipsLiveSetupWiFiHandoff) {
|
||||
EXPECT_FALSE(Batch::shouldStartSetupWiFiHandoff(
|
||||
/*setup=*/true, /*reboot=*/true, /*all_ok=*/true,
|
||||
/*wifi_changed=*/true, /*has_ssid=*/true,
|
||||
/*espnow_channel_changed=*/true));
|
||||
}
|
||||
|
||||
TEST(WebConfigBatch, SetupWiFiHandoffUsesBoundedConnectAndBriefFlushDelays) {
|
||||
|
||||
Reference in new issue
Block a user