The use of the ESP8266 in the world of IoT

User avatar
By CheapB
#1470
villTech wrote:i checked with my esp8266 server, it was able to receive udp data. i also test it with udp test tool for ipad.
what i did not use in my AT commands is the AT+CIPMUX=0.


Thanks for testing this. Not sure what's different, but i tested this again day and now it is working. Thanks to both of you for leading me in the right direction
User avatar
By CheapB
#1547 I have been running this for a couple of days now it works fine except one problem.When I reboot it it doesn't always accept AT+RST and I have to reboot a few times to get it working. Any ideas?
User avatar
By Jargo
#14247 These settings are indeed working, but how can you tell the ESP that it must send to port 5555?
Server is listening on port 20000 but when ESP sends data to phone, it chooses the port randomly.
In my test it chose to send to port 46345 on my Android phone.

start a multi line
AT+CIPMUX=1
set your server to listen example port 20000
AT+CIPSERVER=1,20000
set TimeOut at the Server Connect
AT+CIPSTO=IN SEC example AT+CIPSTO=120

so..
set your server to send to client port XXXXX
AT+???????=XXXXX

How to do this?