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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user