connect_wlan.h 465 B

1234567891011121314151617181920212223
  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. bool getWIFIisConnected();
  10. void WIFIDestroy();
  11. #if (defined WLAN_USE_MESH_ROAMING && defined WLAN_USE_MESH_ROAMING_ACTIVATE_CLIENT_TRIGGERED_QUERIES)
  12. void wifiRoamingQuery(void);
  13. #endif
  14. #ifdef WLAN_USE_ROAMING_BY_SCANNING
  15. void wifiRoamByScanning(void);
  16. #endif
  17. #endif //CONNECT_WLAN_H