1
0
mirror of https://github.com/DCC-EX/CommandStation-EX.git synced 2024-11-26 17:46:14 +01:00
CommandStation-EX/WifiInterface.h
Asbelos 0a60a36d30 Wifi Interface Setup
Performs connection etcc... still not passing cmds to dcc
2020-06-12 19:56:40 +01:00

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