Arduino esp32 wifi accesspoint mobile UDP client access, sending data, ESP32 AP cannot check!

cllfnn
Posts: 1
Joined: Mon Aug 07, 2023 5:38 am

Arduino esp32 wifi accesspoint mobile UDP client access, sending data, ESP32 AP cannot check!

Postby cllfnn » Mon Aug 07, 2023 8:00 am

Arduino esp32 wifi accesspoint mobile UDP client access, sending data, ESP32 AP cannot check!

Develop burning in the Ardurno environment. After powering up, only the YourAP service will be prompted to start, ip: 192.168.4. 1. Connect to the mobile app udp as a client, 192.168.4. 1:80. Connect to YourAP, enter the password, and the connection is successful. However, if any content is sent, the mobile app will prompt successful sending but not receiving. At the same time, there is no client connection information for the ESP32 com communication port connected to the computer.
I have tried both FireBeetle and ESP32 Dev module using the ESP32 development board!
Please ask ESP32 experts on the Arduino platform to provide answers and help! Thank you!

lbernstone
Posts: 826
Joined: Mon Jul 22, 2019 3:20 pm

Re: Arduino esp32 wifi accesspoint mobile UDP client access, sending data, ESP32 AP cannot check!

Postby lbernstone » Tue Aug 08, 2023 4:34 pm

The translator has destroyed the meaning of your post. If you post code and output, it will be more helpful.
The most likely problem with using an esp32 as a udp server is the modem sleep. Call WiFi.setSleep(false); to disable it.

Who is online

Users browsing this forum: Google [Bot] and 44 guests