* OTA update for ESP32 targets

Этот коммит содержится в:
Scott Powell
2025-03-22 23:51:44 +11:00
родитель 30c6a0bc76
Коммит a4bb3782a4
22 изменённых файлов: 2105 добавлений и 15 удалений
+2 -1
Просмотреть файл
@@ -37,7 +37,7 @@ void RAK4631Board::begin() {
delay(10); // give sx1262 some time to power up
}
bool RAK4631Board::startOTAUpdate() {
bool RAK4631Board::startOTAUpdate(const char* id, char reply[]) {
// Config the peripheral connection with maximum bandwidth
// more SRAM required by SoftDevice
// Note: All config***() function must be called before begin()
@@ -76,5 +76,6 @@ bool RAK4631Board::startOTAUpdate() {
Bluefruit.Advertising.setFastTimeout(30); // number of seconds in fast mode
Bluefruit.Advertising.start(0); // 0 = Don't stop advertising after n seconds
strcpy(reply, "OK - started");
return true;
}