Add serial interface for initial configuratio (#664)

* add SerialReader

* fix SerialReader

* add config upload script

* add serial command to print ip address

* update serial script to save configuration and reset after upload

* fix updater

* fix updater

* serial config fixes

* serial config fixes

* fix wifi static example configuration

* add readme for sendcfg.py
This commit is contained in:
Jan-Ole Schümann
2025-04-19 12:17:03 +07:00
committed by GitHub
parent f916058a95
commit 2f960a8372
14 changed files with 414 additions and 163 deletions

View File

@@ -4,6 +4,7 @@ enum class RestartReason
{
RequestedViaMqtt,
RequestedViaWebServer,
RequestedViaSerial,
BLEError,
BLEBeaconWatchdog,
RestartOnDisconnectWatchdog,
@@ -72,6 +73,8 @@ inline static String getRestartReason()
return "RequestedViaMqtt";
case RestartReason::RequestedViaWebServer:
return "RequestedViaWebServer";
case RestartReason::RequestedViaSerial:
return "RequestedViaSerial";
case RestartReason::ReconfigureWebServer:
return "ReconfigureWebServer";
case RestartReason::BLEError: