DNS Fail / CLOSED

craig1231
Posts: 2
Joined: Mon Jan 25, 2016 6:17 am

DNS Fail / CLOSED

Postby craig1231 » Mon Jan 25, 2016 6:28 am

Hello,

I wonder if you can help me please? I am attempting to start a TCP connection using the following command, after connecting to a Wifi AP successfully.

Code: Select all

AT+CIPSTART="TCP","173.254.28.109",80,5000\r\n


The ESP8266 device returns the following everytime.

Code: Select all

ERROR
CLOSED


I have also tried a host name directly:

Code: Select all

AT+CIPSTART="TCP","craig-phillips.uk",80,5000\r\n


And it returns everytime.

Code: Select all

ERROR
DNS Fail


As a result of the version Query

Code: Select all

AT+GMR\r\n


I get the following:

Code: Select all

AT version:0.30.0.0(Jul  3 2015 19:35:49)
SDK version:1.2.0
Ai-Thinker Technology Co.,Ltd.
Build:1.2.0.A Aug  7 2015 17:21:44
OK


Is there anything that I am doing incorrectly? What would be causing the TCP connection to fail everytime?

Many thanks

Craig

ESP_Faye
Posts: 1646
Joined: Mon Oct 27, 2014 11:08 am

Re: DNS Fail / CLOSED

Postby ESP_Faye » Mon Jan 25, 2016 4:55 pm

Hi,

Could your have a try with our latest AT firmware http://bbs.espressif.com/viewtopic.php?f=46&t=1451 ?

AT documentation : http://bbs.espressif.com/viewtopic.php?f=51&t=1022.
You can refer to documentation "4B-ESP8266__AT Command Examples" to use the AT commands.

If your problem is still unsolved, please provide the whole AT test logs for debugging. For example,

Code: Select all

AT+CWMODE=3     
OK
AT+CWJAP="SSID", "password" 
OK
AT+CIPSTART="TCP", "192.168.101.110", 8080
OK
...

craig1231
Posts: 2
Joined: Mon Jan 25, 2016 6:17 am

Re: DNS Fail / CLOSED

Postby craig1231 » Mon Jan 25, 2016 8:19 pm

Hello,

I have tried updating via OTA using the AT+CIUPDATE command and it just returned OK... but the update didn't work. Can I use an Arduino to update the firmware?

Regards

Craig

Who is online

Users browsing this forum: No registered users and 1 guest