I am trying to make an Access Point + UDP server using AT commands.
In short, it works, but I cannot control the ESP8266 local port, because it is set at random by the chip.
I want to make a server with a known, fixed port, so that remote clients can initiate the connection (i.e. access it without having to know that random port).
The commands I use are:
AT+CWMODE=2 (or 3)
-> at that point, I have to use AT+CIPSTATUS to get the ESP8266 port number.
then AT+CIPSEND etc work
Any idea? Thanks!
Who is online
Users browsing this forum: No registered users and 6 guests
Newbies Start Here
Are you new to ESP8266?
Unsure what to do?
Dunno where to start?
Start right here!
We also have a RTOS version and a MESH version too!
Complete listing of the official ESP8266 related documentation release by ESPRESSIF!
Must read here!