收藏官网首页
查看: 3367|回复: 1

[求助] OTA升级不成功

1

主题

25

帖子

456

积分

中级会员

Rank: 3Rank: 3

积分
456
跳转到指定楼层
楼主
发表于 2018-9-17 21:20:26 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
教您5分钟接入机智云,实现傻瓜式开发
串口升级都正常,OTA一直升级不成功,反复下载推送的固件。不知道什么问题,有没有大神帮忙分析下
升级日志:
[21:14:24.368] [021000][M2M] send_packet len=2
[21:14:24.368] [020824][M2M] mqtt send cb
[21:14:24.429] [020984][M2M] Recv data from m2m,len=2
[21:14:24.429] [020848][M2M] Receive mqtt packet is 1
[21:14:24.429] [020912][M2M] Recv data from m2m,len=69
[21:14:35.065] [020712][M2M] Receive mqtt packet is 1
[21:14:35.065] [020800][M2M] M2M cmd to check OTA!!!
[21:14:35.065] [020800][M2M] M2M push WIFI OTA!
[21:14:35.065] [020904][OTA] otaStartReqSver
[21:14:35.065] [020904][OTA] otaInitSocketReqSver
[21:14:35.065] [020576][OTA] OTA http connect success status :1 !!!
[21:14:35.198] [020000][OTA] download_url http://api.gizwits.com/dev/ota/v4.1/download/20640 sver:04020827 otaType=1
[21:14:35.353] [019832][OTA] do OTA socket=1 tcp close ret =0!
[21:14:35.353] [019768][OTA] Need't to dns OTA Domain:api.gizwits.com,ip:119.29.47.111
[21:14:35.353] [019736][OTA] otaInitSocketDownloadFile
[21:14:35.353] [019280][OTA] connect ota server
[21:14:35.353] [019888][OTA] otaHttpReqSvSocketDisCb disconnect success !!!
[21:14:35.383] [020128][OTA] OTA http connect success status :2 !!!
[21:14:35.499] [018912][OTA] OTA http Response Code = 200
[21:14:35.594] [018912][OTA] Firmwarelen = 447508
[21:14:35.594] [018912][GServer] download firmware type is bin.
[21:14:35.594] [018912][OTA] have downloaded file len 907
[21:14:35.624] [018848][OTA] have downloaded file len 2307
[21:14:35.624] [018760][OTA] have downloaded file len 3707
[21:14:35.654] [018912][OTA] have downloaded file len 5107
[21:14:35.684] [017384][OTA] have downloaded file len 7155
[21:14:35.750] [017384][OTA] have downloaded file len 7907
[21:14:35.750] [018912][OTA] have downloaded file len 9307
[21:14:35.830] [018784][OTA] have downloaded file len 10707
[21:14:35.830] [018912][OTA] have downloaded file len 12107
[21:14:35.830] [018792][OTA] have downloaded file len 13507
[21:14:35.900] [018912][OTA] have downloaded file len 14907
[21:14:35.930] [019920][OTA] have downloaded file len 15147
[21:14:35.930] [019152][OTA] have downloaded file len 16307
[21:14:35.930] [018912][OTA] have downloaded file len 17707
[21:14:36.086] [018848][OTA] have downloaded file len 19107
[21:14:36.086] [018760][OTA] have downloaded file len 20507
[21:14:36.116] [018792][OTA] have downloaded file len 21907
[21:14:36.146] [018912][OTA] have downloaded file len 23307
[21:14:36.176] [018792][OTA] have downloaded file len 24707
[21:14:36.238] [018880][OTA] have downloaded file len 26107
[21:14:36.238] [019952][OTA] have downloaded file len 26347
[21:14:36.238] [019152][OTA] have downloaded file len 27507
[21:14:36.268] [018912][OTA] have downloaded file len 28907
[21:14:36.370] [018848][OTA] have downloaded file len 30307
[21:14:36.370] [018760][OTA] have downloaded file len 31707
[21:14:36.370] [018912][OTA] have downloaded file len 33107
[21:14:36.403] [018912][OTA] have downloaded file len 34507
[21:14:36.464] [018912][OTA] have downloaded file len 35907
[21:14:36.464] [018912][OTA] have downloaded file len 37307
[21:14:36.559] [018848][OTA] have downloaded file len 38707
[21:14:36.559] [018760][OTA] have downloaded file len 40107
[21:14:36.559] [018912][OTA] have downloaded file len 41507
[21:14:36.620] [018912][OTA] have downloaded file len 42907
[21:14:36.650] [018912][OTA] have downloaded file len 44307
[21:14:36.650] [018912][OTA] have downloaded file len 45707
[21:14:36.757] [018784][OTA] have downloaded file len 47107
[21:14:36.757] [018912][OTA] have downloaded file len 48507
[21:14:36.787] [018792][OTA] have downloaded file len 49907
[21:14:36.819] [018912][OTA] have downloaded file len 51307
[21:14:36.850] [019952][OTA] have downloaded file len 51547
[21:14:36.850] [019152][OTA] have downloaded file len 52707
[21:14:36.850] [018912][OTA] have downloaded file len 54107
[21:14:36.993] [018848][OTA] have downloaded file len 55507
[21:14:36.993] [018760][OTA] have downloaded file len 56907
[21:14:36.993] [018912][OTA] have downloaded file len 58307
[21:14:37.054] [018912][OTA] have downloaded file len 59707
[21:14:37.084] [018912][OTA] have downloaded file len 61107
[21:14:37.084] [018912][OTA] have downloaded file len 62507
[21:14:37.188] [018848][OTA] have downloaded file len 63907
[21:14:37.188] [018760][OTA] have downloaded file len 65307
[21:14:37.188] [018912][OTA] have downloaded file len 66707
[21:14:37.249] [018912][OTA] have downloaded file len 68107
[21:14:37.280] [018912][OTA] have downloaded file len 69507
[21:14:37.280] [018912][OTA] have downloaded file len 70907
[21:14:37.377] [018784][OTA] have downloaded file len 72307
[21:14:37.377] [018912][OTA] have downloaded file len 73707
[21:14:37.377] [018792][OTA] have downloaded file len 75107
[21:14:37.439] [018912][OTA] have downloaded file len 76507
[21:14:37.470] [019920][OTA] have downloaded file len 76747
[21:14:37.470] [019152][OTA] have downloaded file len 77907
[21:14:37.522] [018912][OTA] have downloaded file len 79307
[21:14:37.553] [018912][OTA] have downloaded file len 80707
[21:14:37.553] [018912][OTA] have downloaded file len 82107
[21:14:37.656] [018728][OTA] have downloaded file len 83507
[21:14:37.656] [018880][OTA] have downloaded file len 84907
[21:14:37.656] [018792][OTA] have downloaded file len 86307
[21:14:37.717] [018912][OTA] have downloaded file len 87707
[21:14:37.748] [019856][OTA] have downloaded file len 87947
[21:14:37.780] [019088][OTA] have downloaded file len 89107
[21:14:37.780] [018760][OTA] have downloaded file len 90507
[21:14:37.811] [019952][OTA] have downloaded file len 90747
[21:14:37.811] [019152][OTA] have downloaded file len 91907
[21:14:37.843] [018912][OTA] have downloaded file len 93307
[21:14:37.874] [018912][OTA] have downloaded file len 94707
[21:14:37.938] [018792][OTA] have downloaded file len 96107
[21:14:37.938] [018912][OTA] have downloaded file len 97507
[21:14:37.969] [018912][OTA] have downloaded file len 98907
[21:14:38.076] [018728][OTA] have downloaded file len 100307
[21:14:38.076] [018880][OTA] have downloaded file len 101707
[21:14:38.076] [018792][OTA] have downloaded file len 103107
[21:14:38.137] [018912][OTA] have downloaded file len 104507
[21:14:38.168] [019952][OTA] have downloaded file len 104747
[21:14:38.168] [019152][OTA] have downloaded file len 105907
[21:14:38.168] [018912][OTA] have downloaded file len 107307
[21:14:38.314] [018848][OTA] have downloaded file len 108707
[21:14:38.314] [018760][OTA] have downloaded file len 110107
[21:14:38.314] [018912][OTA] have downloaded file len 111507
[21:14:38.375] [018912][OTA] have downloaded file len 112907
[21:14:38.406] [018912][OTA] have downloaded file len 114307
[21:14:38.406] [018912][OTA] have downloaded file len 115707
[21:14:38.497] [018848][OTA] have downloaded file len 117107
[21:14:38.497] [018760][OTA] have downloaded file len 118507
[21:14:38.497] [018912][OTA] have downloaded file len 119907
[21:14:38.550] [018912][OTA] have downloaded file len 121307
[21:14:38.611] [018912][OTA] have downloaded file len 122707
[21:14:38.611] [018912][OTA] have downloaded file len 124107
[21:14:38.689] [018784][OTA] have downloaded file len 125507
[21:14:38.689] [018912][OTA] have downloaded file len 126907
[21:14:38.720] [018792][OTA] have downloaded file len 128307
[21:14:38.781] [018912][OTA] have downloaded file len 129707
[21:14:38.781] [019952][OTA] have downloaded file len 129947
[21:14:38.781] [019152][OTA] have downloaded file len 131107
[21:14:38.853] [018912][OTA] have downloaded file len 132507
[21:14:38.883] [018912][OTA] have downloaded file len 133907
[21:14:38.883] [018912][OTA] have downloaded file len 135307
[21:14:38.979] [018848][OTA] have downloaded file len 136707
[21:14:38.979] [018760][OTA] have downloaded file len 138107
[21:14:38.979] [018912][OTA] have downloaded file len 139507
[21:14:39.043] [018912][OTA] have downloaded file len 140907
[21:14:39.074] [018912][OTA] have downloaded file len 142307
[21:14:39.074] [018912][OTA] have downloaded file len 143707
[21:14:39.172] [018728][OTA] have downloaded file len 145107
[21:14:39.172] [018880][OTA] have downloaded file len 146507
[21:14:39.172] [018792][OTA] have downloaded file len 147907
[21:14:39.233] [018912][OTA] have downloaded file len 149307
[21:14:39.233] [019952][OTA] have downloaded file len 149547
[21:14:39.233] [019152][OTA] have downloaded file len 150707
[21:14:39.264] [018912][OTA] have downloaded file len 152107
[21:14:39.374] [018848][OTA] have downloaded file len 153507
[21:14:39.374] [018760][OTA] have downloaded file len 154907
[21:14:39.374] [018912][OTA] have downloaded file len 156307
[21:14:39.435] [018912][OTA] have downloaded file len 157707
[21:14:39.506] [018912][OTA] have downloaded file len 159107
[21:14:39.506] [018912][OTA] have downloaded file len 160507
[21:14:39.586] [018784][OTA] have downloaded file len 161907
[21:14:39.586] [018880][OTA] have downloaded file len 163307
[21:14:39.586] [018792][OTA] have downloaded file len 164707
[21:14:39.647] [018912][OTA] have downloaded file len 166107
[21:14:39.678] [019920][OTA] have downloaded file len 166347
[21:14:39.678] [019152][OTA] have downloaded file len 167507
[21:14:39.678] [018912][OTA] have downloaded file len 168907
[21:14:39.826] [018848][OTA] have downloaded file len 170307
[21:14:39.826] [018760][OTA] have downloaded file len 171707
[21:14:39.826] [018912][OTA] have downloaded file len 173107
[21:14:39.887] [018912][OTA] have downloaded file len 174507
[21:14:39.917] [018912][OTA] have downloaded file len 175907
[21:14:39.917] [018912][OTA] have downloaded file len 177307
[21:14:40.016] [018728][OTA] have downloaded file len 178707
[21:14:40.016] [018880][OTA] have downloaded file len 180107
[21:14:40.016] [018792][OTA] have downloaded file len 181507
[21:14:40.077] [018912][OTA] have downloaded file len 182907
[21:14:40.108] [019952][OTA] have downloaded file len 183147
[21:14:40.108] [019152][OTA] have downloaded file len 184307
[21:14:40.108] [018912][OTA] have downloaded file len 185707
[21:14:40.234] [018848][OTA] have downloaded file len 187107
[21:14:40.234] [018760][OTA] have downloaded file len 188507
[21:14:40.295] [018792][OTA] have downloaded file len 189907
[21:14:40.295] [018912][OTA] have downloaded file len 191307
[21:14:40.387] [018728][OTA] have downloaded file len 192707
[21:14:40.417] [018760][OTA] have downloaded file len 194107
[21:14:40.449] [020072][OTA] have downloaded file len 194347
[21:14:40.449] [019152][OTA] have downloaded file len 195507
[21:14:40.510] [018912][OTA] have downloaded file len 196907
[21:14:40.564] [018880][OTA] have downloaded file len 198307
[21:14:40.564] [018792][OTA] have downloaded file len 199707
[21:14:40.564] [018912][OTA] have downloaded file len 201107
[21:14:40.696] [018760][OTA] have downloaded file len 202507
[21:14:40.696] [018912][OTA] have downloaded file len 203907
[21:14:40.696] [018912][OTA] have downloaded file len 205307
[21:14:40.835] [018848][OTA] have downloaded file len 206707
[21:14:40.835] [018760][OTA] have downloaded file len 208107
[21:14:40.835] [018912][OTA] have downloaded file len 209507
[21:14:40.896] [018912][OTA] have downloaded file len 210907
[21:14:40.927] [018912][OTA] have downloaded file len 212307
[21:14:40.927] [018912][OTA] have downloaded file len 213707
[21:14:41.020] [018848][OTA] have downloaded file len 215107
[21:14:41.020] [018760][OTA] have downloaded file len 216507
[21:14:41.020] [018912][OTA] have downloaded file len 217907
[21:14:41.082] [018912][OTA] have downloaded file len 219307
[21:14:41.082] [018912][OTA] have downloaded file len 220707
[21:14:41.113] [018912][OTA] have downloaded file len 222107
[21:14:41.239] [018728][OTA] have downloaded file len 223507
[21:14:41.239] [018880][OTA] have downloaded file len 224907
[21:14:41.239] [018792][OTA] have downloaded file len 226307
[21:14:41.300] [018912][OTA] have downloaded file len 227707
[21:14:41.331] [019952][OTA] have downloaded file len 227947
[21:14:41.331] [019152][OTA] have downloaded file len 229107
[21:14:41.331] [018912][OTA] have downloaded file len 230507
[21:14:41.475] [018848][OTA] have downloaded file len 231907
[21:14:41.475] [018760][OTA] have downloaded file len 233307
[21:14:41.475] [018912][OTA] have downloaded file len 234707
[21:14:41.536] [018912][OTA] have downloaded file len 236107
[21:14:41.589] [018912][OTA] have downloaded file len 237507
[21:14:41.589] [018912][OTA] have downloaded file len 238907
[21:14:41.655] [018848][OTA] have downloaded file len 240307
[21:14:41.655] [018760][OTA] have downloaded file len 241707
[21:14:41.686] [018792][OTA] have downloaded file len 243107
[21:14:41.717] [018912][OTA] have downloaded file len 244507
[21:14:41.748] [018792][OTA] have downloaded file len 245907
[21:14:41.779] [018912][OTA] have downloaded file len 247307
[21:14:41.810] [019952][OTA] have downloaded file len 247547
[21:14:41.810] [019152][OTA] have downloaded file len 248707
[21:14:41.841] [018912][OTA] have downloaded file len 250107
[21:14:41.953] [018848][OTA] have downloaded file len 251507
[21:14:41.953] [018760][OTA] have downloaded file len 252907
[21:14:41.953] [018912][OTA] have downloaded file len 254307
[21:14:41.984] [018912][OTA] have downloaded file len 255707
[21:14:42.015] [018912][OTA] have downloaded file len 257107
[21:14:42.046] [018912][OTA] have downloaded file len 258507
[21:14:42.141] [018848][OTA] have downloaded file len 259907
[21:14:42.141] [018760][OTA] have downloaded file len 261307
[21:14:42.141] [018912][OTA] have downloaded file len 262707
[21:14:42.202] [018912][OTA] have downloaded file len 264107
[21:14:42.234] [018912][OTA] have downloaded file len 265507
[21:14:42.234] [018912][OTA] have downloaded file len 266907
[21:14:42.496] [018728][OTA] have downloaded file len 268307
[21:14:42.496] [018880][OTA] have downloaded file len 269707
[21:14:42.496] [018792][OTA] have downloaded file len 271107
[21:14:42.561] [018912][OTA] have downloaded file len 272507
[21:14:42.609] [019952][OTA] have downloaded file len 272747
[21:14:42.609] [019152][OTA] have downloaded file len 273907
[21:14:42.609] [018912][OTA] have downloaded file len 275307
[21:14:42.754] [018848][OTA] have downloaded file len 276707
[21:14:42.754] [018760][OTA] have downloaded file len 278107
[21:14:42.754] [018912][OTA] have downloaded file len 279507
[21:14:42.815] [018912][OTA] have downloaded file len 280907
[21:14:42.846] [018912][OTA] have downloaded file len 282307
[21:14:42.877] [018912][OTA] have downloaded file len 283707
[21:14:42.992] [018728][OTA] have downloaded file len 285107
[21:14:42.992] [018880][OTA] have downloaded file len 286507
[21:14:42.992] [018792][OTA] have downloaded file len 287907
[21:14:43.053] [018912][OTA] have downloaded file len 289307
[21:14:43.145] [020040][OTA] have downloaded file len 289547
[21:14:43.145] [019032][OTA] have downloaded file len 290707
[21:14:43.145] [018912][OTA] have downloaded file len 292107
[21:14:43.253] [018760][OTA] have downloaded file len 293507
[21:14:43.253] [018912][OTA] have downloaded file len 294907
[21:14:43.253] [018912][OTA] have downloaded file len 296307
[21:14:43.376] [018816][OTA] have downloaded file len 297707
[21:14:43.376] [018728][OTA] have downloaded file len 299107
[21:14:43.407] [018760][OTA] have downloaded file len 300507
[21:14:43.438] [020072][OTA] have downloaded file len 300747
[21:14:43.438] [019152][OTA] have downloaded file len 301907
[21:14:43.469] [018912][OTA] have downloaded file len 303307
[21:14:43.561] [018760][OTA] have downloaded file len 304707
[21:14:43.561] [018912][OTA] have downloaded file len 306107
[21:14:43.561] [018912][OTA] have downloaded file len 307507
[21:14:43.715] [018696][OTA] have downloaded file len 308907
[21:14:43.715] [018848][OTA] have downloaded file len 310307
[21:14:43.715] [018760][OTA] have downloaded file len 311707
[21:14:43.777] [020072][OTA] have downloaded file len 311947
[21:14:43.777] [019152][OTA] have downloaded file len 313107
[21:14:43.808] [018912][OTA] have downloaded file len 314507
[21:14:43.808] [018792][OTA] have downloaded file len 315907
[21:14:43.881] [018784][OTA] have downloaded file len 317307
[21:14:43.881] [018912][OTA] have downloaded file len 318707
[21:14:43.912] [018912][OTA] have downloaded file len 320107
[21:14:44.025] [018728][OTA] have downloaded file len 321507
[21:14:44.025] [018880][OTA] have downloaded file len 322907
[21:14:44.025] [018792][OTA] have downloaded file len 324307
[21:14:44.089] [018912][OTA] have downloaded file len 325707
[21:14:44.089] [019952][OTA] have downloaded file len 325947
[21:14:44.120] [019152][OTA] have downloaded file len 327107
[21:14:44.120] [018912][OTA] have downloaded file len 328507
[21:14:44.250] [018848][OTA] have downloaded file len 329907
[21:14:44.250] [018760][OTA] have downloaded file len 331307
[21:14:44.250] [018912][OTA] have downloaded file len 332707
[21:14:44.311] [018912][OTA] have downloaded file len 334107
[21:14:44.343] [018912][OTA] have downloaded file len 335507
[21:14:44.343] [018912][OTA] have downloaded file len 336907
[21:14:44.435] [018912][OTA] have downloaded file len 338307
[21:14:44.435] [018912][OTA] have downloaded file len 339707
[21:14:44.435] [018912][OTA] have downloaded file len 341107
[21:14:44.508] [018912][OTA] have downloaded file len 342507
[21:14:44.508] [018912][OTA] have downloaded file len 343907
[21:14:44.539] [018912][OTA] have downloaded file len 345307
[21:14:44.624] [018728][OTA] have downloaded file len 346707
[21:14:44.624] [018880][OTA] have downloaded file len 348107
[21:14:44.655] [018792][OTA] have downloaded file len 349507
[21:14:44.686] [018912][OTA] have downloaded file len 350907
[21:14:44.717] [019952][OTA] have downloaded file len 351147
[21:14:44.717] [019152][OTA] have downloaded file len 352307
[21:14:44.789] [018912][OTA] have downloaded file len 353707
[21:14:44.789] [018912][OTA] have downloaded file len 355107
[21:14:44.820] [018912][OTA] have downloaded file len 356507
[21:14:44.917] [018728][OTA] have downloaded file len 357907
[21:14:44.917] [018880][OTA] have downloaded file len 359307
[21:14:44.917] [018792][OTA] have downloaded file len 360707
[21:14:44.978] [018912][OTA] have downloaded file len 362107
[21:14:45.009] [019952][OTA] have downloaded file len 362347
[21:14:45.009] [019152][OTA] have downloaded file len 363507
[21:14:45.009] [018912][OTA] have downloaded file len 364907
[21:14:45.131] [018848][OTA] have downloaded file len 366307
[21:14:45.131] [018760][OTA] have downloaded file len 367707
[21:14:45.131] [018912][OTA] have downloaded file len 369107
[21:14:45.192] [018912][OTA] have downloaded file len 370507
[21:14:45.223] [018912][OTA] have downloaded file len 371907
[21:14:45.223] [018912][OTA] have downloaded file len 373307
[21:14:45.316] [018848][OTA] have downloaded file len 374707
[21:14:45.316] [018760][OTA] have downloaded file len 376107
[21:14:45.316] [018912][OTA] have downloaded file len 377507
[21:14:45.377] [018912][OTA] have downloaded file len 378907
[21:14:45.449] [018912][OTA] have downloaded file len 380307
[21:14:45.449] [018912][OTA] have downloaded file len 381707
[21:14:45.561] [018728][OTA] have downloaded file len 383107
[21:14:45.561] [018880][OTA] have downloaded file len 384507
[21:14:45.561] [018792][OTA] have downloaded file len 385907
[21:14:45.646] [018912][OTA] have downloaded file len 387307
[21:14:45.646] [019952][OTA] have downloaded file len 387547
[21:14:45.646] [019152][OTA] have downloaded file len 388707
[21:14:45.646] [018912][OTA] have downloaded file len 390107
[21:14:45.772] [018848][OTA] have downloaded file len 391507
[21:14:45.772] [018760][OTA] have downloaded file len 392907
[21:14:45.772] [018912][OTA] have downloaded file len 394307
[21:14:45.834] [018912][OTA] have downloaded file len 395707
[21:14:45.865] [018912][OTA] have downloaded file len 397107
[21:14:45.865] [018912][OTA] have downloaded file len 398507
[21:14:45.957] [018848][OTA] have downloaded file len 399907
[21:14:45.957] [018760][OTA] have downloaded file len 401307
[21:14:45.957] [018912][OTA] have downloaded file len 402707
[21:14:45.988] [018912][OTA] have downloaded file len 404107
[21:14:46.049] [018912][OTA] have downloaded file len 405507
[21:14:46.080] [018880][OTA] have downloaded file len 406907
[21:14:46.111] [018912][OTA] have downloaded file len 408307
[21:14:46.111] [018912][OTA] have downloaded file len 409707
[21:14:46.228] [018848][OTA] have downloaded file len 411107
[21:14:46.228] [018760][OTA] have downloaded file len 412507
[21:14:46.228] [018912][OTA] have downloaded file len 413907
[21:14:46.289] [018912][OTA] have downloaded file len 415307
[21:14:46.320] [018912][OTA] have downloaded file len 416707
[21:14:46.320] [018912][OTA] have downloaded file len 418107
[21:14:46.430] [018848][OTA] have downloaded file len 419507
[21:14:46.430] [018760][OTA] have downloaded file len 420907
[21:14:46.430] [018912][OTA] have downloaded file len 422307
[21:14:46.491] [018912][OTA] have downloaded file len 423707
[21:14:46.522] [018912][OTA] have downloaded file len 425107
[21:14:46.553] [018912][OTA] have downloaded file len 426507
[21:14:46.619] [018784][OTA] have downloaded file len 427907
[21:14:46.619] [018880][OTA] have downloaded file len 429307
[21:14:46.619] [018792][OTA] have downloaded file len 430707
[21:14:46.679] [018912][OTA] have downloaded file len 432107
[21:14:46.710] [019952][OTA] have downloaded file len 432347
[21:14:46.710] [019152][OTA] have downloaded file len 433507
[21:14:46.741] [018912][OTA] have downloaded file len 434907
[21:14:46.855] [018848][OTA] have downloaded file len 436307
[21:14:46.855] [018760][OTA] have downloaded file len 437707
[21:14:46.855] [018912][OTA] have downloaded file len 439107
[21:14:46.916] [018912][OTA] have downloaded file len 440507
[21:14:46.947] [018912][OTA] have downloaded file len 441907
[21:14:46.947] [018912][OTA] have downloaded file len 443307
[21:14:47.042] [018816][OTA] have downloaded file len 444707
[21:14:47.042] [018728][OTA] have downloaded file len 446107
[21:14:47.042] [018880][OTA] have downloaded file len 447507
[21:14:47.073] [020192][OTA] have downloaded file len 447508
[21:14:47.104] [020192][OTA] otaResult status=2
[21:14:47.104] [020192][OTA] GAgent WIFI OTA SUCCESS!
[21:14:47.104] [020192][OTA] ota finish free buf
[21:14:47.135] [020040][OTA] do OTA socket=1 tcp close ret =0!
[21:14:47.166] [020232][Timer]  gagentTimerDel ReConn_Tick has not linked.
[21:14:47.166] [020232][Timer]  gagentTimerDel waitRes_Tick has not linked.
[21:14:47.166] [020232][Timer]  gagentTimerDel downloadPacket_Tick has not linked.
[21:14:47.166] [020368][OTA] otaHttpDlSocketDisCb disconnect success !!!
[21:14:47.166] [020480][GAgent] gagentProcessRun 276 now at UPGRADE_FW_BIN1
[21:14:47.166] [020480][GAgent] fw size=447508
[21:14:47.166] [020480][Dev] GAgent had saved firmware length is 447508,start copy fw to code area.
[21:14:47.197] [020480][Dev] copy firmware success!
[21:14:53.060] [020480][Dev]  Save gagent config data
[21:14:53.060] reboot to use2
[21:14:53.165] state: 5 -> 0 (0)
[21:14:53.254] rm 0
[21:14:53.254] pm close 7
[21:14:53.254] del if0
[21:14:53.254] usl
[21:14:53.254] [022368][M2M] reconnect callback, error code -11 !!!
[21:14:53.254] [022368][Socket] ESPCONN_CONN              :errno=-11,Not connected.
[21:14:53.254] [022368][Socket] Socket Info **************************
[21:14:53.285] [022368][Socket] ip     : 203.195.142.207
[21:14:53.285] [022368][Socket] l_port : 16209
[21:14:53.285] [022368][Socket] r_port : 1883
[21:14:53.285]
[21:14:53.285] [022416][NWK] NWK_CLOUD_DISCONNECTED
[21:14:53.285] [022528][WiFiEvent] disconnect from ssid estore, reason 8
[21:14:53.285] [022528][NWK] NWK_WIFI_STA_DISCONNECTED
[21:14:53.285] [022584][Local] GAgentStatus change, lastGAgentStatus:0x073A, newGAgentStatus:0x070A
[21:14:53.316] @@@@ GAgentStatus[hex]:70a | [Bin]:0,0,1,0,1,0
[21:14:53.316] OnBoarding: Station mode
[21:14:53.316] WiFi status: disconnected router
[21:14:53.316] WiFi status: disconnected m2m
[21:14:53.316] @@@@ disconnected router
[21:14:53.316] @@@@ disconnected m2m
[21:14:53.316] setConnectM2MStatus = 0 ###$$$###
[21:14:53.316] @@@@ RSSI 7
[21:14:53.316] [022584][M2M]  m2mReconnectTick Onboarding\Test mode or sta disconnect. status: 1802.
[21:14:53.347] [022584][NWK] gagentNwkEventCB event: 0x0200
[21:14:53.347] [022584][M2M] Delete all m2m nodes!
[21:14:53.347] [022584][NWK] haiNwkStatus: 0x000A, gagentStatus: 0x070A
[21:14:53.347] [022584][NWK] gagentNwkEventCB event: 0x0020
[21:14:53.347] [022584][Local] GAgentStatus change, lastGAgentStatus:0x070A, newGAgentStatus:0x000A
[21:14:53.347] @@@@ GAgentStatus[hex]:0a | [Bin]:0,0,1,0,1,0
[21:14:53.347] OnBoarding: Station mode
[21:14:53.347] @@@@ RSSI 0
[21:14:53.378] [022584][Timer]  gagentTimerDel startupUdpBroadcastTick has not linked.
[21:14:53.378] [022584][Timer]  gagentTimerDel <null> has not linked.
[21:14:53.378] [022584][NWK] haiNwkStatus: 0x000A, gagentStatus: 0x000A
[21:14:53.378]
[21:14:53.378]  ets Jan  8 2013,rst cause:4, boot mode3,4)
[21:14:53.378]
[21:14:53.378] wdt reset
[21:14:53.378] load 0x40100000, len 2408, room 16
[21:14:53.378] tail 8
[21:14:53.378] chksum 0xe5
[21:14:53.378] load 0x3ffe8000, len 776, room 0
[21:14:53.410] tail 8
[21:14:53.410] chksum 0x84
[21:14:53.410] load 0x3ffe8310, len 632, room 0
[21:14:53.410] tail 8
[21:14:53.410] chksum 0xd8
[21:14:53.410] csum 0xd8
[21:14:53.410]
[21:14:53.410] 2nd boot version : 1.6
[21:14:53.410]   SPI Speed      : 40MHz
[21:14:53.410]   SPI Mode       : QIO
[21:14:53.410]   SPI Flash Size & Map: 32Mbit(512KB+512KB)
[21:14:53.410] jump to run user2 @ 81000
[21:14:53.410]
[21:14:53.410] error magic!
[21:14:53.410] first boot failed, reboot to try backup bin
[21:14:53.523]
[21:14:53.523]
[21:14:54.932]  ets Jan  8 2013,rst cause:4, boot mode3,4)
[21:14:54.932]
[21:14:54.932] wdt reset
[21:14:54.932] load 0x40100000, len 2408, room 16
[21:14:54.932] tail 8
[21:14:54.932] chksum 0xe5
[21:14:54.932] load 0x3ffe8000, len 776, room 0
[21:14:54.932] tail 8
[21:14:54.932] chksum 0x84
[21:14:54.932] load 0x3ffe8310, len 632, room 0
[21:14:54.932] tail 8
[21:14:54.932] chksum 0xd8
[21:14:54.932] csum 0xd8
[21:14:54.932]
[21:14:54.932] 2nd boot version : 1.6
[21:14:54.932]   SPI Speed      : 40MHz
[21:14:54.932]   SPI Mode       : QIO
[21:14:54.963]   SPI Flash Size & Map: 32Mbit(512KB+512KB)
[21:14:54.963] jump to run user1 @ 1000
[21:14:54.963]
[21:14:54.963] ---------------SDK version:2.0.0(5a875ba)--------------
[21:14:55.035] system_get_free_heap_size=33368
[21:14:55.035] reset reason: 4
[21:14:55.035] ---UPGRADE_FW_BIN1---
[21:14:55.035] gpio_name 4
[21:14:55.035] [Auth] gagentAuthInit : start ...
[21:14:55.035] [026760][Dev]  Get gagent config data from master eare.
[21:14:55.035] [026760][Dev]  Save gagent config data
[21:14:55.035] [Auth] GAgent SOC had did don't need to get authkey!!!
[21:14:55.147] [Auth] gagentAuthInit : end ...
[21:14:55.147] devAuthResultCb result=0
[21:14:55.147] [025728][Dev] Domain:api.gizwits.com:80.
[21:14:55.147] [025728][Dev] tz in sec:28800,timezone:8.0
[21:14:55.147] [025664][WiFiEvent] In Station mode
[21:14:55.147] [025664][WiFiEvent] SSID:estore,KEY:yd123456
[21:14:55.147] [025664][WiFiEvent]  Wifi station connect failed!
[21:14:55.178] [025664][NWK] NWK_WIFI_STA_UP
[21:14:55.178] [025664][LanOTA] lanOTAInit ...... ok
[21:14:55.178] [025616][Simulator] GAgent lib Time:Apr  3 2018 18:43:47
[21:14:55.178] [025616][GAgent] GAgent Start...
[21:14:55.178] [025616][Local] ----------------------------------------- GAGENT INFO --------------------------------------
[21:14:55.178] [025616][Local] GAgent Work in GAGENT_SOC.
[21:14:55.178] [025616][Local] GAgent Product Soft Version: 04020826. Hard Version: 00ESP826
[21:14:55.209] [025616][Local] GAgent Compiled Time: Apr  3 2018, 18:43:49.
[21:14:55.209] [025616][Local] GAgent cache first ssid estore.
[21:14:55.209] [025616][Local] GAgent backup ssid estore.
[21:14:55.209] [025616][Local] GAgent mac :5CCF7F7665D7
[21:14:55.209] [025616][Local] GAgent authKey : [025616][Local] GAgent passcodelen:10 : SI****IM
[21:14:55.209] [025616][Local] GAgent did : uLGx6*********4dSP
[21:14:55.240] [025616][Local] GAgent old passcode: LY****II
[21:14:55.240] [025616][Local] GAgent old_did: KxeVh*********kwyM
[21:14:55.240] [025616][Local] GAgent old pk :327f233cd45642bda85e57e2e2502478 len:32
[21:14:55.240] [025616][Local] GAgent AP name:XPG-GAgent-65D7
[21:14:55.240] [025616][Local] GAgent 3rd cloud :
[21:14:55.240] [025616][Local] GAgent M2M Host :sandbox.gizwits.com , IP :203.195.142.207
[21:14:55.271] [025616][Local] GAgent Default GServer Host :api.gizwits.com port:80
[21:14:55.271] [025616][Local] GAgent GService Host :api.gizwits.com , Port :0 , IP :119.29.47.111
[21:14:55.271] [025616][Local] GAgent BizLogLev:00,SysLogLev:00
[21:14:55.271] [025616][Local] GAgent MCU Protocol Vertion:00000004.
[21:14:55.271] [025616][Local] GAgent MCU P0 Vertion:00000002.
[21:14:55.271] [025616][Local] GAgent MCU Hard Vertion:03000001.
[21:14:55.302] [025616][Local] GAgent MCU Soft Vertion:03030000.
[21:14:55.302] [025616][Local] GAgent WeChat Device Type: gh_35****ab57
[21:14:55.302] [025616][Local] Flash Size:FLASH_SIZE_32Mbit .
[21:14:55.302] [025616][Local] --------------------------------------------------------------------------------------
[21:14:55.302]
[21:14:55.302] gizwitsInit OK
[21:14:55.302] --- system_free_size = 25616 ---
[21:14:55.302] mode : sta(5c:cf:7f:76:65:d7)
[21:14:55.302] add if0
[21:14:55.333] [024456][NWK] gagentNwkEventCB event: 0x0004
[21:14:55.333] [024456][Local] GAgentStatus change, lastGAgentStatus:0x0000, newGAgentStatus:0x000A
[21:14:55.333] @@@@ GAgentStatus[hex]:0a | [Bin]:0,0,1,0,1,0
[21:14:55.333] OnBoarding: Station mode
[21:14:55.333] WiFi status: in binding mode
[21:14:55.333] @@@@ RSSI 0
[21:14:55.333] [024456][NWK] haiNwkStatus: 0x000A, gagentStatus: 0x000A
[21:14:55.333] scandone
[21:14:57.450] state: 0 -> 2 (b0)
[21:14:57.450] state: 2 -> 3 (0)
[21:14:57.450] state: 3 -> 5 (10)
[21:14:57.450] add 0
[21:14:57.450] aid 1
[21:14:57.450] cnt
[21:14:57.450]
[21:14:57.564] connected with estore, channel 13
[21:14:57.564] dhcp client start...
[21:14:57.564] [023536][WiFiEvent] connect to ssid estore, channel 13
[21:14:57.564] ip:192.168.1.104,mask:255.255.255.0,gw:192.168.1.1
[21:14:58.267] [023856][WiFiEvent] ip:192.168.1.104,mask:255.255.255.0,gw:192.168.1.1
[21:14:58.267] [023856][NWK] NWK_WIFI_STA_CONNECTED
[21:14:58.267] [024024][NWK] gagentNwkEventCB event: 0x0010
[21:14:58.267] [024024][Local] GAgentStatus change, lastGAgentStatus:0x000A, newGAgentStatus:0x001A
[21:14:58.267] @@@@ GAgentStatus[hex]:1a | [Bin]:0,1,1,0,1,0
[21:14:58.298] OnBoarding: Station mode
[21:14:58.298] WiFi status: connected router
[21:14:58.298] @@@@ connected router
[21:14:58.298] @@@@ RSSI 0
[21:14:58.298] [023600][NWK] GAgent_CreateUDPServer creat success
[21:14:58.298] [023352][Lan] GAgent_CreateUDPBroadCastServer success
[21:14:58.298] [023168][Lan] GAgent_CreateUDPScanSubDevServer success
[21:14:58.298] [023008][GServer]  Has ip, Connect GServer.
[21:14:58.298] [023008][Dev]  Save gagent config data
[21:14:58.329] [023008][FR]  Cancle router connect monitor.
[21:14:58.417] [023008][NWK] haiNwkStatus: 0x001A, gagentStatus: 0x001A
[21:14:58.417] [022880][Timer]  gagentTimerDel <null> has not linked.
[21:14:58.417] [022880][GServer] Had did,did = uLGx6*********4dSP
[21:14:58.417] [022880][GServer] go to provision.
[21:14:58.417] [022880][GServer] Cloud_InitSocket to creat a new socket ip: 119.29.47.111:80
[21:14:58.417] [022144][Socket] ESPCONN_OK                :errno=0,No error, everything OK.
[21:14:58.449] [022656][GServer] http connect succeed !!!
[21:14:58.531] [022248][GServer] Sent provision:
[21:14:58.531]  GET /dev/327f233cd45642bda85e57e2e2502478/device?did=755f9fe3e6c9756469cb66941b31ffbe072dc9bbf5d384677e877e777d0cd8d2 HTTP/1.1
[21:14:58.531] Host: api.gizwits.com
[21:14:58.531] Cache-Control: no-cache
[21:14:58.531] Content-Type: application/x-www-form-urlencoded
[21:14:58.531]
[21:14:58.531]
[21:14:58.531] [022648][GServer] http send succeed !!!
[21:14:58.645] [022192][GServer] user_http_recv_cb len=487
[21:14:58.711] [021160][GServer]
[21:14:58.711] HTTP/1.1 200 OK
[21:14:58.711] Server: nginx
[21:14:58.711] Date: Mon, 17 Sep 2018 13:14:59 GMT
[21:14:58.711] Content-Type: text/html; charset=utf-8
[21:14:58.711] Transfer-Encoding: chunked
[21:14:58.711] Connection: keep-alive
[21:14:58.711] Vary: Accept, Accept-Language
[21:14:58.711] Content-Language: zh-cn
[21:14:58.711] Allow: GET, POST, HEAD, OPTIONS
[21:14:58.711]
[21:14:58.711] e0
[21:14:58.711] 6dbb381dbaa7842dcd7f0bb3f4a0786abe8fbef4841d77f3bb56028d7b87a909cab9b421b6b949e487de47719a708e54397de693b39da71d44a0a15873aaaebb3634090e9e7e5adbef16bd383efbfd2531f3c953382c5ee3a588ed2263297ed05b02d994242bf14678daf7ced1d227bf
[21:14:58.742] 0
[21:14:58.742]
[21:14:58.742]
[21:14:58.742] [021656][GServer] refreshGServer_ip bakIp[3]: 0,dnsIp[3]: 0,flag: -1,actionFlag: 1.
[21:14:58.742] [021656][GServer] Provision OK!
[21:14:58.742] [021656][GServer] M2M host:sandbox.gizwits.com port:1883
[21:14:58.773] [021656][GServer] GAgent go to login M2M!
[21:14:58.773] [021656][M2M] Delete all m2m nodes!
[21:14:58.773] [021656][M2M]  Has ip, Will use it to login M2M.
[21:14:58.773] [021656][GServer] GAgent Provision BizLogLev:00,SysLogLev:00
[21:14:58.773] [021656][GServer] Need to disable did!
[21:14:58.773] [021504][GServer] http tcp disconnect succeed !!!
[21:14:58.773] [021504][Socket] Socket Info **************************
[21:14:58.831] [021504][Socket] ip     : 119.29.47.111
[21:14:58.831] [021504][Socket] l_port : 7258
[21:14:58.831] [021504][Socket] r_port : 80
[21:14:58.831]
[21:14:58.831] [021504][GServer] Cloud_InitSocket to creat a new socket ip: 119.29.47.111:80
[21:14:58.831] [021048][Socket] ESPCONN_OK                :errno=0,No error, everything OK.
[21:14:58.831] [021160][M2M] Req to connect m2m !
[21:14:58.831] [021160][M2M] username: uLGx6*********4dSP
[21:14:58.831] [021160][M2M] password: SI****IM
[21:14:58.831] [020696][M2M] M2M ip:203.195.142.207 port:1883
[21:14:58.831] [020976][GServer] http connect succeed !!!
[21:14:58.892] [019544][Timer]  gagentTimerDel <null> has not linked.
[21:14:58.923] [019376][M2M] send_packet len=74
[21:14:58.923] [019296][GServer] http send succeed !!!
[21:14:58.988] [020888][M2M] mqtt send cb
[21:14:58.988] [020736][GServer] user_http_recv_cb len=382
[21:14:59.022] [020736][GServer]
[21:14:59.022] HTTP/1.1 400 BAD REQUEST
[21:14:59.022] Server: nginx
[21:14:59.022] Date: Mon, 17 Sep 2018 13:15:00 GMT
[21:14:59.022] Content-Type: application/json
[21:14:59.022] Transfer-Encoding: chunked
[21:14:59.022] Connection: keep-alive
[21:14:59.022] Vary: Accept, Accept-Language
[21:14:59.022] Content-Language: zh-cn
[21:14:59.022] Allow: GET, POST, DELETE, HEAD, OPTIONS
[21:14:59.022]
[21:14:59.053] 6e
[21:14:59.053] {"error_message":"device encrypt enabled, does not support this api!","error_code":9048,"detail_message":null}
[21:14:59.053] 0
[21:14:59.053]
[21:14:59.053]
[21:14:59.053] [020968][M2M] Recv data from m2m,len=4
[21:14:59.053] [019784][M2M] Receive mqtt packet is 1
[21:14:59.053] [019944][GServer] Disable did fail.
[21:14:59.053] [019944][GServer] Start check ota!
[21:14:59.053] [019944][M2M] GAgent do req connect m2m OK !
[21:14:59.053] [019944][M2M] Go to MQTT_REQ_LOGINTOPIC.
[21:14:59.084] [019816][M2M] send_packet len=113
[21:14:59.084] [018104][M2M] Mqtt Send SubTopics Success!
[21:14:59.084] [018160][OTA] otaStartReqSver
[21:14:59.084] [018160][OTA] otaInitSocketReqSver
[21:14:59.084] [017824][OTA] OTA http connect success status :1 !!!
[21:14:59.166] [016264][WiFiEvent] Scan wifi:estore power. wifiRSSI: -57
[21:14:59.166] [016264][WiFiEvent] SSID power:-57 level:6 wifistatus:061a
[21:14:59.166] [016264][Lan] startupBroadCastTime:29
[21:14:59.166] [017576][M2M] mqtt send cb
[21:14:59.197] [017824][M2M] Recv data from m2m,len=7
[21:14:59.197] [017688][M2M] Receive mqtt packet is 1
[21:14:59.197] [017968][Local] GAgentStatus change, lastGAgentStatus:0x001A, newGAgentStatus:0x061A
[21:14:59.197] @@@@ GAgentStatus[hex]:61a | [Bin]:0,1,1,0,1,0
[21:14:59.197] OnBoarding: Station mode
[21:14:59.197] @@@@ RSSI 6
[21:14:59.197] [017968][M2M] GAgent Cloud Working...
[21:14:59.197] [017968][NWK] NWK_CLOUD_CONNECTED
[21:14:59.197] [018104][NWK] gagentNwkEventCB event: 0x0100
[21:14:59.228] [018104][Local] GAgentStatus change, lastGAgentStatus:0x061A, newGAgentStatus:0x063A
[21:14:59.228] @@@@ GAgentStatus[hex]:63a | [Bin]:1,1,1,0,1,0
[21:14:59.228] OnBoarding: Station mode
[21:14:59.228] WiFi status: connected m2m
[21:14:59.228] @@@@ connected m2m
[21:14:59.228] setConnectM2MStatus = 1 ###$$$###
[21:14:59.228] @@@@ RSSI 6
[21:14:59.228] [018104][Dev] Turn off device restart count down, flag: 0
[21:14:59.228] [018104][NWK] haiNwkStatus: 0x003A, gagentStatus: 0x063A
[21:14:59.259] [019088][OTA] download_url http://api.gizwits.com/dev/ota/v4.1/download/20640 sver:04020827 otaType=1
[21:14:59.290] [018936][OTA] do OTA socket=1 tcp close ret =0!
[21:14:59.290] [018864][OTA] Need't to dns OTA Domain:api.gizwits.com,ip:119.29.47.111
[21:14:59.321] [018848][OTA] otaInitSocketDownloadFile
[21:14:59.321] [018392][OTA] connect ota server
[21:14:59.321] [019000][WiFiEvent] To bc airkiss config OK.
[21:14:59.321] [018784][OTA] otaHttpReqSvSocketDisCb disconnect success !!!
[21:14:59.321] [019248][OTA] OTA http connect success status :2 !!!
[21:14:59.401] [018016][OTA] OTA http Response Code = 200
[21:14:59.524] [018016][OTA] Firmwarelen = 447508
[21:14:59.524] [018016][GServer] download firmware type is bin.
[21:14:59.524] [018016][OTA] have downloaded file len 907
[21:14:59.555] [017832][OTA] have downloaded file len 2307
[21:14:59.555] [017984][OTA] have downloaded file len 3707
[21:14:59.586] [017896][OTA] have downloaded file len 5107
[21:14:59.617] [016496][OTA] have downloaded file len 7155
[21:14:59.648] [016496][OTA] have downloaded file len 7907
[21:14:59.648] [018016][OTA] have downloaded file len 9307
[21:14:59.788] [017952][OTA] have downloaded file len 10707
[21:14:59.788] [017864][OTA] have downloaded file len 12107
[21:14:59.788] [018016][OTA] have downloaded file len 13507
[21:14:59.839] [018016][OTA] have downloaded file len 14907
[21:14:59.870] [018016][OTA] have downloaded file len 16307
[21:14:59.870] [018016][OTA] have downloaded file len 17707
[21:14:59.975] [017952][OTA] have downloaded file len 19107
[21:14:59.975] [017864][OTA] have downloaded file len 20507
[21:15:00.006] [018016][OTA] have downloaded file len 21907
[21:15:00.037] [018016][OTA] have downloaded file len 23307
[21:15:00.068] [017896][OTA] have downloaded file len 24707
[21:15:00.099] [017984][OTA] have downloaded file len 26107
[21:15:00.130] [017896][OTA] have downloaded file len 27507
[21:15:00.130] [019432][Lan] startupBroadCastTime:28
[21:15:00.162] [018016][OTA] have downloaded file len 28907
[21:15:00.256] [017896][OTA] have downloaded file len 30307
[21:15:00.256] [019432][WiFiEvent] To bc airkiss config OK.
[21:15:00.287] [018016][OTA] have downloaded file len 31707
[21:15:00.348] [017896][OTA] have downloaded file len 33107
[21:15:00.379] [018016][OTA] have downloaded file len 34507
[21:15:00.411] [018016][OTA] have downloaded file len 35907
[21:15:00.411] [018016][OTA] have downloaded file len 37307
[21:15:00.536] [017832][OTA] have downloaded file len 38707
[21:15:00.536] [017984][OTA] have downloaded file len 40107
[21:15:00.536] [017896][OTA] have downloaded file len 41507
[21:15:00.600] [018016][OTA] have downloaded file len 42907
[21:15:00.631] [017896][OTA] have downloaded file len 44307
[21:15:00.631] [018016][OTA] have downloaded file len 45707
[21:15:00.780] [018016][OTA] have downloaded file len 47107
[21:15:00.780] [018016][OTA] have downloaded file len 48507
[21:15:00.946] [017952][OTA] have downloaded file len 49907
[21:15:00.977] [017864][OTA] have downloaded file len 51307
[21:15:00.977] [018016][OTA] have downloaded file len 52707
[21:15:01.008] [018016][OTA] have downloaded file len 54107
[21:15:01.116] [017832][OTA] have downloaded file len 55507
[21:15:01.116] [017984][OTA] have downloaded file len 56907
[21:15:01.116] [017896][OTA] have downloaded file len 58307
[21:15:01.177] [019432][Lan] startupBroadCastTime:27
[21:15:01.177] [018016][OTA] have downloaded file len 59707
[21:15:01.209] [017896][OTA] have downloaded file len 61107
[21:15:01.209] [018016][OTA] have downloaded file len 62507
[21:15:01.324] [019400][WiFiEvent] To bc airkiss config OK.
[21:15:01.324] [017800][OTA] have downloaded file len 63907
[21:15:01.324] [018016][OTA] have downloaded file len 65307
[21:15:01.693] [017952][OTA] have downloaded file len 66707
[21:15:01.724] [017864][OTA] have downloaded file len 68107
[21:15:01.755] [018016][OTA] have downloaded file len 69507
[21:15:01.755] [018016][OTA] have downloaded file len 70907
[21:15:01.861] [017952][OTA] have downloaded file len 72307
[21:15:01.861] [017864][OTA] have downloaded file len 73707
[21:15:01.861] [018016][OTA] have downloaded file len 75107
[21:15:01.922] [018016][OTA] have downloaded file len 76507
[21:15:01.953] [018016][OTA] have downloaded file len 77907
[21:15:01.984] [018016][OTA] have downloaded file len 79307
[21:15:02.015] [018016][OTA] have downloaded file len 80707
[21:15:02.015] [018016][OTA] have downloaded file len 82107
[21:15:02.130] [017952][OTA] have downloaded file len 83507
[21:15:02.130] [017864][OTA] have downloaded file len 84907
[21:15:02.130] [018016][OTA] have downloaded file len 86307
[21:15:02.191] [019432][Lan] startupBroadCastTime:26
[21:15:02.191] [018016][OTA] have downloaded file len 87707
[21:15:02.191] [018016][OTA] have downloaded file len 89107
[21:15:02.191] [018016][OTA] have downloaded file len 90507
[21:15:02.314] [019216][WiFiEvent] To bc airkiss config OK.
[21:15:02.314] [017616][OTA] have downloaded file len 91907
[21:15:02.314] [017984][OTA] have downloaded file len 93307
[21:15:02.314] [017896][OTA] have downloaded file len 94707
[21:15:02.375] [018016][OTA] have downloaded file len 96107
[21:15:02.406] [017896][OTA] have downloaded file len 97507
[21:15:02.437] [018016][OTA] have downloaded file len 98907
[21:15:02.555] [017952][OTA] have downloaded file len 100307
[21:15:02.555] [017864][OTA] have downloaded file len 101707
[21:15:02.555] [018016][OTA] have downloaded file len 103107
[21:15:02.616] [018016][OTA] have downloaded file len 104507
[21:15:02.647] [018016][OTA] have downloaded file len 105907
[21:15:02.647] [018016][OTA] have downloaded file len 107307
[21:15:02.737] [018016][OTA] have downloaded file len 108707
[21:15:02.737] [017896][OTA] have downloaded file len 110107
[21:15:02.737] [018016][OTA] have downloaded file len 111507
[21:15:02.799] [018016][OTA] have downloaded file len 112907
[21:15:02.830] [018016][OTA] have downloaded file len 114307
[21:15:02.830] [018016][OTA] have downloaded file len 115707
[21:15:02.927] [017896][OTA] have downloaded file len 117107
[21:15:02.927] [018016][OTA] have downloaded file len 118507
[21:15:02.927] [017896][OTA] have downloaded file len 119907
[21:15:02.994] [018016][OTA] have downloaded file len 121307
[21:15:03.025] [017896][OTA] have downloaded file len 122707
[21:15:03.025] [018016][OTA] have downloaded file len 124107
[21:15:03.149] [018016][OTA] have downloaded file len 125507
[21:15:03.149] [018016][OTA] have downloaded file len 126907
[21:15:03.149] [018016][OTA] have downloaded file len 128307
[21:15:03.218] [019432][Lan] startupBroadCastTime:25
[21:15:03.218] [018016][OTA] have downloaded file len 129707
[21:15:03.218] [018016][OTA] have downloaded file len 131107
[21:15:03.280] [018016][OTA] have downloaded file len 132507
[21:15:03.311] [018016][OTA] have downloaded file len 133907
[21:15:03.311] [019312][WiFiEvent] To bc airkiss config OK.
[21:15:03.311] [018016][OTA] have downloaded file len 135307
[21:15:03.475] [017952][OTA] have downloaded file len 136707
[21:15:03.475] [017864][OTA] have downloaded file len 138107
[21:15:03.475] [018016][OTA] have downloaded file len 139507
[21:15:03.538] [018016][OTA] have downloaded file len 140907
[21:15:03.569] [018016][OTA] have downloaded file len 142307
[21:15:03.569] [018016][OTA] have downloaded file len 143707
[21:15:03.668] [017952][OTA] have downloaded file len 145107
[21:15:03.668] [017864][OTA] have downloaded file len 146507
[21:15:03.668] [018016][OTA] have downloaded file len 147907
[21:15:03.729] [018016][OTA] have downloaded file len 149307
[21:15:03.760] [018016][OTA] have downloaded file len 150707
[21:15:03.760] [018016][OTA] have downloaded file len 152107
[21:15:03.851] [017952][OTA] have downloaded file len 153507
[21:15:03.851] [017864][OTA] have downloaded file len 154907
[21:15:03.851] [018016][OTA] have downloaded file len 156307
[21:15:03.898] [018016][OTA] have downloaded file len 157707
[21:15:03.929] [018016][OTA] have downloaded file len 159107
[21:15:03.929] [018016][OTA] have downloaded file len 160507
[21:15:04.032] [017952][OTA] have downloaded file len 161907
[21:15:04.032] [017864][OTA] have downloaded file len 163307
[21:15:04.032] [018016][OTA] have downloaded file len 164707
[21:15:04.094] [018016][OTA] have downloaded file len 166107
[21:15:04.125] [018016][OTA] have downloaded file len 167507
[21:15:04.125] [018016][OTA] have downloaded file len 168907
[21:15:04.213] [017952][OTA] have downloaded file len 170307
[21:15:04.213] [017864][OTA] have downloaded file len 171707
[21:15:04.213] [018016][OTA] have downloaded file len 173107
[21:15:04.274] [019312][Lan] startupBroadCastTime:24
[21:15:04.274] [019432][WiFiEvent] To bc airkiss config OK.
[21:15:04.305] [017800][OTA] have downloaded file len 174507
[21:15:04.305] [018016][OTA] have downloaded file len 175907
[21:15:04.305] [018016][OTA] have downloaded file len 177307
[21:15:04.390] [017952][OTA] have downloaded file len 178707
[21:15:04.390] [017864][OTA] have downloaded file len 180107
[21:15:04.390] [018016][OTA] have downloaded file len 181507
[21:15:04.421] [018016][OTA] have downloaded file len 182907
[21:15:04.452] [018016][OTA] have downloaded file len 184307
[21:15:04.452] [018016][OTA] have downloaded file len 185707
[21:15:04.570] [017832][OTA] have downloaded file len 187107
[21:15:04.570] [017984][OTA] have downloaded file len 188507
[21:15:04.601] [018016][OTA] have downloaded file len 189907
[21:15:04.633] [018016][OTA] have downloaded file len 191307
[21:15:04.749] [018016][OTA] have downloaded file len 192707
[21:15:04.780] [018016][OTA] have downloaded file len 194107
[21:15:04.846] [018016][OTA] have downloaded file len 195507
[21:15:04.846] [018016][OTA] have downloaded file len 196907
[21:15:04.953] [017952][OTA] have downloaded file len 198307
[21:15:04.953] [017864][OTA] have downloaded file len 199707
[21:15:04.953] [018016][OTA] have downloaded file len 201107
[21:15:05.014] [018016][OTA] have downloaded file len 202507
[21:15:05.045] [018016][OTA] have downloaded file len 203907
[21:15:05.076] [018016][OTA] have downloaded file len 205307
[21:15:05.107] [018016][OTA] have downloaded file len 206707
[21:15:05.138] [018016][OTA] have downloaded file len 208107
[21:15:05.138] [018016][OTA] have downloaded file len 209507
[21:15:05.199] [019312][Lan] startupBroadCastTime:23
[21:15:05.199] [018016][OTA] have downloaded file len 210907
[21:15:05.230] [018016][OTA] have downloaded file len 212307
[21:15:05.230] [018016][OTA] have downloaded file len 213707
[21:15:05.326] [019216][WiFiEvent] To bc airkiss config OK.
[21:15:05.326] [017616][OTA] have downloaded file len 215107
[21:15:05.326] [017984][OTA] have downloaded file len 216507
[21:15:05.326] [017896][OTA] have downloaded file len 217907
[21:15:05.391] [018016][OTA] have downloaded file len 219307
[21:15:05.422] [017896][OTA] have downloaded file len 220707
[21:15:05.422] [018016][OTA] have downloaded file len 222107
[21:15:05.550] [018016][OTA] have downloaded file len 223507
[21:15:05.550] [018016][OTA] have downloaded file len 224907
[21:15:05.550] [018016][OTA] have downloaded file len 226307
[21:15:05.615] [018016][OTA] have downloaded file len 227707
[21:15:05.646] [018016][OTA] have downloaded file len 229107
[21:15:05.646] [018016][OTA] have downloaded file len 230507
[21:15:05.752] [017952][OTA] have downloaded file len 231907
[21:15:05.752] [017864][OTA] have downloaded file len 233307
[21:15:05.752] [018016][OTA] have downloaded file len 234707
[21:15:05.813] [018016][OTA] have downloaded file len 236107
[21:15:05.813] [018016][OTA] have downloaded file len 237507
[21:15:05.813] [018016][OTA] have downloaded file len 238907
[21:15:05.964] [017832][OTA] have downloaded file len 240307
[21:15:05.964] [017984][OTA] have downloaded file len 241707
[21:15:05.995] [017896][OTA] have downloaded file len 243107
[21:15:06.026] [019432][Lan] startupBroadCastTime:22
[21:15:06.180] [019432][WiFiEvent] To bc airkiss config OK.
[21:15:06.309] [018016][OTA] have downloaded file len 244507
[21:15:06.474] [017952][OTA] have downloaded file len 245907
[21:15:06.505] [017864][OTA] have downloaded file len 247307
[21:15:06.505] [018016][OTA] have downloaded file len 248707
[21:15:06.536] [018016][OTA] have downloaded file len 250107
[21:15:06.669] [017832][OTA] have downloaded file len 251507
[21:15:06.669] [017984][OTA] have downloaded file len 252907
[21:15:06.669] [017896][OTA] have downloaded file len 254307
[21:15:06.731] [018016][OTA] have downloaded file len 255707
[21:15:06.792] [017896][OTA] have downloaded file len 257107
[21:15:06.792] [018016][OTA] have downloaded file len 258507
[21:15:06.974] [017832][OTA] have downloaded file len 259907
[21:15:06.974] [017984][OTA] have downloaded file len 261307
[21:15:06.974] [017896][OTA] have downloaded file len 262707
[21:15:07.035] [018016][OTA] have downloaded file len 264107
[21:15:07.132] [018016][OTA] have downloaded file len 265507
[21:15:07.132] [019432][Lan] startupBroadCastTime:21
[21:15:07.163] [018016][OTA] have downloaded file len 266907
[21:15:07.295] [017952][OTA] have downloaded file len 268307
[21:15:07.295] [017864][OTA] have downloaded file len 269707
[21:15:07.295] [018016][OTA] have downloaded file len 271107
[21:15:07.360] [019312][WiFiEvent] To bc airkiss config OK.
[21:15:07.360] [018016][OTA] have downloaded file len 272507
[21:15:07.454] [018016][OTA] have downloaded file len 273907
[21:15:07.454] pm open,type:0 0
[21:15:07.454] [017248][OTA] have downloaded file len 275307
[21:15:07.515] [017216][OTA] have downloaded file len 276707
[21:15:07.515] [017248][OTA] have downloaded file len 278107
[21:15:07.611] [017248][OTA] have downloaded file len 279507
[21:15:07.642] [017216][OTA] have downloaded file len 280907
[21:15:07.642] [017248][OTA] have downloaded file len 282307
[21:15:07.673] [017248][OTA] have downloaded file len 283707
[21:15:07.792] [017184][OTA] have downloaded file len 285107
[21:15:07.792] [017096][OTA] have downloaded file len 286507
[21:15:07.792] [017248][OTA] have downloaded file len 287907
[21:15:07.853] [017248][OTA] have downloaded file len 289307
[21:15:07.884] [017248][OTA] have downloaded file len 290707
[21:15:07.884] [017248][OTA] have downloaded file len 292107
[21:15:07.988] [017184][OTA] have downloaded file len 293507
[21:15:07.988] [017096][OTA] have downloaded file len 294907
[21:15:07.988] [017248][OTA] have downloaded file len 296307
[21:15:08.049] [017248][OTA] have downloaded file len 297707
[21:15:08.049] [017248][OTA] have downloaded file len 299107
[21:15:08.116] [017248][OTA] have downloaded file len 300507
[21:15:08.147] [017128][OTA] have downloaded file len 301907
[21:15:08.178] [018664][Lan] startupBroadCastTime:20
[21:15:08.178] [017248][OTA] have downloaded file len 303307
[21:15:08.276] [017248][OTA] have downloaded file len 304707
[21:15:08.276] [018664][WiFiEvent] To bc airkiss config OK.
[21:15:08.307] [017248][OTA] have downloaded file len 306107
[21:15:08.373] [017248][OTA] have downloaded file len 307507
[21:15:08.404] [017096][OTA] have downloaded file len 308907
[21:15:08.404] [017248][OTA] have downloaded file len 310307
[21:15:08.435] [017248][OTA] have downloaded file len 311707
[21:15:08.648] [017064][OTA] have downloaded file len 313107
[21:15:08.648] [017216][OTA] have downloaded file len 314507
[21:15:08.648] [017128][OTA] have downloaded file len 315907
[21:15:08.712] [017248][OTA] have downloaded file len 317307
[21:15:08.743] [017128][OTA] have downloaded file len 318707
[21:15:08.743] [017248][OTA] have downloaded file len 320107
[21:15:08.868] [017184][OTA] have downloaded file len 321507
[21:15:08.868] [017096][OTA] have downloaded file len 322907
[21:15:08.868] [017248][OTA] have downloaded file len 324307
[21:15:08.948] [017248][OTA] have downloaded file len 325707
[21:15:08.948] [017248][OTA] have downloaded file len 327107
[21:15:08.980] [017248][OTA] have downloaded file len 328507
[21:15:09.054] [017248][OTA] have downloaded file len 329907
[21:15:09.054] [017248][OTA] have downloaded file len 331307
[21:15:09.054] [017248][OTA] have downloaded file len 332707
[21:15:09.115] [017248][OTA] have downloaded file len 334107
[21:15:09.146] [017248][OTA] have downloaded file len 335507
[21:15:09.146] [018664][Lan] startupBroadCastTime:19
[21:15:09.177] [017248][OTA] have downloaded file len 336907
[21:15:09.208] [017184][OTA] have downloaded file len 338307
[21:15:09.239] [017096][OTA] have downloaded file len 339707
[21:15:09.239] [017248][OTA] have downloaded file len 341107
[21:15:09.270] [018664][WiFiEvent] To bc airkiss config OK.
[21:15:09.301] [017248][OTA] have downloaded file len 342507
[21:15:09.332] [017248][OTA] have downloaded file len 343907
[21:15:09.332] [017248][OTA] have downloaded file len 345307
[21:15:09.428] [017184][OTA] have downloaded file len 346707
[21:15:09.428] [017096][OTA] have downloaded file len 348107
[21:15:09.428] [017248][OTA] have downloaded file len 349507
[21:15:09.495] [017248][OTA] have downloaded file len 350907
[21:15:09.495] [017248][OTA] have downloaded file len 352307
[21:15:09.564] [017248][OTA] have downloaded file len 353707
[21:15:09.564] [017248][OTA] have downloaded file len 355107
[21:15:09.564] [017248][OTA] have downloaded file len 356507
[21:15:09.696] [017184][OTA] have downloaded file len 357907
[21:15:09.696] [017096][OTA] have downloaded file len 359307
[21:15:09.696] [017248][OTA] have downloaded file len 360707
[21:15:09.759] [017248][OTA] have downloaded file len 362107
[21:15:09.790] [017248][OTA] have downloaded file len 363507
[21:15:09.790] [017248][OTA] have downloaded file len 364907
[21:15:09.873] [017184][OTA] have downloaded file len 366307
[21:15:09.873] [017096][OTA] have downloaded file len 367707
[21:15:09.873] [017248][OTA] have downloaded file len 369107
[21:15:09.934] [017248][OTA] have downloaded file len 370507
[21:15:09.995] [017248][OTA] have downloaded file len 371907
[21:15:09.995] [017248][OTA] have downloaded file len 373307
[21:15:10.026] [017184][OTA] have downloaded file len 374707
[21:15:10.057] [017096][OTA] have downloaded file len 376107
[21:15:10.057] [017248][OTA] have downloaded file len 377507
[21:15:10.088] [017248][OTA] have downloaded file len 378907
[21:15:10.149] [017248][OTA] have downloaded file len 380307
[21:15:10.149] [018664][Lan] startupBroadCastTime:18
[21:15:10.180] [017248][OTA] have downloaded file len 381707
[21:15:10.211] [017184][OTA] have downloaded file len 383107
[21:15:10.242] [017096][OTA] have downloaded file len 384507
[21:15:10.242] [017248][OTA] have downloaded file len 385907
[21:15:10.273] [018664][WiFiEvent] To bc airkiss config OK.
[21:15:10.304] [017248][OTA] have downloaded file len 387307
[21:15:10.304] [017248][OTA] have downloaded file len 388707
[21:15:10.335] [017248][OTA] have downloaded file len 390107
[21:15:10.427] [017064][OTA] have downloaded file len 391507
[21:15:10.427] [017216][OTA] have downloaded file len 392907
[21:15:10.427] [017128][OTA] have downloaded file len 394307
[21:15:10.490] [017248][OTA] have downloaded file len 395707
[21:15:10.521] [017128][OTA] have downloaded file len 397107
[21:15:10.521] [017248][OTA] have downloaded file len 398507
[21:15:10.643] [017248][OTA] have downloaded file len 399907
[21:15:10.643] [017248][OTA] have downloaded file len 401307
[21:15:10.674] [017248][OTA] have downloaded file len 402707
[21:15:10.705] [017248][OTA] have downloaded file len 404107
[21:15:10.705] [017248][OTA] have downloaded file len 405507
[21:15:10.779] [017248][OTA] have downloaded file len 406907
[21:15:10.779] [017248][OTA] have downloaded file len 408307
[21:15:10.779] [017248][OTA] have downloaded file len 409707
[21:15:10.908] [017064][OTA] have downloaded file len 411107
[21:15:10.908] [017216][OTA] have downloaded file len 412507
[21:15:10.908] [017128][OTA] have downloaded file len 413907
[21:15:10.995] [017248][OTA] have downloaded file len 415307
[21:15:11.026] [017128][OTA] have downloaded file len 416707
[21:15:11.026] [017248][OTA] have downloaded file len 418107
[21:15:11.152] [017184][OTA] have downloaded file len 419507
[21:15:11.152] [017096][OTA] have downloaded file len 420907
[21:15:11.152] [017248][OTA] have downloaded file len 422307
[21:15:11.214] [018664][Lan] startupBroadCastTime:17
[21:15:11.214] [017248][OTA] have downloaded file len 423707
[21:15:11.275] [017248][OTA] have downloaded file len 425107
[21:15:11.275] [017248][OTA] have downloaded file len 426507
[21:15:11.307] [018512][WiFiEvent] To bc airkiss config OK.
[21:15:11.338] [016912][OTA] have downloaded file len 427907
[21:15:11.338] [017248][OTA] have downloaded file len 429307
[21:15:11.338] [017128][OTA] have downloaded file len 430707
[21:15:11.400] [017248][OTA] have downloaded file len 432107
[21:15:11.431] [017128][OTA] have downloaded file len 433507
[21:15:11.431] [017248][OTA] have downloaded file len 434907
[21:15:11.549] [017184][OTA] have downloaded file len 436307
[21:15:11.549] [017096][OTA] have downloaded file len 437707
[21:15:11.549] [017248][OTA] have downloaded file len 439107
[21:15:11.611] [017248][OTA] have downloaded file len 440507
[21:15:11.611] [017248][OTA] have downloaded file len 441907
[21:15:11.611] [017248][OTA] have downloaded file len 443307
[21:15:11.734] [017136][OTA] have downloaded file len 444707
[21:15:11.734] [017048][OTA] have downloaded file len 446107
[21:15:11.734] [017200][OTA] have downloaded file len 447507
[21:15:11.796] [018632][OTA] have downloaded file len 447508
[21:15:11.796] [018632][OTA] otaResult status=2
[21:15:11.796] [018632][OTA] GAgent WIFI OTA SUCCESS!
[21:15:11.796] [018632][OTA] ota finish free buf
[21:15:11.827] [018480][OTA] do OTA socket=1 tcp close ret =0!
[21:15:11.858] [018664][Timer]  gagentTimerDel ReConn_Tick has not linked.
[21:15:11.858] [018664][Timer]  gagentTimerDel waitRes_Tick has not linked.
[21:15:11.858] [018664][Timer]  gagentTimerDel downloadPacket_Tick has not linked.
[21:15:11.858] [018696][OTA] otaHttpDlSocketDisCb disconnect success !!!
[21:15:11.858] [018808][GAgent] gagentProcessRun 276 now at UPGRADE_FW_BIN1
[21:15:11.858] [018808][GAgent] fw size=447508
[21:15:11.889] [018808][Dev] GAgent had saved firmware length is 447508,start copy fw to code area.
[21:15:11.889] [018808][Dev] copy firmware success!
[21:15:17.721] [018808][Dev]  Save gagent config data
[21:15:17.721] reboot to use2
[21:15:17.828] state: 5 -> 0 (0)
[21:15:17.914] rm 0
[21:15:17.914] pm close 7
[21:15:17.914] del if0
[21:15:17.914] usl
[21:15:17.914] [020880][WiFiEvent] To bc airkiss config OK.
[21:15:17.914] [020880][GAgent] GAgent_SendNonBlock 226 espconn_send fail,err = -4
[21:15:17.914] [020880][WiFiEvent] UDP send error!
[21:15:17.914] [020880][WiFiEvent] To bc airkiss config OK.
[21:15:17.914] [020880][GAgent] GAgent_SendNonBlock 226 espconn_send fail,err = -4
[21:15:17.945] [020880][WiFiEvent] UDP send error!
[21:15:17.945] [020880][WiFiEvent] To bc airkiss config OK.
[21:15:17.945] [020880][GAgent] GAgent_SendNonBlock 226 espconn_send fail,err = -4
[21:15:17.945] [020880][WiFiEvent] UDP send error!
[21:15:17.945] [020880][M2M] reconnect callback, error code -11 !!!
[21:15:17.945] [020880][Socket] ESPCONN_CONN              :errno=-11,Not connected.
[21:15:17.945] [020880][Socket] Socket Info **************************
[21:15:17.976] [020880][Socket] ip     : 203.195.142.207
[21:15:17.976] [020880][Socket] l_port : 21889
[21:15:17.976] [020880][Socket] r_port : 1883
[21:15:17.976]
[21:15:17.976] [020928][NWK] NWK_CLOUD_DISCONNECTED
[21:15:17.976] [021040][GServer] http reconnect callback, error code -11 !!!
[21:15:17.976] [021040][Socket] ESPCONN_CONN              :errno=-11,Not connected.
[21:15:17.976] [021040][Socket] Socket Info **************************
[21:15:18.008] [021040][Socket] ip     : 119.29.47.111
[21:15:18.008] [021040][Socket] l_port : 29654
[21:15:18.008] [021040][Socket] r_port : 80
[21:15:18.008]
[21:15:18.008] [021152][WiFiEvent] disconnect from ssid estore, reason 8
[21:15:18.008] [021152][NWK] NWK_WIFI_STA_DISCONNECTED
[21:15:18.008] [021208][Local] GAgentStatus change, lastGAgentStatus:0x063A, newGAgentStatus:0x060A
[21:15:18.008] @@@@ GAgentStatus[hex]:60a | [Bin]:0,0,1,0,1,0
[21:15:18.039] OnBoarding: Station mode
[21:15:18.039] WiFi status: disconnected router
[21:15:18.039] WiFi status: disconnected m2m
[21:15:18.039] @@@@ disconnected router
[21:15:18.039] @@@@ disconnected m2m
[21:15:18.039] setConnectM2MStatus = 0 ###$$$###
[21:15:18.039] @@@@ RSSI 6
[21:15:18.039]
[21:15:18.039]  ets Jan  8 2013,rst cause:4, boot mode3,4)
[21:15:18.039]
[21:15:18.039] wdt reset
[21:15:18.039] load 0x40100000, len 2408, room 16
[21:15:18.039] tail 8
[21:15:18.039] chksum 0xe5
[21:15:18.039] load 0x3ffe8000, len 776, room 0
[21:15:18.096] tail 8
[21:15:18.096] chksum 0x84
[21:15:18.096] load 0x3ffe8310, len 632, room 0
[21:15:18.096] tail 8
[21:15:18.096] chksum 0xd8
[21:15:18.096] csum 0xd8
[21:15:18.096]
[21:15:18.096] 2nd boot version : 1.6
[21:15:18.096]   SPI Speed      : 40MHz
[21:15:18.096]   SPI Mode       : QIO
[21:15:18.096]   SPI Flash Size & Map: 32Mbit(512KB+512KB)
[21:15:18.096] jump to run user2 @ 81000
[21:15:18.096]
[21:15:18.096] error magic!
[21:15:18.096] first boot failed, reboot to try backup bin
[21:15:18.186]
[21:15:18.186]
[21:15:19.593]  ets Jan  8 2013,rst cause:4, boot mode3,4)
[21:15:19.593]
[21:15:19.593] wdt reset
[21:15:19.593] load 0x40100000, len 2408, room 16
[21:15:19.593] tail 8
[21:15:19.593] chksum 0xe5
[21:15:19.593] load 0x3ffe8000, len 776, room 0
[21:15:19.593] tail 8
[21:15:19.593] chksum 0x84
[21:15:19.593] load 0x3ffe8310, len 632, room 0
[21:15:19.593] tail 8
[21:15:19.593] chksum 0xd8
[21:15:19.593] csum 0xd8
[21:15:19.593]
[21:15:19.593] 2nd boot version : 1.6
[21:15:19.593]   SPI Speed      : 40MHz
[21:15:19.593]   SPI Mode       : QIO
[21:15:19.593]   SPI Flash Size & Map: 32Mbit(512KB+512KB)
[21:15:19.625] jump to run user1 @ 1000
[21:15:19.625]
[21:15:19.625] ---------------SDK version:2.0.0(5a875ba)--------------
[21:15:19.695] system_get_free_heap_size=33368
[21:15:19.695] reset reason: 4
[21:15:19.695] ---UPGRADE_FW_BIN1---
[21:15:19.695] gpio_name 4
[21:15:19.695] [Auth] gagentAuthInit : start ...
[21:15:19.695] [026760][Dev]  Get gagent config data from master eare.
[21:15:19.695] [026760][Dev]  Save gagent config data
[21:15:19.695] [Auth] GAgent SOC had did don't need to get authkey!!!
[21:15:19.808] [Auth] gagentAuthInit : end ...
[21:15:19.808] devAuthResultCb result=0
[21:15:19.808] [025728][Dev] Domain:api.gizwits.com:80.
[21:15:19.808] [025728][Dev] tz in sec:28800,timezone:8.0
[21:15:19.808] [025664][WiFiEvent] In Station mode
[21:15:19.808] [025664][WiFiEvent] SSID:estore,KEY:yd123456
[21:15:19.808] [025664][WiFiEvent]  Wifi station connect failed!
[21:15:19.808] [025664][NWK] NWK_WIFI_STA_UP
[21:15:19.840] [025664][LanOTA] lanOTAInit ...... ok
[21:15:19.840] [025616][Simulator] GAgent lib Time:Apr  3 2018 18:43:47
[21:15:19.840] [025616][GAgent] GAgent Start...
[21:15:19.840] [025616][Local] ----------------------------------------- GAGENT INFO --------------------------------------
[21:15:19.840] [025616][Local] GAgent Work in GAGENT_SOC.
[21:15:19.840] [025616][Local] GAgent Product Soft Version: 04020826. Hard Version: 00ESP826
[21:15:19.872] [025616][Local] GAgent Compiled Time: Apr  3 2018, 18:43:49.
[21:15:19.872] [025616][Local] GAgent cache first ssid estore.
[21:15:19.872] [025616][Local] GAgent backup ssid estore.
[21:15:19.872] [025616][Local] GAgent mac :5CCF7F7665D7
[21:15:19.872] [025616][Local] GAgent authKey : [025616][Local] GAgent passcodelen:10 : SI****IM
[21:15:19.872] [025616][Local] GAgent did : uLGx6*********4dSP
[21:15:19.872] [025616][Local] GAgent old passcode: LY****II
[21:15:19.903] [025616][Local] GAgent old_did: KxeVh*********kwyM
[21:15:19.903] [025616][Local] GAgent old pk :327f233cd45642bda85e57e2e2502478 len:32
[21:15:19.903] [025616][Local] GAgent AP name:XPG-GAgent-65D7
[21:15:19.903] [025616][Local] GAgent 3rd cloud :
[21:15:19.903] [025616][Local] GAgent M2M Host :sandbox.gizwits.com , IP :203.195.142.207
[21:15:19.903] [025616][Local] GAgent Default GServer Host :api.gizwits.com port:80
[21:15:19.935] [025616][Local] GAgent GService Host :api.gizwits.com , Port :0 , IP :119.29.47.111
[21:15:19.935] [025616][Local] GAgent BizLogLev:00,SysLogLev:00
[21:15:19.935] [025616][Local] GAgent MCU Protocol Vertion:00000004.
[21:15:19.935] [025616][Local] GAgent MCU P0 Vertion:00000002.
[21:15:19.935] [025616][Local] GAgent MCU Hard Vertion:03000001.
[21:15:19.935] [025616][Local] GAgent MCU Soft Vertion:03030000.
[21:15:19.967] [025616][Local] GAgent WeChat Device Type: gh_35****ab57
[21:15:19.967] [025616][Local] Flash Size:FLASH_SIZE_32Mbit .
[21:15:19.967] [025616][Local] --------------------------------------------------------------------------------------
[21:15:19.967]
[21:15:19.967] gizwitsInit OK
[21:15:19.967] --- system_free_size = 25616 ---
[21:15:19.967] mode : sta(5c:cf:7f:76:65:d7)
[21:15:19.967] add if0
[21:15:19.967] [024456][NWK] gagentNwkEventCB event: 0x0004
[21:15:19.967] [024456][Local] GAgentStatus change, lastGAgentStatus:0x0000, newGAgentStatus:0x000A
[21:15:19.999] @@@@ GAgentStatus[hex]:0a | [Bin]:0,0,1,0,1,0
[21:15:19.999] OnBoarding: Station mode
[21:15:19.999] WiFi status: in binding mode
[21:15:19.999] @@@@ RSSI 0
[21:15:19.999] [024456][NWK] haiNwkStatus: 0x000A, gagentStatus: 0x000A
[21:15:19.999] scandone
[21:15:22.109] state: 0 -> 2 (b0)
[21:15:22.109] state: 2 -> 3 (0)
[21:15:22.109] state: 3 -> 5 (10)
[21:15:22.109] add 0
[21:15:22.109] aid 1
[21:15:22.109] cnt
[21:15:22.109]
[21:15:22.224] connected with estore, channel 13
[21:15:22.224] dhcp client start...
[21:15:22.224] [023536][WiFiEvent] connect to ssid estore, channel 13
[21:15:22.224] ip:192.168.1.104,mask:255.255.255.0,gw:192.168.1.1
[21:15:22.876] [023856][WiFiEvent] ip:192.168.1.104,mask:255.255.255.0,gw:192.168.1.1
[21:15:22.876] [023856][NWK] NWK_WIFI_STA_CONNECTED
[21:15:22.876] [023912][NWK] gagentNwkEventCB event: 0x0010
[21:15:22.876] [023912][Local] GAgentStatus change, lastGAgentStatus:0x000A, newGAgentStatus:0x001A
[21:15:22.876] @@@@ GAgentStatus[hex]:1a | [Bin]:0,1,1,0,1,0
[21:15:22.907] OnBoarding: Station mode
[21:15:22.907] WiFi status: connected router
[21:15:22.907] @@@@ connected router
[21:15:22.907] @@@@ RSSI 0
[21:15:22.907] [023464][NWK] GAgent_CreateUDPServer creat success
[21:15:22.907] [023240][Lan] GAgent_CreateUDPBroadCastServer success
[21:15:22.907] [023056][Lan] GAgent_CreateUDPScanSubDevServer success
[21:15:22.907] [022896][GServer]  Has ip, Connect GServer.
[21:15:22.907] [022896][Dev]  Save gagent config data
[21:15:22.939] [022896][FR]  Cancle router connect monitor.
[21:15:23.028] [022896][NWK] haiNwkStatus: 0x001A, gagentStatus: 0x001A
[21:15:23.028] [022760][Timer]  gagentTimerDel <null> has not linked.
[21:15:23.028] [022760][GServer] Had did,did = uLGx6*********4dSP
[21:15:23.028] [022760][GServer] go to provision.
[21:15:23.028] [022760][GServer] Cloud_InitSocket to creat a new socket ip: 119.29.47.111:80
[21:15:23.028] [022016][Socket] ESPCONN_OK                :errno=0,No error, everything OK.
[21:15:23.059] [022640][GServer] http connect succeed !!!
[21:15:23.161] [022232][GServer] Sent provision:
[21:15:23.161]  GET /dev/327f233cd45642bda85e57e2e2502478/device?did=755f9fe3e6c9756469cb66941b31ffbe072dc9bbf5d384677e877e777d0cd8d2 HTTP/1.1
[21:15:23.161] Host: api.gizwits.com
[21:15:23.161] Cache-Control: no-cache
[21:15:23.161] Content-Type: application/x-www-form-urlencoded
[21:15:23.161]
[21:15:23.161]
[21:15:23.161] [022640][GServer] http send succeed !!!
[21:15:23.250] [022184][GServer] user_http_recv_cb len=487
[21:15:23.282] [021152][GServer]
[21:15:23.282] HTTP/1.1 200 OK
[21:15:23.282] Server: nginx
[21:15:23.314] Date: Mon, 17 Sep 2018 13:15:24 GMT
[21:15:23.314] Content-Type: text/html; charset=utf-8
[21:15:23.314] Transfer-Encoding: chunked
[21:15:23.314] Connection: keep-alive
[21:15:23.314] Vary: Accept, Accept-Language
[21:15:23.314] Content-Language: zh-cn
[21:15:23.314] Allow: GET, POST, HEAD, OPTIONS
[21:15:23.314]
[21:15:23.314] e0
[21:15:23.314] 6dbb381dbaa7842dcd7f0bb3f4a0786abe8fbef4841d77f3bb56028d7b87a909cab9b421b6b949e487de47719a708e54cd3056c5bffc2151657d4065122eb3e23634090e9e7e5adbef16bd383efbfd2531f3c953382c5ee3a588ed2263297ed05b02d994242bf14678daf7ced1d227bf
[21:15:23.346] 0
[21:15:23.346]
[21:15:23.346]
[21:15:23.346] [021648][GServer] refreshGServer_ip bakIp[3]: 0,dnsIp[3]: 0,flag: -1,actionFlag: 1.
[21:15:23.346] [021648][GServer] Provision OK!
[21:15:23.346] [021648][GServer] M2M host:sandbox.gizwits.com port:1883
[21:15:23.346] [021648][GServer] GAgent go to login M2M!
[21:15:23.346] [021648][M2M] Delete all m2m nodes!
[21:15:23.346] [021648][M2M]  Has ip, Will use it to login M2M.
[21:15:23.377] [021648][GServer] GAgent Provision BizLogLev:00,SysLogLev:00
[21:15:23.377] [021648][GServer] Need to disable did!
[21:15:23.377] [021496][GServer] http tcp disconnect succeed !!!
[21:15:23.377] [021496][Socket] Socket Info **************************
[21:15:23.377] [021496][Socket] ip     : 119.29.47.111
[21:15:23.377] [021496][Socket] l_port : 29899
[21:15:23.377] [021496][Socket] r_port : 80
[21:15:23.377]
[21:15:23.377] [021496][GServer] Cloud_InitSocket to creat a new socket ip: 119.29.47.111:80
[21:15:23.408] [021040][Socket] ESPCONN_OK                :errno=0,No error, everything OK.
[21:15:23.408] [021160][M2M] Req to connect m2m !
[21:15:23.408] [021160][M2M] username: uLGx6*********4dSP
[21:15:23.408] [021160][M2M] password: SI****IM
[21:15:23.408] [020696][M2M] M2M ip:203.195.142.207 port:1883
[21:15:23.408] [020976][GServer] http connect succeed !!!
[21:15:23.487] [019552][Timer]  gagentTimerDel <null> has not linked.
[21:15:23.487] [019384][M2M] send_packet len=74
[21:15:23.487] [019280][GServer] http send succeed !!!
[21:15:23.583] [020872][M2M] mqtt send cb
[21:15:23.583] [020720][GServer] user_http_recv_cb len=382
[21:15:23.583] [020720][GServer]
[21:15:23.583] HTTP/1.1 400 BAD REQUEST
[21:15:23.583] Server: nginx
[21:15:23.583] Date: Mon, 17 Sep 2018 13:15:24 GMT
[21:15:23.583] Content-Type: application/json
[21:15:23.615] Transfer-Encoding: chunked
[21:15:23.615] Connection: keep-alive
[21:15:23.615] Vary: Accept, Accept-Language
[21:15:23.615] Content-Language: zh-cn
[21:15:23.615] Allow: GET, POST, DELETE, HEAD, OPTIONS
[21:15:23.615]
[21:15:23.615] 6e
[21:15:23.615] {"error_message":"device encrypt enabled, does not support this api!","error_code":9048,"detail_message":null}
[21:15:23.615] 0
[21:15:23.615]
[21:15:23.615]
[21:15:23.615] [021064][M2M] Recv data from m2m,len=4
[21:15:23.615] [019872][M2M] Receive mqtt packet is 1
[21:15:23.648] [019800][GServer] Disable did fail.
[21:15:23.648] [019800][GServer] Start check ota!
[21:15:23.648] [019920][M2M] GAgent do req connect m2m OK !
[21:15:23.648] [019920][M2M] Go to MQTT_REQ_LOGINTOPIC.
[21:15:23.648] [019792][M2M] send_packet len=113
[21:15:23.648] [018088][M2M] Mqtt Send SubTopics Success!
[21:15:23.648] [018152][OTA] otaStartReqSver
[21:15:23.648] [018152][OTA] otaInitSocketReqSver
[21:15:23.648] [019232][M2M] mqtt send cb
[21:15:23.746] [019496][M2M] Recv data from m2m,len=7
[21:15:23.746] [019360][M2M] Receive mqtt packet is 1
[21:15:23.746] [019376][M2M] GAgent Cloud Working...
[21:15:23.746] [019376][NWK] NWK_CLOUD_CONNECTED
[21:15:23.746] [019512][NWK] gagentNwkEventCB event: 0x0100
[21:15:23.746] [019512][Local] GAgentStatus change, lastGAgentStatus:0x001A, newGAgentStatus:0x003A
[21:15:23.746] @@@@ GAgentStatus[hex]:3a | [Bin]:1,1,1,0,1,0
[21:15:23.778] OnBoarding: Station mode
[21:15:23.778] WiFi status: connected m2m
[21:15:23.778] @@@@ connected m2m
[21:15:23.778] setConnectM2MStatus = 1 ###$$$###
[21:15:23.778] @@@@ RSSI 0
[21:15:23.778] [019512][Dev] Turn off device restart count down, flag: 0
[21:15:23.778] [019512][NWK] haiNwkStatus: 0x003A, gagentStatus: 0x003A
[21:15:23.778] [019640][OTA] OTA http connect success status :1 !!!
[21:15:23.778] [018088][WiFiEvent] Scan wifi:estore power. wifiRSSI: -63
[21:15:23.841] [018088][WiFiEvent] SSID power:-63 level:5 wifistatus:053a
[21:15:23.841] [018088][Lan] startupBroadCastTime:29
[21:15:23.841] [017840][Local] GAgentStatus change, lastGAgentStatus:0x003A, newGAgentStatus:0x053A
[21:15:23.841] @@@@ GAgentStatus[hex]:53a | [Bin]:1,1,1,0,1,0
[21:15:23.841] OnBoarding: Station mode
[21:15:23.841] @@@@ RSSI 5
[21:15:23.841] [018088][WiFiEvent] To bc airkiss config OK.
[21:15:23.917] [019064][OTA] download_url http://api.gizwits.com/dev/ota/v4.1/download/20640 sver:04020827 otaType=1
[21:15:23.981] [018912][OTA] do OTA socket=1 tcp close ret =0!
[21:15:23.981] [018840][OTA] Need't to dns OTA Domain:api.gizwits.com,ip:119.29.47.111
[21:15:23.981] [018824][OTA] otaInitSocketDownloadFile
[21:15:23.981] [018368][OTA] connect ota server
[21:15:23.981] [018976][OTA] otaHttpReqSvSocketDisCb disconnect success !!!
[21:15:23.981] [019232][OTA] OTA http connect success status :2 !!!
[21:15:24.106] [018000][OTA] OTA http Response Code = 200
[21:15:24.303] [018000][OTA] Firmwarelen = 447508
[21:15:24.303] [018000][GServer] download firmware type is bin.
[21:15:24.303] [018000][OTA] have downloaded file len 907
[21:15:24.334] [017936][OTA] have downloaded file len 2307
[21:15:24.334] [017848][OTA] have downloaded file len 3707
[21:15:24.366] [018000][OTA] have downloaded file len 5107
[21:15:24.397] [016480][OTA] have downloaded file len 7155
[21:15:24.428] [016480][OTA] have downloaded file len 7907
[21:15:24.428] [018000][OTA] have downloaded file len 9307
[21:15:24.534] [017936][OTA] have downloaded file len 10707
[21:15:24.534] [017848][OTA] have downloaded file len 12107
[21:15:24.534] [018000][OTA] have downloaded file len 13507
[21:15:24.596] [018000][OTA] have downloaded file len 14907
[21:15:24.627] [018000][OTA] have downloaded file len 16307
[21:15:24.627] [018000][OTA] have downloaded file len 17707
[21:15:24.715] [017816][OTA] have downloaded file len 19107
[21:15:24.715] [017968][OTA] have downloaded file len 20507
[21:15:24.746] [018000][OTA] have downloaded file len 21907
[21:15:24.777] [019416][Lan] startupBroadCastTime:28
[21:15:24.841] [018000][OTA] have downloaded file len 23307
[21:15:24.841] [017880][OTA] have downloaded file len 24707
[21:15:24.902] [019416][WiFiEvent] To bc airkiss config OK.
[21:15:24.902] [018000][OTA] have downloaded file len 26107
[21:15:24.902] [018000][OTA] have downloaded file len 27507
[21:15:24.933] [018000][OTA] have downloaded file len 28907
[21:15:25.029] [017816][OTA] have downloaded file len 30307
[21:15:25.029] [017968][OTA] have downloaded file len 31707
[21:15:25.029] [017880][OTA] have downloaded file len 33107
[21:15:25.090] [018000][OTA] have downloaded file len 34507
[21:15:25.121] [017880][OTA] have downloaded file len 35907
[21:15:25.121] [018000][OTA] have downloaded file len 37307
[21:15:25.249] [017936][OTA] have downloaded file len 38707
[21:15:25.249] [017848][OTA] have downloaded file len 40107
[21:15:25.249] [018000][OTA] have downloaded file len 41507
[21:15:25.312] [018000][OTA] have downloaded file len 42907
[21:15:25.312] [018000][OTA] have downloaded file len 44307
[21:15:25.343] [018000][OTA] have downloaded file len 45707
[21:15:25.441] [017936][OTA] have downloaded file len 47107
[21:15:25.441] [017848][OTA] have downloaded file len 48507
[21:15:25.441] [018000][OTA] have downloaded file len 49907
[21:15:25.504] [018000][OTA] have downloaded file len 51307
[21:15:25.504] [018000][OTA] have downloaded file len 52707
[21:15:25.535] [018000][OTA] have downloaded file len 54107
[21:15:25.634] [017816][OTA] have downloaded file len 55507
[21:15:25.634] [017968][OTA] have downloaded file len 56907
[21:15:25.634] [017880][OTA] have downloaded file len 58307
[21:15:25.697] [018000][OTA] have downloaded file len 59707
[21:15:25.728] [017880][OTA] have downloaded file len 61107
[21:15:25.728] [018000][OTA] have downloaded file len 62507
[21:15:25.845] [017936][OTA] have downloaded file len 63907
[21:15:25.845] [017848][OTA] have downloaded file len 65307
[21:15:25.845] [018000][OTA] have downloaded file len 66707
[21:15:25.908] [019416][Lan] startupBroadCastTime:27
[21:15:25.908] [019416][WiFiEvent] To bc airkiss config OK.
[21:15:25.908] [018000][OTA] have downloaded file len 68107
[21:15:25.908] [018000][OTA] have downloaded file len 69507
[21:15:25.908] [018000][OTA] have downloaded file len 70907
[21:15:26.040] [017936][OTA] have downloaded file len 72307
[21:15:26.040] [017848][OTA] have downloaded file len 73707
[21:15:26.040] [018000][OTA] have downloaded file len 75107
[21:15:26.103] [018000][OTA] have downloaded file len 76507
[21:15:26.135] [018000][OTA] have downloaded file len 77907
[21:15:26.167] [018000][OTA] have downloaded file len 79307
[21:15:26.228] [018000][OTA] have downloaded file len 80707
[21:15:26.228] [018000][OTA] have downloaded file len 82107
[21:15:26.296] [017816][OTA] have downloaded file len 83507
[21:15:26.296] [017968][OTA] have downloaded file len 84907
[21:15:26.296] [017880][OTA] have downloaded file len 86307
[21:15:26.327] [018000][OTA] have downloaded file len 87707
[21:15:26.429] [017880][OTA] have downloaded file len 89107
[21:15:26.429] [018000][OTA] have downloaded file len 90507
[21:15:26.550] [017880][OTA] have downloaded file len 91907
[21:15:26.550] [018000][OTA] have downloaded file len 93307
[21:15:26.628] [018000][OTA] have downloaded file len 94707
[21:15:26.659] [017968][OTA] have downloaded file len 96107
[21:15:26.659] [018000][OTA] have downloaded file len 97507
[21:15:26.691] [018000][OTA] have downloaded file len 98907
[21:15:26.846] [017936][OTA] have downloaded file len 100307
[21:15:26.846] [017848][OTA] have downloaded file len 101707
[21:15:26.846] [018000][OTA] have downloaded file len 103107
[21:15:26.909] [019416][Lan] startupBroadCastTime:26
[21:15:26.909] [019416][WiFiEvent] To bc airkiss config OK.
[21:15:26.909] [018000][OTA] have downloaded file len 104507
[21:15:26.909] [018000][OTA] have downloaded file len 105907
[21:15:26.909] [018000][OTA] have downloaded file len 107307
[21:15:27.032] [017936][OTA] have downloaded file len 108707
[21:15:27.032] [017848][OTA] have downloaded file len 110107
[21:15:27.032] [018000][OTA] have downloaded file len 111507
[21:15:27.095] [018000][OTA] have downloaded file len 112907
[21:15:27.127] [018000][OTA] have downloaded file len 114307
[21:15:27.127] [018000][OTA] have downloaded file len 115707
[21:15:27.221] [017816][OTA] have downloaded file len 117107
[21:15:27.221] [017968][OTA] have downloaded file len 118507
[21:15:27.262] [017880][OTA] have downloaded file l

0

主题

1

帖子

16

积分

新手上路

Rank: 1

积分
16
沙发
发表于 2018-10-6 20:26:48 | 只看该作者
http://club.gizwits.com/forum.ph ... 9&highlight=ota

参考这个帖子 一般都是版本号没修改,或者版本号不一致引起的
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

加入Q群 返回顶部

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

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