mirror of
https://github.com/justcallmekoko/ESP32Marauder.git
synced 2025-12-06 12:51:28 -08:00
31 lines
627 B
C++
31 lines
627 B
C++
#ifndef CommandLine_h
|
|
#define CommandLine_h
|
|
|
|
#include "MenuFunctions.h"
|
|
#include "WiFiScan.h"
|
|
#include "Display.h"
|
|
|
|
extern MenuFunctions menu_function_obj;
|
|
extern WiFiScan wifi_scan_obj;
|
|
extern Display display_obj;
|
|
|
|
// Commands
|
|
const char PROGMEM SCANAP_CMD[] = "scanap";
|
|
const char PROGMEM SNIFF_BEACON_CMD[] = "sniffbeacon";
|
|
const char PROGMEM STOPSCAN_CMD[] = "stopscan";
|
|
const char PROGMEM CLEARAP_CMD[] = "clearap";
|
|
|
|
class CommandLine {
|
|
private:
|
|
String getSerialInput();
|
|
void parseCommand(String input);
|
|
|
|
public:
|
|
CommandLine();
|
|
|
|
void RunSetup();
|
|
void main(uint32_t currentTime);
|
|
};
|
|
|
|
#endif
|