The ESP8266 Wi-Fi module can function as a Station / Client which allows other Access Points (APs) to connect to it. Station (STA) mode is useful when the module will only send / push data to another device as opposed to receiving / serving data. Prior to setting up the module as a Station, wire & configure ESP8266 module. It is also possible to configure ESP8266 module as an Access Point or both AP and STA modes simultaneously.
Connect to an Access Point
Search for and list available wireless networks.
Connect to a wireless network.
Command takes 2 arguments,
SSID which is the name of the network and the
PASS which is the password of the same network.
Verify the connection was successful.
Disconnect from the Access Point.
Set ESP8266 Station IP Address
Get the IP address of the Station / Client.
Set the IP address of the Station / Client.
Set ESP8266 Station MAC Address
Get the MAC address of the Station / Client.
Set the MAC address of the Station / Client.
Once the module has been configured in Access Point, Station or both modes simultaneously it can be used to send & receive data.