1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50
| wl_status_t begin(const char* ssid, const char *passphrase = NULL, int32_t channel = 0, const uint8_t* bssid = NULL, bool connect = true)
wl_status_t begin(char* ssid, char *passphrase = NULL, int32_t channel = 0, const uint8_t* bssid = NULL, bool connect = true)
bool config(IPAddress local_ip, IPAddress gateway, IPAddress subnet, IPAddress dns1 = (uint32_t)0x00000000, IPAddress dns2 = (uint32_t)0x00000000)
bool disconnect(bool wifioff = false, bool eraseap = false)
bool isConnected()
bool setAutoReconnect(bool autoReconnect)
bool getAutoReconnect()
IPAddress localIP()
IPAddress subnetMask()
IPAddress gatewayIP()
IPAddress dnsIP(uint8_t dns_no = 0)
uint8_t * macAddress(uint8_t* mac) String macAddress()
const char * getHostname()
bool setHostname(const char * hostname)
wl_status_t status()
while (!WiFi.isConnected()) { delay(500); Serial.print("."); }
|