connect_wlan.h 382 B

1234567891011121314151617181920
  1. #ifndef CONNECT_WLAN_H
  2. #define CONNECT_WLAN_H
  3. #include <string>
  4. #include "driver/gpio.h"
  5. const int CONNECTED_BIT = BIT0;
  6. void ConnectToWLAN();
  7. void LoadWlanFromFile(std::string fn);
  8. bool ChangeHostName(std::string fn, std::string _newhostname);
  9. std::string getHostname();
  10. std::string getIPAddress();
  11. std::string getSSID();
  12. std::string getNetMask();
  13. std::string getGW();
  14. #endif