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+CIPMUX=0
AT+CIPSTART="UDP","192.168.4.2",50000
-> at that point, I have to use AT+CIPSTATUS to get the ESP8266 port number.
then AT+CIPSEND etc work
Any idea? Thanks!Statistics: Posted by Gaston06 — Thu Mar 22, 2018 1:43 am
]]>