itead / ITEADLIB_Arduino_WeeESP8266

An easy-to-use Arduino ESP8266 library besed on AT firmware.
MIT License
527 stars 284 forks source link

Where is localPort defined #81

Open gailroco opened 7 years ago

gailroco commented 7 years ago

Hi! Where can I can change the receiving (local) port of the IP of my ESP8266 in UDPSingle example?

enardone commented 6 years ago

I have the same problem. My software server reply to my udp message using a fixed port. I cannot receive data cause esp8266 receive only on the local port that is automatic assigned and opened when udp connection is registered with registerUDP method.

enardone commented 6 years ago

Alternatively which AT commands can be used to manually define the UDP local port to listen to for incoming messages?

Regards