Udp Transmission (Uart-Wi-Fi Passthroughtransmission) - Espressif Systems ESP32 Instruction Set

At instruction set and examples
Hide thumbs Also See for ESP32:
Table of Contents

Advertisement

!
When receiving a packet that contains only "+++", the UART-WiFi passthrough
transmission process will be stopped. Then please wait at least 1 second before sending
next AT command.
Please be noted that if you input "+++" directly by typing, the "+++", may not be
recognised as three consecutive "+" because of the Prolonged time when typing.
⚠ Notice:
The aim of ending the packet with +++ is to exit transparent transmission and to accept normal AT
commands, while TCP still remains connected. However, users can also deploy command AT+CIPSEND to
go back into transparent transmission.
9. Exit the transparent transmission mode:
AT+CIPMODE=0
Response:
OK
10.Close the TCP connection:
AT+CIPCLOSE
Response:
CLOSED
OK
9.3.2.

UDP Transmission (UART-Wi-Fi PassthroughTransmission)

Here is an example of the ESP32 working as a SoftAP in UDP transparent transmission.
1. Set the Wi-Fi mode:
AT+CWMODE=3 // SoftAP+Station mode
Response:
OK
2. Connect the PC to the ESP32 SoftAP:
3. Use a network tool on PC to create a UDP.
- For example, the PC's IP address is 192.168.4.2 and the port is 1001.
Espressif
!
72 97
!
/!
9. AT Commands Examples
2019.06

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ESP32 and is the answer not in the manual?

Questions and answers

Table of Contents