CommandLine.h 572 B

1234567891011121314151617181920212223242526272829
  1. #ifndef CommandLine_h
  2. #define CommandLine_h
  3. #include "MenuFunctions.h"
  4. #include "WiFiScan.h"
  5. #include "Display.h"
  6. extern MenuFunctions menu_function_obj;
  7. extern WiFiScan wifi_scan_obj;
  8. extern Display display_obj;
  9. // Commands
  10. const char PROGMEM SCANAP_CMD[] = "scanap";
  11. const char PROGMEM STOPSCAN_CMD[] = "stopscan";
  12. const char PROGMEM CLEARAP_CMD[] = "clearap";
  13. class CommandLine {
  14. private:
  15. String getSerialInput();
  16. void parseCommand(String input);
  17. public:
  18. CommandLine();
  19. void RunSetup();
  20. void main(uint32_t currentTime);
  21. };
  22. #endif