mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 07:49:52 +03:00
scheduler-command: use const char*, publish response for queries
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user