您的位置:首页 > 科技 > IT业 > 基于 ESP32 AT 固件启 WiFi AP + Server 的透传模式的测试
基于 ESP32 AT 固件启 WiFi AP + Server 的透传模式的测试
2025/11/12 5:32:57 来源:https://blog.csdn.net/weixin_42083266/article/details/142600959
浏览:
次
关键词:基于 ESP32 AT 固件启 WiFi AP + Server 的透传模式的测试
指令序列如下:
AT+RESTOREAT+CWMODE=2 // Set the Wi-Fi mode toSoftAP.AT+CWSAP="ESP32_softAP","1234567890",5,3 // Set softAPAT+CIPMUX=1 // Enable multiple connections for TCP ServerAT+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<https://docs.espressif.com/projects/esp-at/en/latest/esp32/index_of_abbreviations.html#term-Passthrough-Receiving-Mode>.AT+CIPSEND // Enter the UART Wi-Fi Passthrough Mode<https://docs.espressif.com/projects/esp-at/en/latest/esp32/index_of_abbreviations.html#term-Passthrough-Mode> and send data.