/* TERMINAL MODULE Copyright (C) 2016-2019 by Xose PĂ©rez */ #pragma once #include "espurna.h" #if TERMINAL_SUPPORT #include "libs/EmbedisWrap.h" using embedis_command_f = void (*)(Embedis*); void terminalOK(); void terminalError(const String& error); void terminalRegisterCommand(const String& name, embedis_command_f func); void terminalInject(void *data, size_t len); void terminalInject(char ch); Stream& terminalSerial(); void terminalSetup(); #endif // TERMINAL_SUPPORT == 1