请选择 进入手机版 | 继续访问电脑版
论坛
登录 | 立即注册 设为首页收藏本站 切换到宽版
查看: 139|回复: 0

A9二次开发demo_gizwits 不能连接问题

[复制链接]

2

主题

2

帖子

33

积分

新手上路

Rank: 1

积分
33
发表于 2018-10-8 15:52:08 | 显示全部楼层 |阅读模式
A9 firmware 先更新为V02.02.20180825R。用电脑串口输入PK,PK_SECRET,可连接到机智云和上传数据。下载CSDTK42和GPRS_C_SDK_V2112。机智云例程demo_gizwits.c 里把PK和
PK_SECRET
更改为自己的
PK和PK_SECRET。编译下载到A9,运行demo_gizwits,但一直无法连接成功。不知为什么demo不能连接,需要修改哪里?

下面是Trace Log(最后红色为连接失败Trace)

[15:36:26.634]   MMI 02 : network activate success
[15:36:26.634]   MMI 01 : start connect gizwits now
[15:36:26.635]   MMI 01 : imei:867959032038964?
[15:36:26.635]   MMI 01 : pk:(
此部分和我机智云账号一致
)
[15:36:26.637]   MMI 01 : pk_secret:(此部分和我机智云账号一致
[15:36:26.637]   MMI 01 : did:
[15:36:26.746]   MMI 01 : alive time:300
[15:36:26.891]          : Fn 0103315 T1 0077 T2 17 T3 40 Time 00 00 12 724
[15:36:26.999]   L1S 01 : wait 1 DecRslt
[15:36:27.449]          : Fn 0103436 T1 0078 T2 08 T3 08 Time 00 00 13 282
[15:36:27.528]   L1S 01 : wait 1 DecRslt
[15:36:27.529]          : Fn 0103453 T1 0078 T2 25 T3 25 Time 00 00 13 361
[15:36:27.552]   L1S 02 : Tx Dummy on Tn 3 TxP 12\n
[15:36:27.552]          : Fn 0103458 T1 0078 T2 04 T3 30 Time 00 00 13 384
[15:36:27.569]   L1S 02 : Tx Dummy on Tn 3 TxP 12\n
[15:36:27.569]          : Fn 0103462 T1 0078 T2 08 T3 34 Time 00 00 13 403
[15:36:27.589]   L1S 02 : Tx Dummy on Tn 3 TxP 12\n
[15:36:27.589]          : Fn 0103466 T1 0078 T2 12 T3 38 Time 00 00 13 421
[15:36:27.700]   L1S 02 : Tx Dummy on Tn 3 TxP 12\n
[15:36:27.972]          : Fn 0103549 T1 0078 T2 17 T3 19 Time 00 00 13 804
[15:36:27.990]   L1S 02 : Tx Dummy on Tn 3 TxP 12\n
[15:36:27.990]          : Fn 0103553 T1 0078 T2 21 T3 23 Time 00 00 13 822
[15:36:28.008]   L1S 02 : Tx Dummy on Tn 3 TxP 12\n
[15:36:28.008]          : Fn 0103557 T1 0078 T2 25 T3 27 Time 00 00 13 841
[15:36:28.049]   L1S 02 : Tx Dummy on Tn 3 TxP 12\n
[15:36:28.049]          : Fn 0103566 T1 0078 T2 08 T3 36 Time 00 00 13 882
[15:36:28.156]   L1S 01 : wait 1 DecRslt
[15:36:28.212]          : Fn 0103601 T1 0078 T2 17 T3 20 Time 00 00 14 044
[15:36:28.230]   L1S 02 : Tx Dummy on Tn 3 TxP 12\n
[15:36:28.230]          : Fn 0103605 T1 0078 T2 21 T3 24 Time 00 00 14 062
[15:36:28.249]   L1S 02 : Tx Dummy on Tn 3 TxP 12\n
[15:36:28.249]          : Fn 0103609 T1 0078 T2 25 T3 28 Time 00 00 14 081
[15:36:28.271]   L1S 02 : Tx Dummy on Tn 3 TxP 12\n
[15:36:28.272]          : Fn 0103614 T1 0078 T2 04 T3 33 Time 00 00 14 104
[15:36:28.289]   L1S 02 : Tx Dummy on Tn 3 TxP 12\n
[15:36:28.289]          : Fn 0103618 T1 0078 T2 08 T3 37 Time 00 00 14 122
[15:36:28.311]   L1S 02 : Tx Dummy on Tn 3 TxP 12\n
[15:36:28.311]          : Fn 0103622 T1 0078 T2 12 T3 41 Time 00 00 14 141
[15:36:28.331]   L1S 02 : Tx Dummy on Tn 3 TxP 12\n
[15:36:28.331]          : Fn 0103627 T1 0078 T2 17 T3 46 Time 00 00 14 164
[15:36:28.349]   L1S 02 : Tx Dummy on Tn 3 TxP 12\n
[15:36:28.349]          : Fn 0103631 T1 0078 T2 21 T3 50 Time 00 00 14 183
[15:36:28.393]   L1S 02 : Tx Dummy on Tn 3 TxP 12\n
[15:36:28.393]          : Fn 0103640 T1 0078 T2 04 T3 08 Time 00 00 14 224
[15:36:28.413]   L1S 02 : Tx Dummy on Tn 3 TxP 12\n
[15:36:28.413]          : Fn 0103644 T1 0078 T2 08 T3 12 Time 00 00 14 242
[15:36:28.428]   L1S 02 : Tx Dummy on Tn 3 TxP 12\n
[15:36:28.428]          : Fn 0103648 T1 0078 T2 12 T3 16 Time 00 00 14 261
[15:36:28.452]   L1S 02 : Tx Dummy on Tn 3 TxP 12\n
[15:36:28.452]          : Fn 0103653 T1 0078 T2 17 T3 21 Time 00 00 14 284
[15:36:28.512]   L1S 02 : Tx Dummy on Tn 3 TxP 12\n
[15:36:28.512]          : Fn 0103666 T1 0078 T2 04 T3 34 Time 00 00 14 344
[15:36:28.529]   L1S 02 : Tx Dummy on Tn 3 TxP 12\n
[15:36:28.529]          : Fn 0103670 T1 0078 T2 08 T3 38 Time 00 00 14 363
[15:36:28.549]   L1S 02 : Tx Dummy on Tn 3 TxP 12\n
[15:36:28.549]          : Fn 0103674 T1 0078 T2 12 T3 42 Time 00 00 14 381
[15:36:28.571]   L1S 02 : Tx Dummy on Tn 3 TxP 12\n
[15:36:28.571]          : Fn 0103679 T1 0078 T2 17 T3 47 Time 00 00 14 404
[15:36:28.667]   L1S 02 : Tx Dummy on Tn 3 TxP 12\n
[15:36:29.652]          : Fn 0103913 T1 0078 T2 17 T3 26 Time 00 00 15 484
[15:36:29.760]   L1S 01 : wait 1 DecRslt
[15:36:30.469]          : Fn 0104090 T1 0078 T2 12 T3 50 Time 00 00 16 301
[15:36:30.493]   L1S 01 : pending TBF,invalid data
[15:36:30.493]          : Fn 0104095 T1 0078 T2 17 T3 04 Time 00 00 16 325
[15:36:30.510]   L1S 01 : pending TBF,invalid data
[15:36:30.510]          : Fn 0104099 T1 0078 T2 21 T3 08 Time 00 00 16 342
[15:36:30.511]   L1S 01 : wait 1 DecRslt
[15:36:30.620]   L1S 01 : pending TBF,invalid data
[15:36:30.685]          : Fn 0104134 T1 0078 T2 04 T3 43 Time 00 00 16 504
[15:36:30.690]   L1S 02 : Tx Dummy on Tn 3 TxP 12\n
[15:36:30.690]          : Fn 0104138 T1 0078 T2 08 T3 47 Time 00 00 16 523
[15:36:30.709]   L1S 02 : Tx Dummy on Tn 3 TxP 12\n
[15:36:30.709]          : Fn 0104142 T1 0078 T2 12 T3 00 Time 00 00 16 541
[15:36:30.732]   L1S 02 : Tx Dummy on Tn 3 TxP 12\n
[15:36:30.732]          : Fn 0104147 T1 0078 T2 17 T3 05 Time 00 00 16 564
[15:36:30.749]   L1S 02 : Tx Dummy on Tn 3 TxP 12\n
[15:36:30.749]          : Fn 0104151 T1 0078 T2 21 T3 09 Time 00 00 16 583
[15:36:30.768]   L1S 02 : Tx Dummy on Tn 3 TxP 12\n
[15:36:30.768]          : Fn 0104155 T1 0078 T2 25 T3 13 Time 00 00 16 601
[15:36:30.792]   L1S 02 : Tx Dummy on Tn 3 TxP 12\n
[15:36:30.792]          : Fn 0104160 T1 0078 T2 04 T3 18 Time 00 00 16 624
[15:36:30.906]   L1S 02 : Tx Dummy on Tn 3 TxP 12\n
[15:36:31.571]          : Fn 0104329 T1 0078 T2 17 T3 34 Time 00 00 17 404
[15:36:31.669]   L1S 01 : wait 1 DecRslt
[15:36:32.051]          : Fn 0104433 T1 0078 T2 17 T3 36 Time 00 00 17 884
[15:36:32.160]   L1S 01 : wait 1 DecRslt
[15:36:32.189]          : Fn 0104463 T1 0078 T2 21 T3 15 Time 00 00 18 023
[15:36:32.209]   L1S 02 : Tx Dummy on Tn 3 TxP 12\n
[15:36:32.209]          : Fn 0104467 T1 0078 T2 25 T3 19 Time 00 00 18 041
[15:36:32.308]   L1S 02 : Tx Dummy on Tn 3 TxP 12\n
[15:36:32.652]          : Fn 0104563 T1 0078 T2 17 T3 13 Time 00 00 18 484
[15:36:32.669]   L1S 02 : Tx Dummy on Tn 3 TxP 12\n
[15:36:32.669]          : Fn 0104567 T1 0078 T2 21 T3 17 Time 00 00 18 502
[15:36:32.689]   L1S 02 : Tx Dummy on Tn 3 TxP 12\n
[15:36:32.689]          : Fn 0104571 T1 0078 T2 25 T3 21 Time 00 00 18 521
[15:36:32.711]   L1S 02 : Tx Dummy on Tn 3 TxP 12\n
[15:36:32.711]          : Fn 0104576 T1 0078 T2 04 T3 26 Time 00 00 18 544
[15:36:32.730]   L1S 02 : Tx Dummy on Tn 3 TxP 12\n
[15:36:32.730]          : Fn 0104580 T1 0078 T2 08 T3 30 Time 00 00 18 562
[15:36:32.771]   L1S 02 : Tx Dummy on Tn 3 TxP 12\n
[15:36:32.771]          : Fn 0104589 T1 0078 T2 17 T3 39 Time 00 00 18 604
[15:36:32.789]   L1S 02 : Tx Dummy on Tn 3 TxP 12\n
[15:36:32.789]          : Fn 0104593 T1 0078 T2 21 T3 43 Time 00 00 18 623
[15:36:32.808]   L1S 02 : Tx Dummy on Tn 3 TxP 12\n
[15:36:32.808]          : Fn 0104597 T1 0078 T2 25 T3 47 Time 00 00 18 641
[15:36:32.832]   L1S 02 : Tx Dummy on Tn 3 TxP 12\n
[15:36:32.832]          : Fn 0104602 T1 0078 T2 04 T3 01 Time 00 00 18 664
[15:36:32.850]   L1S 02 : Tx Dummy on Tn 3 TxP 12\n
[15:36:32.850]          : Fn 0104606 T1 0078 T2 08 T3 05 Time 00 00 18 682
[15:36:32.870]   L1S 02 : Tx Dummy on Tn 3 TxP 12\n
[15:36:32.870]          : Fn 0104610 T1 0078 T2 12 T3 09 Time 00 00 18 701
[15:36:32.891]   L1S 02 : Tx Dummy on Tn 3 TxP 12\n
[15:36:32.891]          : Fn 0104615 T1 0078 T2 17 T3 14 Time 00 00 18 724
[15:36:32.909]   L1S 02 : Tx Dummy on Tn 3 TxP 12\n
[15:36:32.909]          : Fn 0104619 T1 0078 T2 21 T3 18 Time 00 00 18 742
[15:36:32.951]   L1S 02 : Tx Dummy on Tn 3 TxP 12\n
[15:36:32.951]          : Fn 0104628 T1 0078 T2 04 T3 27 Time 00 00 18 784
[15:36:32.951]   L1S 01 : wait 1 DecRslt
[15:36:32.970]   L1S 02 : Tx Dummy on Tn 3 TxP 12\n
[15:36:32.970]          : Fn 0104632 T1 0078 T2 08 T3 31 Time 00 00 18 802
[15:36:32.988]   L1S 02 : Tx Dummy on Tn 3 TxP 12\n
[15:36:32.988]          : Fn 0104636 T1 0078 T2 12 T3 35 Time 00 00 18 821
[15:36:33.011]   L1S 02 : Tx Dummy on Tn 3 TxP 12\n
[15:36:33.011]          : Fn 0104641 T1 0078 T2 17 T3 40 Time 00 00 18 844
[15:36:33.029]   L1S 02 : Tx Dummy on Tn 3 TxP 12\n
[15:36:33.029]          : Fn 0104645 T1 0078 T2 21 T3 44 Time 00 00 18 863
[15:36:33.049]   L1S 02 : Tx Dummy on Tn 3 TxP 12\n
[15:36:33.049]          : Fn 0104649 T1 0078 T2 25 T3 48 Time 00 00 18 881
[15:36:33.072]   L1S 02 : Tx Dummy on Tn 3 TxP 12\n
[15:36:33.072]          : Fn 0104654 T1 0078 T2 04 T3 02 Time 00 00 18 904
[15:36:33.090]   L1S 02 : Tx Dummy on Tn 3 TxP 12\n
[15:36:33.090]          : Fn 0104655 T1 0078 T2 05 T3 03 Time 00 00 18 912
[15:36:33.091]   MMI 01 : connect gizwits fail


回复

使用道具 举报

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

本版积分规则

手机版|小黑屋|安信可论坛    

GMT+8, 2018-12-16 16:44 , Processed in 0.026357 second(s), 14 queries , Redis On.

Powered by Discuz! X3.3

© 2001-2017 Comsenz Inc.

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