-->
Page 2 of 2

Re: UDP to Serial bridge

PostPosted: Thu Oct 09, 2014 7:56 am
by CheapB
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

Re: UDP to Serial bridge

PostPosted: Sun Oct 12, 2014 11:48 am
by CheapB
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?

Re: UDP to Serial bridge

PostPosted: Fri Nov 28, 2014 3:35 pm
by charudatt
can somebody share an example of the same principle for RS-485, using a GPIO pin to switch direction.

Re: UDP to Serial bridge

PostPosted: Sun Apr 12, 2015 2:41 am
by Jargo
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?