Complete upstream transport integration and regression coverage

This commit is contained in:
mikecarper committed 2026-09-15 21:08:10 -07:00
1 parent 4d34448602
commit 439dc7da3c
10 files changed
+124 -3

No files matched your search

+14
View File
@@ -6841,6 +6841,13 @@ bool MyMesh::applyAndSaveBluetoothMac(const char* value, char* reply,
mode = mesh::companion::BLUETOOTH_MAC_CUSTOM;
}
#if defined(RP2040_PLATFORM)
if (mode != mesh::companion::BLUETOOTH_MAC_DEFAULT) {
snprintf(reply, reply_size, "Error: Bluetooth address overrides are not supported on Pico W");
return false;
}
#endif
if (!saveBluetoothMac(mode, address)) {
snprintf(reply, reply_size, "Error: Bluetooth MAC save failed");
return false;
@@ -6913,6 +6920,13 @@ bool MyMesh::applyAndSaveBluetoothStealth(const char* value, char* reply,
return false;
}
#if defined(RP2040_PLATFORM)
if (strcmp(value, "on") == 0) {
snprintf(reply, reply_size, "Error: Bluetooth stealth is not supported on Pico W");
return false;
}
#endif
const uint8_t previous_mode = _prefs.bluetooth_stealth_mode;
const uint8_t previous_type = _prefs.bluetooth_stealth_peer_type;
uint8_t previous_peer[mesh::companion::BLUETOOTH_MAC_BYTES];
+1 -1
View File
@@ -2799,7 +2799,7 @@ void setup() {
#endif
// Load WiFi credentials without starting the radio.
#ifdef WIFI_SSID
#if defined(ESP32) && defined(WIFI_SSID)
loadCompanionWiFiCredentials();
#endif