connect_wlan.h 494 B

12345678910111213141516171819202122232425
  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. #if (defined WLAN_USE_MESH_ROAMING && defined WLAN_USE_MESH_ROAMING_ACTIVATE_CLIENT_TRIGGERED_QUERIES)
  13. void wifiRoamingQuery(void);
  14. #endif
  15. #ifdef WLAN_USE_ROAMING_BY_SCANNING
  16. void wifiRoamByScanning(void);
  17. #endif
  18. #endif //CONNECT_WLAN_H