ESP32 Ap模式Udp通信 孙鸿飞 | 2025-7-28 12:31 | 4 | 程序 45 字 | 3 分钟 #include <WiFi.h> #include <WiFiUdp.h> const char* ssid = "ESP32-AP"; // AP 名称 const char* password = "12345678"; // 密码(至少8位) WiFiUDP Udp; const int localUdpPort = 4210;…