wifi working tested on hardware

This commit is contained in:
Adolfo Reyna
2025-12-10 08:09:38 -05:00
parent 47956bf64c
commit 65650a7b57
8 changed files with 305 additions and 25 deletions

View File

@@ -7,13 +7,11 @@ CommandAction parse_command(const char* input) {
return CMD_NONE;
}
if (strcmp(input, "/refresh") == 0) {
return CMD_REFRESH;
} else if (strcmp(input, "/clear") == 0) {
return CMD_CLEAR;
} else if (strcmp(input, "/wifisetup") == 0) {
return CMD_WIFI;
}
if (strcmp(input, "/refresh") == 0) return CMD_REFRESH;
if (strcmp(input, "/clear") == 0) return CMD_CLEAR;
if (strcmp(input, "/scan") == 0) return CMD_SCAN;
if (strncmp(input, "/connect ", 9) == 0 || strcmp(input, "/connect") == 0) return CMD_CONNECT;
if (strcmp(input, "/status") == 0) return CMD_STATUS;
return CMD_UNKNOWN;
}