DNS issues then IP Error when using CIPSTART with an IP address

clarksn
Posts: 1
Joined: Mon Mar 12, 2018 4:44 am

DNS issues then IP Error when using CIPSTART with an IP address

Postby clarksn » Mon Mar 12, 2018 4:56 am

Hi,

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

Her Majesty
Posts: 329
Joined: Mon Oct 27, 2014 11:09 am

Re: DNS issues then IP Error when using CIPSTART with an IP address

Postby Her Majesty » Tue Mar 20, 2018 6:05 pm

Which IP address you used? An AT log list will be very helpful for debugging.

Who is online

Users browsing this forum: No registered users and 1 guest