例程测试出现问题-Arduino中文社区 - Powered by Discuz! Archiver

Angelakid 发表于 2019-4-22 21:08

例程测试出现问题

下载了例程Hello_wifi APP端按几次键后就会掉线
库更新了
串口显示的结果如下
20:45:06.667 -> AT
20:45:06.701 -> dataParse: OK
20:45:06.701 -> strlen: 2
20:45:06.736 -> strlen: 2
20:45:06.805 -> AT+BLINKER_WIFI=0,39d10c2ea7a8,Bee,123456789
20:45:23.357 -> Freeheap: 751
20:45:23.357 -> SerialMQTT initialized...
20:45:23.426 -> Blinker readString: OK
20:45:23.529 -> {"num-abc":{"val":1}}
20:45:35.657 -> get button state: tap
20:45:36.483 -> Blinker readString: {"btn-123":"tap","deviceType":"OwnApp"}
20:45:36.587 -> {"num-abc":{"val":2}}
20:45:38.342 -> Blinker readString: {"btn-123":"tap","deviceType":"OwnApp"}
20:45:38.445 -> {"num-abc":{"val":3}}
20:45:40.956 -> Blinker readString: {"btn-123":"tap","deviceType":"OwnApp"}
20:45:41.059 -> {"num-abc":{"val":4}}
20:45:42.510 -> Blinker readString: {"btn-123":"tap","deviceType":"OwnApp"}
20:45:42.613 -> {"num-abc":{"val":5}}
20:45:44.023 -> Blinker readString: {"btn-123":"tap","deviceType":"OwnApp"}
20:45:44.128 -> {"num-abc":{"val":6}}
20:45:45.362 -> Blinker readString: {"btn-123":"tap","deviceType":"OwnApp"}
20:45:45.465 -> {"num-abc":{"val":7}}
20:45:46.845 -> Blinker readString: {"btn-123":"tap","deviceType":"OwnApp"}
20:45:46.948 -> {"num-abc":{"val":8}}
20:45:48.186 -> Blinker readString: {"btn-123":"tap","deviceType":"OwnApp"}
20:45:48.291 -> {"num-abc":{"val":9}}
20:45:49.360 -> Blinker readString: {"btn-123":"tap","deviceType":"OwnApp"}
20:45:49.464 -> {"num-abc":{"val":10}}
20:45:50.461 -> Blinker readString: {"btn-123":"tap","deviceType":"OwnApp"}
20:45:50.565 -> {"num-abc":{"val":11}}
20:45:51.496 -> Blinker readString: {"btn-123":"tap","deviceType":"OwnApp"}
20:45:51.599 -> {"num-abc":{"val":12}}
20:45:52.808 -> Blinker readString: {"btn-123":"tap","deviceType":"OwnApp"}
20:45:52.911 -> {"num-abc":{"val":13}}
20:45:53.909 -> Blinker readString: {"btn-123":"tap","deviceType":"OwnApp"}
20:45:54.013 -> {"num-abc":{"val":14}}
20:45:54.875 -> Blinker readString: {"btn-123":"tap","deviceType":"OwnApp"}
20:45:54.978 -> {"num-abc":{"val":15}}
20:45:56.044 -> Blinker readString: {"btn-123":"tap","deviceType":"OwnApp"}
20:45:56.147 -> {"num-abc":{"val":16}}
20:45:57.591 -> Blinker readString:
20:45:57.625 -> Blinker readString: Exception (29):
20:45:57.694 -> Blinker readString: epc1=0x40226993 epc2=0x00000000 epc3=0x00000000 excvaddr=0x00000000 depc=0x00000000
20:45:57.798 -> Blinker readString:
20:45:57.833 -> Blinker readString: >>>stack>>>
20:45:57.867 -> Blinker readString:
20:45:57.902 -> Blinker readString: ctx: cont
20:45:57.936 -> ERROR: FORMAT DATA SIZE IS MAX THAN LIMIT
20:45:58.005 -> Blinker readString: sp: 3ffffd00 end: 3fffffc0 offset: 01a0
20:45:58.074 -> ERROR: FORMAT DATA SIZE IS MAX THAN LIMIT
20:45:58.144 -> Blinker readString: ffeb0:4022d0 00000000a7f0 00000000
20:45:58.179 -> ERROR: FORMAT DATA SIZE IS MAX THAN LIMIT
20:45:58.249 -> Blinker readString: 3ffffee0:00000000 3fff0:3fff8e84 00000000 3ffefc50 000000013ffefc50 4020ddee
20:45:58.353 -> ERROR: FORMAT DATA SIZE IS MAX THAN LIMIT
20:45:58.422 -> Blinker readString: 3fffff30:3fff0cd4 40219f50 3ffef804 4020309a
20:45:58.490 -> ERROR: FORMAT DATA SIZE IS MAX THAN LIMIT
20:45:58.560 -> Blinker readString: 3fffff40:3ff
20:45:58.595 -> ERROR: FORMAT DATA SIZE IS MAX THAN LIMIT
20:45:58.664 -> Blinker readString: 3fffff60:40272ff8 3fff03e0 3ffef804 40206c5e eefeffe 3fff05143fff04e4 40220288
20:45:58.768 -> ERROR: FORMAT DATA SIZE IS MAX THAN LIMIT
20:45:58.838 -> Blinker readString: 3fffffb0:feefeffe feefeffe 3ffe8570 40100b05
20:45:58.907 -> ERROR: FORMAT DATA SIZE IS MAX THAN LIMIT
20:45:58.976 -> Blinker readString: <<<stack<<<
20:45:59.010 -> ERROR: FORMAT DATA SIZE IS MAX THAN LIMIT
20:45:59.080 -> Blinker readString:
20:45:59.080 -> ERROR: FORMAT DATA SIZE IS MAX THAN LIMIT
20:45:59.148 -> Blinker readString: l
20:45:59.148 -> ERROR: FORMAT DATA SIZE IS MAX THAN LIMIT
20:45:59.251 -> Blinker readString: BLINKER_WIFI
20:45:59.286 -> ERROR: FORMAT DATA SIZE IS MAX THAN LIMIT
20:45:59.356 -> {"num-abc":{"val":17},"num-abc":{"val":18},"num-abc":{"val":19},"num-abc":{"val":20},"num-abc":{"val":21},"num-abc":{"val":22}}

奈何col 发表于 2019-4-23 20:02

https://www.arduino.cn/thread-83658-1-1.html
错误自查文档
页: [1]
查看完整版本: 例程测试出现问题