| 
    ESP8266
    
   | 
 
  
 Public Member Functions | |
| 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) | 
| wl_status_t | begin () | 
| bool | config (IPAddress local_ip, IPAddress gateway, IPAddress subnet, IPAddress dns1=(uint32_t) 0x00000000, IPAddress dns2=(uint32_t) 0x00000000) | 
| bool | reconnect () | 
| bool | disconnect (bool wifioff=false) | 
| bool | setAutoConnect (bool autoConnect) | 
| bool | getAutoConnect () | 
| bool | setAutoReconnect (bool autoReconnect) | 
| uint8_t | waitForConnectResult () | 
| IPAddress | localIP () | 
| uint8_t * | macAddress (uint8_t *mac) | 
| String | macAddress () | 
| IPAddress | subnetMask () | 
| IPAddress | gatewayIP () | 
| IPAddress | dnsIP (uint8_t dns_no=0) | 
| String | hostname () | 
| bool | hostname (char *aHostname) | 
| bool | hostname (const char *aHostname) | 
| bool | hostname (String aHostname) | 
| wl_status_t | status () | 
| String | SSID () const | 
| String | psk () const | 
| uint8_t * | BSSID () | 
| String | BSSIDstr () | 
| int32_t | RSSI () | 
| bool | beginWPSConfig (void) | 
| bool | beginSmartConfig () | 
| bool | stopSmartConfig () | 
| bool | smartConfigDone () | 
Static Protected Member Functions | |
| static void | _smartConfigCallback (uint32_t status, void *result) | 
Static Protected Attributes | |
| static bool | _useStaticIp = false | 
| static bool | _smartConfigStarted = false | 
| static bool | _smartConfigDone = false | 
      
  | 
  staticprotected | 
_smartConfigCallback
| st | |
| result | 
| wl_status_t ESP8266WiFiSTAClass::begin | ( | const char * | ssid, | 
| const char * | passphrase = NULL,  | 
        ||
| int32_t | channel = 0,  | 
        ||
| const uint8_t * | bssid = NULL,  | 
        ||
| bool | connect = true  | 
        ||
| ) | 
Start Wifi connection if passphrase is set the most secure supported mode will be automatically selected
| ssid | const char* Pointer to the SSID string. | 
| passphrase | const char * Optional. Passphrase. Valid characters in a passphrase must be between ASCII 32-126 (decimal). | 
| bssid | uint8_t[6] Optional. BSSID / MAC of AP | 
| channel | Optional. Channel of AP | 
| connect | Optional. call connect | 
| wl_status_t ESP8266WiFiSTAClass::begin | ( | char * | ssid, | 
| char * | passphrase = NULL,  | 
        ||
| int32_t | channel = 0,  | 
        ||
| const uint8_t * | bssid = NULL,  | 
        ||
| bool | connect = true  | 
        ||
| ) | 
| wl_status_t ESP8266WiFiSTAClass::begin | ( | ) | 
Use to connect to SDK config.
| bool ESP8266WiFiSTAClass::beginSmartConfig | ( | ) | 
Start SmartConfig
| bool ESP8266WiFiSTAClass::beginWPSConfig | ( | void | ) | 
WPS config so far only WPS_TYPE_PBC is supported (SDK 1.2.0)
| uint8_t * ESP8266WiFiSTAClass::BSSID | ( | void | ) | 
Return the current bssid / mac associated with the network if configured
| String ESP8266WiFiSTAClass::BSSIDstr | ( | void | ) | 
Return the current bssid / mac associated with the network if configured
| bool ESP8266WiFiSTAClass::config | ( | IPAddress | local_ip, | 
| IPAddress | gateway, | ||
| IPAddress | subnet, | ||
| IPAddress | dns1 = (uint32_t)0x00000000,  | 
        ||
| IPAddress | dns2 = (uint32_t)0x00000000  | 
        ||
| ) | 
Change IP configuration settings disabling the dhcp client
| local_ip | Static ip configuration | 
| gateway | Static gateway configuration | 
| subnet | Static Subnet mask | 
| dns1 | Static DNS server 1 | 
| dns2 | Static DNS server 2 | 
| bool ESP8266WiFiSTAClass::disconnect | ( | bool | wifioff = false | ) | 
Disconnect from the network
| wifioff | 
| IPAddress ESP8266WiFiSTAClass::dnsIP | ( | uint8_t | dns_no = 0 | ) | 
| bool ESP8266WiFiSTAClass::getAutoConnect | ( | ) | 
Checks if ESP8266 station mode will connect to AP automatically or not when it is powered on.
| String ESP8266WiFiSTAClass::hostname | ( | void | ) | 
Get ESP8266 station DHCP hostname
| bool ESP8266WiFiSTAClass::hostname | ( | char * | aHostname | ) | 
Set ESP8266 station DHCP hostname
| aHostname | max length:32 | 
| bool ESP8266WiFiSTAClass::hostname | ( | const char * | aHostname | ) | 
Set ESP8266 station DHCP hostname
| aHostname | max length:32 | 
| bool ESP8266WiFiSTAClass::hostname | ( | String | aHostname | ) | 
Set ESP8266 station DHCP hostname
| aHostname | max length:32 | 
| IPAddress ESP8266WiFiSTAClass::localIP | ( | ) | 
Get the station interface IP address.
| uint8_t * ESP8266WiFiSTAClass::macAddress | ( | uint8_t * | mac | ) | 
Get the station interface MAC address.
| mac | pointer to uint8_t array with length WL_MAC_ADDR_LENGTH | 
| String ESP8266WiFiSTAClass::macAddress | ( | void | ) | 
Get the station interface MAC address.
| String ESP8266WiFiSTAClass::psk | ( | ) | const | 
Return the current pre shared key associated with the network
| bool ESP8266WiFiSTAClass::reconnect | ( | ) | 
will force a disconnect an then start reconnecting to AP
| int32_t ESP8266WiFiSTAClass::RSSI | ( | void | ) | 
Return the current network RSSI.
| bool ESP8266WiFiSTAClass::setAutoConnect | ( | bool | autoConnect | ) | 
Setting the ESP8266 station to connect to the AP (which is recorded) automatically or not when powered on. Enable auto-connect by default.
| autoConnect | bool | 
| bool ESP8266WiFiSTAClass::setAutoReconnect | ( | bool | autoReconnect | ) | 
Set whether reconnect or not when the ESP8266 station is disconnected from AP.
| autoReconnect | 
| bool ESP8266WiFiSTAClass::smartConfigDone | ( | ) | 
Query SmartConfig status, to decide when stop config
| String ESP8266WiFiSTAClass::SSID | ( | ) | const | 
Return the current SSID associated with the network
| wl_status_t ESP8266WiFiSTAClass::status | ( | ) | 
Return Connection status.
| bool ESP8266WiFiSTAClass::stopSmartConfig | ( | ) | 
Stop SmartConfig
| IPAddress ESP8266WiFiSTAClass::subnetMask | ( | ) | 
Get the interface subnet mask address.
| uint8_t ESP8266WiFiSTAClass::waitForConnectResult | ( | ) | 
Wait for WiFi connection to reach a result returns the status reached or disconnect if STA is off
      
  | 
  staticprotected | 
      
  | 
  staticprotected | 
      
  | 
  staticprotected | 
 1.8.10