ESP-Touch极难连接,容易超时

iamseer
Posts: 4
Joined: Thu Apr 16, 2015 1:56 am

ESP-Touch极难连接,容易超时

Postby iamseer » Wed May 20, 2015 12:18 am

ESP-touch默认APP超时只有46秒(这个可以自行修改),在ESP8266上30秒左右就会超时,但是平均大概要40秒左右才能锁定频道,然后经常在数据尚未接受完成就超时。希望能在调用smartconfig_start是可以指定超时时间。同时加入状态变化的callback就不必轮询get_smartconfig_status了

ESP_Alfred
Posts: 56
Joined: Mon Nov 10, 2014 7:31 pm

Re: ESP-Touch极难连接,容易超时

Postby ESP_Alfred » Wed May 20, 2015 10:44 am

1、8266在锁定完channel的时候才会开始计时,约会经过45s才会超时。

2、“smartconfig_start是可以指定超时时间”
-》》这个提议我们会考虑添加。

3、“同时加入状态变化的callback就不必轮询get_smartconfig_status了”
-》》我们将在下一版修改成这种方式

4、“平均大概要40秒左右才能锁定频道”
-》》请提供路由器型号,和配置时的log

iamseer
Posts: 4
Joined: Thu Apr 16, 2015 1:56 am

Re: ESP-Touch极难连接,容易超时

Postby iamseer » Fri May 22, 2015 1:43 am

你好,
我测量了一下时间,确实是45s左右。
这个时间大多数时候并不够传输密码。我附上3次失败的数据。使用WR703 + Nexus 6, Github上的APP直接导入编译。 路由器未接入互联网。

13:25:25.703 [RX] -
ets Jan 8 2013,rst cause:2, boot mode:(3,7)

load 0x40100000, len 28372, room 16
tail 4
chksum 0xee
load 0x3ffe8000, len 2556, room 4
tail 8
chksum 0xda
load 0x3ffe8a00, len 1544, room 0
tail 8
chksum 0xb2
csum 0xb2
R??h"?`?!?`1hM"??
SDK ver: 1.0.1 compiled @ Apr 24 2015 19:31:11
phy ver: 329, pp ver: 8.4

SDK version:1.0.1

TYPE: ESPTOUCH V1.4
mode : sta(18:fe:34:a4:38:bb)
add if0
13:25:28.121 [RX] - scandone
13:25:49.122 [RX] - sniffer on ch:1

T|PHONE MAC: ec 88 92 6d d4 d4
T|Head Len : 82

T|sync:wait
T|retain data: 0
T|all data: 20

T|sync:mgc end
13:25:52.803 [RX] - T|ssid len12
T|SSID: OpenWrt_TEST
T|SCAN CRC SSID: 1
T|index:2, remain:1
T|password len: 8
T|sync:pfx end
13:26:32.113 [RX] - smartconfig restart

TYPE: ESPTOUCH V1.4
13:26:34.234 [RX] - scandone

===============================================================================================

13:28:52.369 [RX] -
ets Jan 8 2013,rst cause:2, boot mode:(3,7)

load 0x40100000, len 28372, room 16
tail 4
chksum 0xee
load 0x3ffe8000, len 2556, room 4
tail 8
chksum 0xda
load 0x3ffe8a00, len 1544, room 0
tail 8
chksum 0xb2
csum 0xb2
??R???"???!?`?hM"??
SDK ver: 1.0.1 compiled @ Apr 24 2015 19:31:11
phy ver: 329, pp ver: 8.4

SDK version:1.0.1

TYPE: ESPTOUCH V1.4
mode : sta(18:fe:34:a4:38:bb)
add if0
13:28:54.787 [RX] - scandone
13:28:57.858 [RX] - sniffer on ch:1

T|PHONE MAC: ec 88 92 6d d4 d4
T|Head Len : 82

T|sync:wait
T|retain data: 0
T|all data: 20

T|sync:mgc end
13:29:01.346 [RX] - T|ssid len12
T|SSID: OpenWrt_TEST
T|SCAN CRC SSID: 1
T|index:2, remain:1
T|password len: 8
T|sync:pfx end
13:29:40.846 [RX] - smartconfig restart

TYPE: ESPTOUCH V1.4
13:29:42.969 [RX] - scandone

===============================================================================================

13:31:39.475 [RX] -
ets Jan 8 2013,rst cause:2, boot mode:(3,7)

load 0x40100000, len 28372, room 16
tail 4
chksum 0xee
load 0x3ffe8000, len 2556, room 4
tail 8
chksum 0xda
load 0x3ffe8a00, len 1544, room 0
tail 8
chksum 0xb2
csum 0xb2
??R?h?"?`?!?`1hM"??
SDK ver: 1.0.1 compiled @ Apr 24 2015 19:31:11
phy ver: 329, pp ver: 8.4

SDK version:1.0.1

TYPE: ESPTOUCH V1.4
mode : sta(18:fe:34:a4:38:bb)
add if0
13:31:41.891 [RX] - scandone
13:32:02.926 [RX] - sniffer on ch:1

T|PHONE MAC: ec 88 92 6d d4 d4
T|Head Len : 82

T|sync:wait
13:32:04.236 [RX] - T|retain data: 0
T|all data: 20

T|sync:mgc end
13:32:07.780 [RX] - T|ssid len12
T|SSID: OpenWrt_TEST
T|SCAN CRC SSID: 1
T|index:2, remain:1
T|password len: 8
T|sync:pfx end
13:32:11.010 [RX] - T|2-1
T|4-3
T|5-4
T|6-5
T|7-6
T|8-7
13:32:21.895 [RX] - T|1-0
T|2-1
T|4-3
T|5-4
T|6-5
T|8-7
13:32:45.932 [RX] - smartconfig restart

TYPE: ESPTOUCH V1.4
13:32:48.055 [RX] - scandone

ESP_Alfred
Posts: 56
Joined: Mon Nov 10, 2014 7:31 pm

Re: ESP-Touch极难连接,容易超时

Postby ESP_Alfred » Mon May 25, 2015 7:42 pm

1、请换台路由器或者手机测试下,告诉我们结果
2、请问您APP版本号是多少

Who is online

Users browsing this forum: No registered users and 3 guests