connect_wlan.h 522 B

123456789101112131415161718192021222324252627
  1. #pragma once
  2. #ifndef CONNECT_WLAN_H
  3. #define CONNECT_WLAN_H
  4. #include <string>
  5. int wifi_init_sta(void);
  6. std::string* getIPAddress();
  7. std::string* getSSID();
  8. int get_WIFI_RSSI();
  9. std::string* getHostname();
  10. bool getWIFIisConnected();
  11. void WIFIDestroy();
  12. extern bool WIFIConnected;
  13. #if (defined WLAN_USE_MESH_ROAMING && defined WLAN_USE_MESH_ROAMING_ACTIVATE_CLIENT_TRIGGERED_QUERIES)
  14. void wifiRoamingQuery(void);
  15. #endif
  16. #ifdef WLAN_USE_ROAMING_BY_SCANNING
  17. void wifiRoamByScanning(void);
  18. #endif
  19. #endif //CONNECT_WLAN_H