scheduler-command: use const char*, publish response for queries

This commit is contained in:
MichaelDvP
2023-02-27 12:04:41 +01:00
parent f48aeb0917
commit e9cc86e072
2 changed files with 23 additions and 12 deletions

View File

@@ -54,7 +54,9 @@ class WebSchedulerService : public StatefulService<WebScheduler> {
void begin();
void loop();
bool command(std::string cmd, std::string data);
private:
bool command(const char * cmd, const char * data);
// make all functions public so we can test in the debug and standalone mode
#ifndef EMSESP_STANDALONE