Receive data using the ESP8266 wifi module

Hi,

I'm using an ESP8266 wireless transceiver module with an Arduino UNO. The module is working as expected (I've tested my configuration with several sample projects I found on the net).

For ease of testing I've set things up so that I can communicate directly with the ESP8266 via the Serial Monitor window. Here are the commands I use to get things going:

// What firmware version is installed?
AT+GMR
0018000902-AI03

// Reset the device
AT+RST
OK
L(CÇäÿZNÿbc@ˆþD@JSÀ€àà
[Vendor:www.ai-thinker.com Version:0.9.2.4]
ready

// Set the data transmission mode (1 is "data mode")
AT+CWMODE=1
no change

// Connect the ESP8266 to my access point
AT+CWJAP="XXXX","XXXX"
OK

// What is the ESP8266's ip address?
AT+CIFSR
192.168.161.27

// Start a UDP connection to an ntp server (port 123)
AT+CIPSTART="UDP","time-a.timefreq.bldrdoc.gov",123
OK

Ok... what is the next step? How do I receive the data that gets sent back from the ntp server? I know I can use the "AT+CIPSEND" to send data but what command(s) do I use to receive data?

Any advice would be much appreciated! -LT

I am also very interested in knowing how to receive data sent to a esp8266 module

Check this library out, play around with the timeSyncExample it might give you some direction.

Latency: // Start a UDP connection to an ntp server (port 123) AT+CIPSTART="UDP","time-a.timefreq.bldrdoc.gov",123 OK[/tt]

-LT

Can you put direct IP to bridge UDP some like this

// Start a UDP connection to an ntp server (port 123) AT+CIPSTART="UDP","192.168.2.23",1234

192.168.2.23 = PC IP

Can i do some like that????

I need a UDP BRIDGE to use VB.net to recibe and send data.