蓝牙初始化代码走到BT_OP_WAKEUP_LOCK挂掉了,还没走到加载固件就挂了log如下

    行 33246: 10-17 13:58:11.699   330   813 E C00102/Bluetooth: [log_util.cpp(GetEncryptAddr:29)]addr is invalid.
    行 33247: 10-17 13:58:11.699   330   813 I C00102/Bluetooth: [a2dp_service.cpp(GetActiveSinkDevice:630)]address()
    行 33254: 10-17 13:58:11.700   330   813 E C00102/Bluetooth: [A2dpService]Can't find the statemachine
    行 36618: 10-17 13:58:13.864   496   575 I C00102/BTVENDOR: init, bdaddr:<private><private>:<private><private>:<private><private>
    行 36619: 10-17 13:58:13.865   496   575 I C00102/BTVENDOR: Attempt to load conf from <private>
    行 36620: 10-17 13:58:13.865   496   575 I C00102/BTVENDOR: vnd_load_conf file ><private>< not found
    行 36621: 10-17 13:58:13.865   496   575 E C00102/BTVENDOR: zyx  op, BT_OP_POWER_ON enter!!
    行 36735: 10-17 13:58:14.032   496   575 E C00102/BTVENDOR: zyx  op, BT_OP_HCI_CHANNEL_OPEN enter!!
    行 36736: 10-17 13:58:14.034   496   575 I C00102/BTVENDOR: userial vendor open: opening /dev/ttyS1
    行 36737: 10-17 13:58:14.036   496   575 I C00102/BTVENDOR: device fd = 6 open
    行 36739: 10-17 13:58:14.037   496   575 E C00102/BTVENDOR: zyx  op, BT_OP_INIT enter!!
    行 36740: 10-17 13:58:14.037   496   575 E C00102/BTVENDOR: zyx  hw_lpm_set_wake_state, 2 hw_lpm_set_wake_state enter!!
    行 36741: 10-17 13:58:14.037   496   575 E C00102/BTVENDOR: zyxBT  upio_set upio_set enter!!
    行 36742: 10-17 13:58:14.037   496   575 E C00102/BTVENDOR: zyxBT  upio_set, pio 0 action 2, polarity 1
    行 36743: 10-17 13:58:14.037   496   575 E C00102/BTVENDOR: zyxBT_WAKE is111 asserted already
    行 36744: 10-17 13:58:14.037   496   575 E C00102/BTVENDOR: zyxBT_WAKE is 5555asserted already
    行 36745: 10-17 13:58:14.037   496   575 E C00102/BTVENDOR: zyxBTupio_set: end!!
    行 36746: 10-17 13:58:14.037   496   575 E C00102/BTVENDOR: zyx  op, BT_OP_WAKEUP_LOCKBT_OP_WAKEUP_LOCK enter!!
    行 43649: 10-17 13:59:23.853   330   823 I C00102/Bluetooth: [classic_adapter.cpp(DeregisterClassicAdapterObserver:2132)]enter
    行 43650: 10-17 13:59:23.853   330   823 I C00102/Bluetooth: [classic_adapter.cpp(DeregisterRemoteDeviceObserver:2343)]enter

蓝牙相关uart,dts配置检查过了没啥问题,有没有大佬提供下解决思路,谢谢!!

Logo

社区规范:仅讨论OpenHarmony相关问题。

更多推荐