You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

26 line
345 B

  1. #ifndef WIFI_SYSTEM_H
  2. #define WIFI_SYSTEM_H
  3. #include "Arduino.h"
  4. #include "WiFi.h"
  5. #include "DNSServer.h"
  6. #define DNS_PORT 53
  7. class WiFiSystem
  8. {
  9. public:
  10. // Methods
  11. WiFiSystem();
  12. void Start();
  13. void Stop();
  14. void Update();
  15. private:
  16. // Members
  17. WiFiServer m_wifiServer;
  18. //DNSServer m_dnsServer;
  19. IPAddress m_apIP;
  20. };
  21. #endif