kq851211 发表于 2017-3-3 10:46:00

APP里设备一直提示 “未绑定”

本帖最后由 kq851211 于 2017-3-3 10:55 编辑

app可以搜索到设备,点击未绑定的设备,可以进入控制页面,但是返回到“我的设备”,还是提示未绑定。
在ESP8266模块log里一直提示 DID len error!
会是什么问题导致的呢?



Receive OnBoarding data.
Save gagent config data
Flash erase failed, err: 1
NWK_WIFI_STA_UP
haiNwkStatus: 0x000A, gagentStatus: 0x000A
haiNwkStatus: 0x000A, gagentStatus: 0x000A
GAgentStatus change, lastGAgentStatus:0x000C, newGAgentStatus:0x000A
@@@@ GAgentStatus:0a | :0,0,1,0,1,0
OnBoarding: Station mode
gizWiFiStatus
gizwitsEventProcess len:1,
event:2,
WIFI_STATION
event:13,
RSSI 0
scandone
state: 0 -> 2 (b0)
state: 2 -> 3 (0)
state: 3 -> 5 (10)
add 0
aid 9
cnt

connected with suslaser, channel 11
dhcp client start...
connect to ssid suslaser, channel 11
ip:192.168.10.113,mask:255.255.255.0,gw:192.168.10.1
ip:192.168.10.113,mask:255.255.255.0,gw:192.168.10.1
NWK_WIFI_STA_CONNECTED
Not ip, Go to GServer DNS.
dns: api.gizwits.com found null obj. idex: 0
Save gagent config data
Flash erase failed, err: 1
enable bind mode, timeout time: 0.
Cancle router connect monitor.
haiNwkStatus: 0x001A, gagentStatus: 0x001A
onboardingBroadCastTime:29
startupBroadCastTime:29
DID len error!
GAgentStatus change, lastGAgentStatus:0x000A, newGAgentStatus:0x061A
@@@@ GAgentStatus:61a | :0,1,1,0,1,0
OnBoarding: Station mode
WiFi status: connected router
gizWiFiStatus
gizwitsEventProcess len:1,
event:2,
WIFI_STATION
event:5,
event:13,
RSSI 6
frDnsIpFound dns ip found: 119.29.47.111
frFaultProgress FR_DNS_RESULT.
DNS GServer ip is change. old GServer_ip : 0.0.0.0
Save gagent config data
Flash erase failed, err: 1
DNS result GServer_ip : 119.29.47.111
gagentTimerDel <null> has not linked.
Need to get did!!!
Save gagent config data
Flash erase failed, err: 1
http connect succeed !!!
Save gagent config data
Flash erase failed, err: 1
Register got did : len=0
GAgent go to provision!!!
httpResendTimerCb ip is null.
onboardingBroadCastTime:28
startupBroadCastTime:28
DID len error!
startupBroadCastTime:27
DID len error!
onboardingBroadCastTime:27
SC_STATUS_LINK_OVER
Phone ip: 192.168.10.109
onboardingBroadCastTime:26
startupBroadCastTime:26
DID len error!
Create pd:1ip:192.168.10.109 port:40300
New client connect,pd:1
Receive lan tcp packet cnt is 1
Send passcode() to client.
pm open,type:0 0
lan client num : 0,wan client num : 0
onboardingBroadCastTime:25
startupBroadCastTime:25
DID len error!
Lan tcp disconnect success,ip:192.168.10.109 port:40300
Turn on device restart count down, flag: 0
onboardingBroadCastTime:24
startupBroadCastTime:24
DID len error!
DID len error!
GAgent ack app discover ret=0...
startupBroadCastTime:23
DID len error!
onboardingBroadCastTime:23
onboardingBroadCastTime:22
startupBroadCastTime:22
DID len error!
onboardingBroadCastTime:21
startupBroadCastTime:21
DID len error!
onboardingBroadCastTime:20
startupBroadCastTime:20
DID len error!
startupBroadCastTime:19
DID len error!
onboardingBroadCastTime:19
onboardingBroadCastTime:18
startupBroadCastTime:18
DID len error!
onboardingBroadCastTime:17
startupBroadCastTime:17
DID len error!
onboardingBroadCastTime:16
startupBroadCastTime:16
DID len error!
startupBroadCastTime:15
DID len error!
onboardingBroadCastTime:15
onboardingBroadCastTime:14
startupBroadCastTime:14
DID len error!
onboardingBroadCastTime:13
startupBroadCastTime:13
DID len error!
onboardingBroadCastTime:12
startupBroadCastTime:12
DID len error!
startupBroadCastTime:11
DID len error!
onboardingBroadCastTime:11
onboardingBroadCastTime:10
startupBroadCastTime:10
DID len error!
onboardingBroadCastTime:9
startupBroadCastTime:9
DID len error!
onboardingBroadCastTime:8
startupBroadCastTime:8
DID len error!
startupBroadCastTime:7
DID len error!
onboardingBroadCastTime:7
onboardingBroadCastTime:6
startupBroadCastTime:6
DID len error!
onboardingBroadCastTime:5
startupBroadCastTime:5
DID len error!
onboardingBroadCastTime:4
startupBroadCastTime:4
DID len error!
DID len error!
GAgent ack app discover ret=0...
startupBroadCastTime:3
DID len error!
onboardingBroadCastTime:3
Create pd:1ip:192.168.10.109 port:40304
New client connect,pd:1
Receive lan tcp packet cnt is 1
Send passcode() to client.
Lan tcp disconnect success,ip:192.168.10.109 port:40304
Turn on device restart count down, flag: 0
lan client num : 0,wan client num : 0
onboardingBroadCastTime:2
startupBroadCastTime:2
DID len error!
onboardingBroadCastTime:1
startupBroadCastTime:1
DID len error!
Create pd:1ip:192.168.10.109 port:40305
New client connect,pd:1
Receive lan tcp packet cnt is 1
Send passcode() to client.
Lan tcp disconnect success,ip:192.168.10.109 port:40305
Turn on device restart count down, flag: 0
lan client num : 0,wan client num : 0
onboardingBroadCastTime:0
startupBroadCastTime:0
DID len error!
Save gagent config data
Flash erase failed, err: 1
Save gagent config data
Flash erase failed, err: 1
Create pd:1ip:192.168.10.109 port:40306
New client connect,pd:1
Receive lan tcp packet cnt is 1
Send passcode() to client.
Lan tcp disconnect success,ip:192.168.10.109 port:40306
Turn on device restart count down, flag: 0
lan client num : 0,wan client num : 0
DID len error!


页: [1]
查看完整版本: APP里设备一直提示 “未绑定”