User Manual
! ! " !  
 Espressif Systems
ESP8266 
AT Command Examples
3. UDP Transmission 
UDP transmission is established via AT+CIPSTART. There is no such definition as UDP server or UDP 
client. 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 :+CIFSR: STAIP, "192.168.101.104" // IP address of ESP8266 station 
•
Connect PC to the same router as ESP8266 is connected to. 
 Using a network tool on the computer to create a UDP . 
Below is two examples on UDP transmission. 
Espressif Systems Confidential  /   Friday, Oct 23, 20157 16










