W60X_Arduino
|
WiFiGenericClass Class Reference
Inherited by WiFiClass.
Public Member Functions | |
WiFiMode_t | getMode () |
This function is used to Get the WiFi's work mode.. More... | |
int | hostByName (const char *aHostname, IPAddress &aResult) |
This function is used to resolve hostname . More... | |
int | hostByName (const char *aHostname, IPAddress &aResult, uint32_t timeout_ms) |
This function is used to resolve hostname . More... | |
Member Function Documentation
◆ getMode()
WiFiMode_t WiFiGenericClass::getMode | ( | ) |
This function is used to Get the WiFi's work mode..
- Returns
- enum of WiFiMode: WIFI_OFF, WIFI_STA or WIFI_AP
- Note
◆ hostByName() [1/2]
int WiFiGenericClass::hostByName | ( | const char * | aHostname, |
IPAddress & | aResult | ||
) |
This function is used to resolve hostname .
- Parameters
-
[in] aHostname The hostname which you want to resolve. [out] aResult The result of resove the hostname.
- Returns
- 1 - success, 0 - failure.
- Note
◆ hostByName() [2/2]
int WiFiGenericClass::hostByName | ( | const char * | aHostname, |
IPAddress & | aResult, | ||
uint32_t | timeout_ms | ||
) |
This function is used to resolve hostname .
- Parameters
-
[in] aHostname The hostname which you want to resolve. [in] timeout_ms The timeout when resolve. [out] aResult The result of resove the hostname.
- Returns
- 1 - success, 0 - failure.
- Note
Generated by 1.8.14