User Manual

! ! " !
Espressif Systems
ESP8266
AT Command Examples
4.2.
UDP transmission UART - WiFi passthrough
Here is an example that ESP8266 soft-AP create a UDP transparent transmission. For ESP8266
station, it can execute UDP 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 PC to ESP8266 soft-AP
Using a network tool on PC to create a UDP.
Device create a UDP transmission which remote IP and port are fixed.
AT+CIPSTART="UDP","192.168.4.2",1001,2233,0
Response :OK
Enable transparent transmission mode:
AT+CIPMODE=1
Response :OK
Start sending data:
AT+CIPSEND
Espressif Systems Confidential / Friday, Oct 23, 201512 16