Forairaaaaa / Regina

年轻人的第一台BB机 (。・`ω´・)
https://phalange.vercel.app
MIT License
58 stars 6 forks source link

网页连接esp设备后,esp卡死 #3

Open Josh-Stick opened 1 week ago

Josh-Stick commented 1 week ago

平台:window11 esp-idf版本:5.1.3

操作:正常将固件烧录进esp后,屏幕正常显示,按键正常,imu测试正常(题外话:麦克风我用你的测试代码测试了一下,是可以正常采集到信号的,可能是佬你的那个硬件出了点问题),但在那个网页连接设备后,貌似esp这边就卡死了 log:

[00:00:00] [I] rtc time: 18:32
[18:32:43] [I] imu init
[18:32:43] [I] pmu init
[18:32:43] [I] get id 0x41
[18:32:43] [I] dial init
I (997) gpio: GPIO[0]| InputEn: 0| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0
I (1000) gpio: GPIO[7]| InputEn: 0| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0
I (1010) gpio: GPIO[6]| InputEn: 0| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0
I (1019) gpio: GPIO[1]| InputEn: 0| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0
[18:32:43] [I] create daemon
[18:32:43] [I] ble init
I (1033) BLE_INIT: Using main XTAL as clock source
I (1043) BLE_INIT: ble controller commit:[217f1bf]
I (1044) phy_init: phy_version 250,e14681b,Jan 24 2024,17:43:11
I (1097) phy: libbtbb version: 939f79c, Jan 24 2024, 17:43:26
W (1314) BT_BTM: BTM_BleWriteAdvData, Partial data write into ADV
[18:32:43] [I] HAL injected, type: Regina
[18:32:43] [I] mooncake init :)

 _____ _____ _____ _____ _____ _____ _____ _____
|     |     |     |   | |     |  _  |  |  |   __|
| | | |  |  |  |  | | | |   --|     |    -|   __|
|_|_|_|_____|_____|_|___|_____|__|__|__|__|_____|

- @author Forairaaaaa
- @version v1.2
- @build at 18:20:42 Jun 29 2024

[18:32:43] [I] done
[18:32:43] [I] AppStartupAnim onResume
[18:32:45] [I] AppStartupAnim onDestroy
[18:32:45] [I] Desktop onCreate
[18:32:45] [I] ConsoleDaemon onCreate
[18:32:45] [I] Desktop onResume
[18:32:45] [I] Notification onResume
[18:32:45] [I] ConsoleDaemon onResume
[18:32:45] [I] SleepDaemon onResume
W (61426) BT_L2CAP: L2CA_UpdateBleConnParams connection parameter already set
W (61427) BT_L2CAP: L2CA_UpdateBleConnParams connection parameter already set
W (61431) BT_L2CAP: L2CA_UpdateBleConnParams connection parameter already set
W (61439) BT_L2CAP: L2CA_UpdateBleConnParams connection parameter already set
W (61447) BT_L2CAP: L2CA_UpdateBleConnParams connection parameter already set
W (61454) BT_L2CAP: L2CA_UpdateBleConnParams connection parameter already set
W (61462) BT_L2CAP: L2CA_UpdateBleConnParams connection parameter already set
W (61470) BT_L2CAP: L2CA_UpdateBleConnParams connection parameter already set
W (61478) BT_L2CAP: L2CA_UpdateBleConnParams connection parameter already set
W (61486) BT_L2CAP: L2CA_UpdateBleConnParams connection parameter already set
W (61493) BT_L2CAP: L2CA_UpdateBleConnParams connection parameter already set
W (61501) BT_L2CAP: L2CA_UpdateBleConnParams connection parameter already set
W (61509) BT_L2CAP: L2CA_UpdateBleConnParams connection parameter already set
W (61517) BT_L2CAP: L2CA_UpdateBleConnParams connection parameter already set
W (61525) BT_L2CAP: L2CA_UpdateBleConnParams connection parameter already set
W (61532) BT_L2CAP: L2CA_UpdateBleConnParams connection parameter already set

后面就一直重复这个警告了。望解答,感谢

Forairaaaaa commented 1 week ago

重启有用咩,好像又是这个arduino蓝牙库的问题

Forairaaaaa commented 1 week ago

可能要用idf5.1.4,更新下arduino,之前弄了一点,但是可能要和旧版本一样注释下cmake的宏定义