diff --git a/WifiESP.cpp b/WifiESP.cpp new file mode 100644 index 0000000..5435ca0 --- /dev/null +++ b/WifiESP.cpp @@ -0,0 +1,31 @@ +/* + © 2021, Harald Barth. + + This file is part of CommandStation-EX + + This is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + It is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with CommandStation. If not, see . +*/ + +#include "WifiESP.h" +#include "DIAG.h" + +bool WifiESP::setup(const FSH *wifiESSID, + const FSH *wifiPassword, + const FSH *hostname, + const int port, + const byte channel) { + +} +void WifiESP::loop() { +} diff --git a/WifiESP.h b/WifiESP.h new file mode 100644 index 0000000..d73c741 --- /dev/null +++ b/WifiESP.h @@ -0,0 +1,34 @@ +/* + * © 2021, Harald Barth. + * + * This file is part of CommandStation-EX + * + * This is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * It is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with CommandStation. If not, see . + */ +#ifndef WifiESP_h +#define WifiESP_h + +class WifiESP +{ + +public: + static bool setup(const FSH *wifiESSID, + const FSH *wifiPassword, + const FSH *hostname, + const int port, + const byte channel); + static void loop(); +private: +}; +#endif