mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-08 08:49:52 +03:00
refactor common commands #1897
This commit is contained in:
@@ -135,6 +135,8 @@ class Command {
|
||||
static uint8_t process(const char * path, const bool is_admin, const JsonObject input, JsonObject output);
|
||||
|
||||
static const char * parse_command_string(const char * command, int8_t & id);
|
||||
static const char * get_attribute(const char * cmd);
|
||||
static bool set_attirbute(JsonObject output, const char * cmd, const char * attirbute);
|
||||
|
||||
static const char * return_code_string(const uint8_t return_code);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user