收藏官网首页
查看: 18252|回复: 0

[问答] APP里设备一直提示 “未绑定”

8

主题

18

帖子

169

积分

注册会员

Rank: 2

积分
169
跳转到指定楼层
楼主
发表于 2017-3-3 10:46:00 | 只看该作者 |只看大图 回帖奖励 |倒序浏览 |阅读模式
教您5分钟接入机智云,实现傻瓜式开发
本帖最后由 kq851211 于 2017-3-3 10:55 编辑

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



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


您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

加入Q群 返回顶部

版权与免责声明 © 2006-2024 Gizwits IoT Technology Co., Ltd. ( 粤ICP备11090211号 )

快速回复 返回顶部 返回列表