I'm trying to get an NTP client running using an ESP8266. What I get when I'm "waiting" for the response from the NTP server is a reset. Here is my conversation with the ESP8266:
micro sends - AT+GMR 0x0D 0x0A
ESP8266 returns - AT+GMR 0x0D 0x0D 0x0A 00160901 0x0D 0x0A 0x0D 0x0A OK 0x0D 0x0A
micro sends - AT+CWJAP? 0x0D
ESP8266 returns - AT+CWJAP? 0x0D 0x0D 0x0A+CWJAP:"T-Mobile Broadband33"0x0D 0x0A 0x0D 0x0A OK 0x0D 0x0A
micro sends - AT+CIPMUX=1 0x0D 0x0A
ESP8266 returns - AT+CIPMUX=1 0x0D 0x0D 0x0A 0x0D 0x0A OK 0x0D 0x0A
micro sends - AT+CIFSR 0x0D 0x0A
ESP8266 returns - AT+CIFSR 0x0D 0x0D 0x0A 192.168.0.102 0x0D 0x0A
micro sends - AT+CIPSTART=4,"UDP","192.168.0.101",123 0x0D 0x0A
ESP8266 returns - AT+CIPSTART=4,"UDP","192.168.0.101",123 0x0D 0x0D 0x0A 0x0D 0x0A OK 0x0D 0x0A
micro sends - AT+CIPSEND=4,48 0x0D
ESP8266 returns - AT+CIPSEND=4,48 0x0D 0x0D 0x0A >
micro sends - 0x1B 0x00 ..... 0xD8 0x06 0x2F 0x18 0x78 0x93 0x74 0x31
ESP8266 returns - 0x1B 0x00 ..... 0xD8 0x06 0x2F 0x18 0x78 0x93 0x74 0x31 0x0D 0x0A SEND OK 0x0D 0x0A
ESP8266 returns - 0x0D 0x0A ets Jan 8 2013,rst cause:4, boot mode:(3,6) 0x0D 0x0A 0x0D 0x0A wdt reset.....
On the NTP server side I have been running wireshark and see the packet that the ESP8266 sends and the return packet from the NTP server. Could some one tell me what I'm doing wrong?
Thanks so much
Kim