DHCP 有效时间/过期时间 Lease Expires

mountain8848
Posts: 3
Joined: Wed Mar 29, 2017 3:53 pm

DHCP 有效时间/过期时间 Lease Expires

Postby mountain8848 » Wed Mar 29, 2017 4:05 pm

我的TP link router,dhcp只有1分钟的有效期,且不能修改。所以ESP8266连接上后,每隔1分钟就会被断开,如何避免这个问题?
ESP8266链接命令如下:
My TP -link router has dhcp server, which is only has 1 min to expire. So ESP8266 will be disconnected. How to fix this problem?

==============用于连接的命令:AT Command used during link=====================
AT+CWQAP // disconnect if exist link
AT+CWMODE_CUR=1
AT+CWJAP_CUR=<AP_NAME>,<AP_PWD>
AT+CIFSR // list IP from DHCP
AT+CIPMUX=1
AT+CIPSTART=0, "TCP", SER_IP, SER_Port

============每隔一段时间就会断开, 收到如下命令: HOST MCU will RX the disconnected string from ESP8266=====
0, close

mountain8848
Posts: 3
Joined: Wed Mar 29, 2017 3:53 pm

Re: DHCP 有效时间/过期时间 Lease Expires

Postby mountain8848 » Fri Apr 14, 2017 11:42 am

管理员,或ESPRESSIF员工能帮忙答疑吗?

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

Re: DHCP 有效时间/过期时间 Lease Expires

Postby ESP_Faye » Fri Apr 14, 2017 11:56 am

您好,

请问您的路由器具体型号和配置是怎样的,我们将尽力找到相同的路由器进行测试。

如果不停发送 TCP 数据包,连接是否还会断开呢?

mountain8848
Posts: 3
Joined: Wed Mar 29, 2017 3:53 pm

Re: DHCP 有效时间/过期时间 Lease Expires

Postby mountain8848 » Fri Apr 14, 2017 7:39 pm

TL-WR700N,2014年之前的。

发数据也一样有问题。我感觉是否我少发了什么AT命令吗?

Who is online

Users browsing this forum: No registered users and 4 guests