ESP8266 Feature:
*802.11 b/g/n protocol
*Wi-Fi Direct (P2P), soft-AP
*Integrated TCP/IP protocol stack
*Integrated TR switch, balun, LNA, power amplifier and matching network
*Integrated PLL, regulators, and power management units
*+19.5dBm output power in 802.11b mode
*Supports antenna diversity
*Power down leakage current of < 10uA
*Integrated low power 32-bit MCU
*SDIO 2.0, SPI, UART
*STBC, 1x1 MIMO, 2x1 MIMO
*A-MPDU & A-MSDU aggregation & 0.4μs guard interval
*Wake up and transmit packets in < 2ms
*Standby power consumption of < 1.0mW (DTIM3)
wlan = network.WLAN(network.STA_IF) # create station interface
wlan.active(True) # activate the interface
wlan.scan() # scan for access points
wlan.isconnected() # check if the station is connected to an AP
wlan.connect('essid', 'password') # connect to an AP