I'm using the 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!
-CS