User Manual

! ! " !
Espressif Systems
ESP8266
AT Command Examples
4. Transparent Transmission
Transparent transmission is enabled only when ESP8266 is working as TCP client creating a single
connection, or in UDP transmission.
4.1.
TCP client single connection UART - WiFi passthrough
Here is an example that ESP8266 station as TCP client to create a single connection and execute
transparent transmission. For ESP8266 soft-AP, it can execute transparent transmission in the similar
way. For more information about AT commands, please refer to documentation “ 4A-ESP8266__AT
Instruction Set ”.
Set WiFi mode :
AT+CWMODE=3 // softAP+station mode
Response :OK
Connect to router:
AT+CWJAP="SSID", "password" // SSID and password of router
Response :OK
Query device’s IP:
AT+CIFSR
Response :192.168.101.105 // Device’s IP that got from router.
Connect PC to the same router that ESP8266 is connected to.
Using a network tool on the computer to create a server.
Espressif Systems Confidential / Friday, Oct 23, 201510 16