TCP server disconnect every seconds automatically.

leeshine
Posts: 63
Joined: Wed Dec 31, 2014 4:59 pm

TCP server disconnect every seconds automatically.

Postby leeshine » Mon Jan 26, 2015 11:13 am

I create a TCP server based on esp8266. It always disconnect every seconds. I don't know why. I have set the espconn_register_time to max 7200.

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

Re: TCP server disconnect every seconds automatically.

Postby ESP_Faye » Mon Jan 26, 2015 5:21 pm

Hi,Thanks for your interest in ESP8266

Please refer to user_webserver_init in IOT_Demo

or you can test it with the one we have already created in IOT_Demo. 192.168.4.1 , port 80

leeshine
Posts: 63
Joined: Wed Dec 31, 2014 4:59 pm

Re: TCP server disconnect every seconds automatically.

Postby leeshine » Tue Jan 27, 2015 11:38 am

Espressif_Faye wrote:Hi,Thanks for your interest in ESP8266

Please refer to user_webserver_init in IOT_Demo

or you can test it with the one we have already created in IOT_Demo. 192.168.4.1 , port 80

I have tested the IOT Demo as you say, It also disconnect automatically every seconds, what's the matter?

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

Re: TCP server disconnect every seconds automatically.

Postby ESP_Faye » Tue Jan 27, 2015 2:56 pm

Hi,

Can you provide more information about your problem?

Like UART output log for debug,your test steps ,your test code.

what’s the version of your testing sdk, could you try it with the lates sdk_v0.9.5 http://bbs.espressif.com/viewtopic.php?f=5&t=154

Thanks for your interest in ESP8266 !

Who is online

Users browsing this forum: No registered users and 201 guests