telnet & http server send command to stdin of console

The NVS commands must be executed using an internal stack, so push all keyboard-like inputs to the console
This commit is contained in:
Philippe G
2021-11-24 23:15:13 -08:00
parent 4943df2ec7
commit ada74ab127
5 changed files with 118 additions and 81 deletions

View File

@@ -27,8 +27,8 @@
#define SQUEEZELITE_ESP32_RELEASE_URL "https://github.com/sle118/squeezelite-esp32/releases"
#endif
extern bool is_recovery_running;
extern esp_err_t run_command(char * line);
extern bool wait_for_wifi();
extern bool console_push(const char * data, size_t size);
extern void console_start();
extern pthread_cond_t wifi_connect_suspend_cond;
extern pthread_t wifi_connect_suspend_mutex;