ESP32-WROVER 一直打印 scan_evt timeout 问题

peiqing
Posts: 4
Joined: Sat Apr 02, 2022 6:54 am

ESP32-WROVER 一直打印 scan_evt timeout 问题

Postby peiqing » Fri Nov 24, 2023 9:45 am

开发环境:idf4.4.1;
我们在项目中使用ESP32-WROVER作为网关,ESP32-WROOM作为节点控制设备,一台网关下约有50个节点,
在使用过程中网关会出现BLE MESH网异常现象,网关一直打印scan_evt timeout,
但在idf4.4.1代码中找不到该打印的地方,也不是我们自己代码打印的;
出现问题时,节点全部离线,无法通过BLE MESH通讯,但网关其它功能正常,比如连接云平台等。
最初是在idf4.4.0上出现的,当时以为是idf的bug,后来升级到idf4.4.1依然会出现;
出现概率较低,目前还没有找到复现的方法。日志如下:

[17:5608]scan_evt timeout
[17:5608]scan_evt timeout
[17:5608]scan_evt timeout
[17:5608]scan_evt timeout
[17:5608]scan_evt timeout
[17:5608]scan_evt timeout
[17:5608]scan_evt timeout
[17:5608]scan_evt timeout
[17:5608]scan_evt timeout
[17:5608]scan_evt timeout
[17:5608]scan_evt timeout
[17:5608]scan_evt timeout
[17:5608]scan_evt timeout
[17:5608]esp> heap
[17:5608]I (602063681) CMD: ------- heap:3933031 -------
[17:5608]Task_Name Status Priority Stack Number
[17:5608]console_repl X 2 1900 8 -1
[17:5608]IDLE R 0 912 6 1
[17:5608]IDLE R 0 924 5 scan_evt timeout
[17:5608]0
[17:5608]tiT B 18 1988 15 -1
[17:5608]user_mesh_task B 10 1600 14 0
[17:5608]json_pro_task B 6 1592 20 0
[17:5608]main B 1 1728 4 0
[17:5608]mqtt_task B 19 9044 19 -1
[17:5608]msglist_task B 5 2056 18 -1
[17:5608]sys_evt B 20 2592 16 0
[17:5608]ipc1 B 24 408 2 1
[17:5608]ipc0 B 24 452 1 0
[17:5608]mesh_adv_task B 20 1856 13 0
[17:5608]hciT B 22 1500 11 0
[17:5608]BTU_TASK B 20 804 12 0
[17:5608]BTC_TASK scan_evt timeout
[17:5608] B 19 556 10 0
[17:5608]btController B 23 1952 9 0
[17:5608]wifi B 23 4292 17 0
[17:5608]esp_timer S 22 3156 3 0
[17:5608]Tmr Svc B 1 1556 7 0
[17:5608]I (602063747) CMD: -------------task run time---------------
[17:5608]console_repl 181344 <1%
[17:5608]IDLE 3738480899 487%
[17:5608]IDLE 3468073077 452%
[17:5608]json_pro_task 459986788 59%
[17:5608]main 2352174198 306%
[17:5608]msglist_task 493057247 64%
[17:5608]tiT 2487394089 324%
[17:5608]mqscan_evt timeout
[17:5608]tt_task 1838159503 239%
[17:5608]user_mesh_task 1389733659 181%
[17:5608]ipc1 429539 <1%
[17:5608]ipc0 339194 <1%
[17:5608]mesh_adv_task 186276743 24%
[17:5608]hciT 2144998284 279%
[17:5608]BTU_TASK 1641426393 214%
[17:5608]BTC_TASK 1187446816 154%
[17:5608]wifi 3027962301 394%
[17:5608]esp_timer 2249115907 293%
[17:5608]btController 637747120 83%
[17:5608]Tmr Svc 17 <1%
[17:5608]sys_evt scan_evt timeout
[17:5608] 13432 <1%
[17:5608]I (602063813) CMD: ------------------------
[17:5608]scan_evt timeout
[17:5608] scan_evt timeout
[17:5609]scan_evt timeout
[17:5609]esp> scan_evt timeout
[17:5609]scan_evt timeout
[17:5609]scan_evt timeout
[17:5609]scan_evt timeout
[17:5609]scan_evt timeout
[17:5609]scan_evt timeout
[17:5609]scan_evt timeout
[17:5609]scan_evt timeout
[17:5609]scan_evt timeout
[17:5609]scan_evt timeout
[17:5609]scan_evt timeout
[17:5729]scan_evt timeout
[17:5729]scan_evt timeout
[17:5729]scan_evt timeout
[17:5729]scan_evt timeout
[17:5729]scan_evt timeout
[17:5729]scan_evt timeout
[17:5729]scan_evt timeout
[17:5729]scan_evt timeout
[17:5729]scan_evt timeout
[17:5729]scan_evt timeout
[17:5729]scan_evt timeout
[17:5729]scan_evt timeout
[17:5729]scan_evt timeout
[17:5729]scan_evt timeout
[17:5729]scan_evt timeout
[17:5729]scan_evt timeout
[17:5729]scan_evt timeout
[17:5729]scan_evt timeout
[17:5729]scan_evt timeout
[17:5729]scan_evt timeout
[17:5729]scan_evt timeout
[17:5729]scan_evt timeout
[17:5729]scan_evt timeout
[17:5729]scan_evt timeout
[17:5729]scan_evt timeout
[17:5729]scan_evt timeout
[17:5729]scan_evt timeout
[17:5729]scan_evt timeout
[17:5729]scan_evt timeout
[17:5729]scan_evt timeout
[17:5729]scan_evt timeout
[17:5729]scan_evt timeout
[17:5729]scan_evt timeout
[17:5729]scan_evt timeout
[17:5729]scan_evt timeout
[17:5729]scan_evt timeout
[17:5729]scan_evt timeout
[17:5729]scan_evt timeout
[17:5729]scan_evt timeout
[17:5729]scan_evt timeout
[17:5729]scan_evt timeout
[17:5729]scan_evt timeout
[17:5729]scan_evt timeout
[17:5729]scan_evt timeout
[17:5729]scan_evt timeout
[17:5729]scan_evt timeout
[17:5729]scan_evt timeout
[17:5729]scan_evt timeout
[17:5729]scan_evt timeout
[17:5729]scan_evt timeout
[17:5729]scan_evt timeout
[17:5729]scan_evt timeout
[17:5729]scan_evt timeout
[17:5729]scan_evt timeout
[17:5729]scan_evt timeout
[17:5729]scan_evt timeout
[17:5729]scan_evt timeout
[17:5729]scan_evt timeout
[17:5729]scan_evt timeout
[17:5729]scan_evt timeout
[17:5729]scan_evt timeout
[17:5729]scan_evt timeout
[17:5729]scan_evt timeout
[17:5729]scan_evt timeout
[17:5729]scan_evt timeout
[17:5729]scan_evt timeout
[17:5729]scan_evt timeout
[17:5729]scan_evt timeout
[17:5729]scan_evt timeout
[17:5729]scan_evt timeout
[17:5729]scan_evt timeout
[17:5729]scan_evt timeout
[17:5729]scan_evt timeout
[17:5729]scan_evt timeout
[17:5729]scan_evt timeout
[17:5729]scan_evt timeout
[17:5729]scan_evt timeout
[17:5729]scan_evt timeout
[17:5729]scan_evt timeout
[17:5729]scan_evt timeout
Attachments
session-serial-com3-20231027.log
(161.94 KiB) Downloaded 517 times

Who is online

Users browsing this forum: No registered users and 27 guests