wifi working tested on hardware
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user