ESP8266 Developer Zone The Official ESP8266 Forum 2019-04-23T11:16:49+08:00 https://bbs.espressif.com:443/feed.php?f=16&t=9353 2019-04-23T11:16:49+08:00 2019-04-23T11:16:49+08:00 https://bbs.espressif.com:443/viewtopic.php?t=9353&p=39844#p39844 <![CDATA[Re: DNS issues then IP Error when using CIPSTART with an IP address]]> Statistics: Posted by Her Mary — Tue Apr 23, 2019 11:16 am


]]>
2019-04-18T00:20:38+08:00 2019-04-18T00:20:38+08:00 https://bbs.espressif.com:443/viewtopic.php?t=9353&p=39676#p39676 <![CDATA[Re: DNS issues then IP Error when using CIPSTART with an IP address]]>

Here is the command sequence that i have followed: (


(Time in milli Sec) (Command)
14487--> AT

14488-->

14489--> OK

29891--> AT+CWQAP

29892-->

29892--> OK

38195--> AT+CIPMODE?

38196--> +CIPMODE:0

38196-->

38197--> OK

170120--> AT+CWJAP="KreakEmp","kkpkkp123"

173322--> WIFI CONNECTED

174123--> WIFI GOT IP

175223-->

175224--> OK

183226--> AT+CIPMUX=0

183227-->

183228--> OK

188529--> AT+CIPMUX=1

188530-->

188530--> OK

213635--> WIFI DISCONNECT

219237--> WIFI CONNECTED

220238--> WIFI GOT IP

227940--> AT+CIFSR

227942--> +CIFSR:STAIP,"192.168.43.116"

227944--> +CIFSR:STAMAC,"ec:fa:bc:27:67:58"

227989-->

228003--> OK

256025--> AT+CIPSTART=1,"TCP","52.66.148.290",61234

259227-->

259227--> ERROR

259228--> 1,CLOSED

260630--> WIFI DISCONNECT

264032--> WIFI CONNECTED

266733--> WIFI GOT IP

Statistics: Posted by Guest — Thu Apr 18, 2019 12:20 am


]]>
2018-03-20T18:05:49+08:00 2018-03-20T18:05:49+08:00 https://bbs.espressif.com:443/viewtopic.php?t=9353&p=19700#p19700 <![CDATA[Re: DNS issues then IP Error when using CIPSTART with an IP address]]> Statistics: Posted by Her Mary — Tue Mar 20, 2018 6:05 pm


]]>
2018-03-12T04:56:53+08:00 2018-03-12T04:56:53+08:00 https://bbs.espressif.com:443/viewtopic.php?t=9353&p=19600#p19600 <![CDATA[DNS issues then IP Error when using CIPSTART with an IP address]]>
I'm using AT+CIPSTART to establish a TCP link and my error trapping picked up quite a few fails and on expanding my debugging I discovered I seemed to be getting quite a few DNS fails for no apparent reason (can typically take 10-15 seconds or so for this error to be reported).

As a workaround I tried the IP address instead of the domain name but this immediately returns with an IP ERROR message. Although I was already on fairly current firmware I upgraded to AT Bin V1.6.1 but the symptoms are identical as the slightly earlier firmware.

The problem is reproducible on several different Arduinos including those with an ESP-01 and those with a Wemos Arduino Mega with integral 8266 flashed with the above firmware.#

Any ideas on both the DNS issue and the fact that substituting the server name with a pre-resolved IP fails immediately with an IP ERROR message?

thanks

Statistics: Posted by clarksn — Mon Mar 12, 2018 4:56 am


]]>