mirror of
https://github.com/DCC-EX/CommandStation-EX.git
synced 2024-11-26 17:46:14 +01:00
0a60a36d30
Performs connection etcc... still not passing cmds to dcc
21 lines
398 B
C++
21 lines
398 B
C++
|
|
#ifndef WifiInterface_h
|
|
#define WifiInterface_h
|
|
#include "DCCEXParser.h"
|
|
|
|
class WifiInterface {
|
|
|
|
public:
|
|
static void setup();
|
|
static void loop(DCCEXParser & parser);
|
|
|
|
private:
|
|
static bool setup2();
|
|
static bool checkForOK(const int timeout, char * search);
|
|
static bool connected;
|
|
static const byte MAX_BUFFER=64;
|
|
static byte inboundBuffer[MAX_BUFFER];
|
|
};
|
|
|
|
#endif
|