AT 指令序列如下
AT+RESTORE
AT+CWMODE=2 // Set the Wi-Fi mode toSoftAP.
AT+CWSAP="ESP32_softAP","1234567890",5,3 // Set softAP
AT+CIPMUX=1 // Enable multiple connections for TCP Server
AT+CIPSERVERMAXCONN=1 // Set the maximum number of TCP server connections to 1.
AT+CIPSERVER=1,8080 //Create TCP server.
AT+CIPAP? // Query the IP address when device as TCP Server.
AT+CIPMODE=1 //Enable the UART Wi-Fi Passthrough Receiving Mode.
AT+CIPSEND // Enter the UART Wi-Fi Passthrough Mode and send data.