OpenHarmony开发者论坛

标题: OpenHarmony 蓝牙连接音响设备失败,界面一直卡在连接中 [打印本页]

作者: yjka    时间: 2024-10-28 20:51
标题: OpenHarmony 蓝牙连接音响设备失败,界面一直卡在连接中
[md]### 【问题描述】

1. OpenHarmony 4.0 release 连接蓝牙音响时,点击配对确认按钮后,一直处于连接中状态,无法连接蓝牙音响。日志如下:
2. ```
   10-25 16:06:36.011   420   425 I C00102/Bluetooth: [HFP AG]GetDeviceState():==========<start>==========
   10-25 16:06:36.011   420   425 I C00102/Bluetooth: [HFP AG]GetDeviceState():the statemachine is not available
   10-25 16:06:36.011   420   425 I C00101/Bluetooth: [bluetooth_hfp_ag_server.cpp(GetDeviceState:204)]state:3
   10-25 16:06:36.011  1643  1643 I C00100/bluetooth_napi: [napi_bluetooth_hfp_ag.cpp(GetDeviceState:167)]errorCode:BT_NO_ERROR(0)
   10-25 16:06:36.011  1643  1643 I C00100/bluetooth_napi: [napi_bluetooth_hid_host.cpp(GetDeviceState:197)]enter
   10-25 16:06:36.011   420   425 I C00101/Bluetooth: [bluetooth_host_stub.cpp(OnRemoteRequest:233)]BluetoothHostStub::OnRemoteRequest, cmd = 10, flags= 0
   10-25 16:06:36.011   420   425 I C00101/Bluetooth: [bluetooth_host_server.cpp(GetBtState:834)]state: 1
   10-25 16:06:36.011   420   425 I C00101/Bluetooth: [bluetooth_host_server.cpp(IsBtEnabled:1634)]true
   10-25 16:06:36.011  1643  1643 I C00101/Bluetooth: [bluetooth_hid_host.cpp(GetDeviceState:94)]enter, device: FF:A4:**:**:**:B5
   10-25 16:06:36.011   420   425 I C00101/Bluetooth: [bluetooth_hid_host_stub.cpp(OnRemoteRequest:62)]BluetoothHidHostStub::OnRemoteRequest, cmd = 3, flags= 0
   10-25 16:06:36.011   420   425 I C00101/Bluetooth: [bluetooth_hid_host_server.cpp(GetDeviceState:199)]start, addr:FF:A4:**:**:**:B5
   10-25 16:06:36.011   420   425 I C00102/Bluetooth: [HIDH Service] GetDeviceState start
   10-25 16:06:36.011   420   425 I C00102/Bluetooth: [HID HOST]GetDeviceState:The state machine is not available!
   10-25 16:06:36.011   420   425 I C00101/Bluetooth: [bluetooth_hid_host_server.cpp(GetDeviceState:209)]end, result:3
   10-25 16:06:36.011  1643  1643 I C00100/bluetooth_napi: [napi_bluetooth_hid_host.cpp(GetDeviceState:212)]errorCode:BT_NO_ERROR(0)
   10-25 16:06:36.011  1643  1643 I C00100/bluetooth_napi: [napi_bluetooth_hid_host.cpp(GetDeviceState:219)]profileState: 0
   10-25 16:06:36.012  1643  1643 I A00500/[Settings]: Settings BluetoothDevice#setProfiles([{"profileId":1,"profileConnectionState":0},{"profileId":4,"profileConnectionState":0},{"profileId":6,"profileConnectionState":0}]) in
   10-25 16:06:36.012  1643  1643 I A00500/[Settings]: Settings BluetoothDevice#setProfiles([{"profileId":1,"profileConnectionState":0},{"profileId":4,"profileConnectionState":0},{"profileId":6,"profileConnectionState":0}]) out => undefined
   10-25 16:06:36.012  1643  1643 I A00500/[Settings]: Settings BluetoothDeviceController sortPairedDevices in.
   10-25 16:06:36.012  1643  1643 I A00500/[Settings]: Settings BluetoothDeviceController sortPairedDevices out.
   10-25 16:06:36.012  1643  1643 I A00500/[Settings]: Settings BluetoothDeviceController bluetooth paired devices. list length = 1
   10-25 16:06:36.012  1643  1643 I A00500/[Settings]: Settings BluetoothDeviceController bluetooth bonded : remove device.
   10-25 16:06:36.013  1643  1643 I A00500/[Settings]: Settings BluetoothDeviceController removeAvailableDevice : before : availableDevices length = 4
   10-25 16:06:36.013  1643  1643 I A00500/[Settings]: Settings BluetoothDeviceController removeAvailableDevice : after : availableDevices length = 3
   10-25 16:06:36.013  1643  1643 I A00500/[Settings]: bluetooth.connectDevice start
   10-25 16:06:36.014  1643  1643 I C00100/bluetooth_napi: [napi_bluetooth_a2dp_src.cpp(Connect:132)]start
   10-25 16:06:36.014  1643  1643 I C00101/Bluetooth: [bluetooth_a2dp_src.cpp(GetProfile:369)]enter
   10-25 16:06:36.014  1643  1643 I C00101/Bluetooth: [bluetooth_a2dp_src.cpp(Connect:315)]a2dp connect remote device: FF:A4:**:**:**:B5
   10-25 16:06:36.014   420   425 I C00101/Bluetooth: [bluetooth_host_stub.cpp(OnRemoteRequest:233)]BluetoothHostStub::OnRemoteRequest, cmd = 10, flags= 0
   10-25 16:06:36.014   420   425 I C00101/Bluetooth: [bluetooth_host_server.cpp(GetBtState:834)]state: 1
   10-25 16:06:36.014   420   425 I C00101/Bluetooth: [bluetooth_host_server.cpp(IsBtEnabled:1634)]true
   10-25 16:06:36.014  1643  1643 I C00101/Bluetooth: [bluetooth_remote_device.cpp(GetDeviceClass:343)]enter
   10-25 16:06:36.014   420   425 I C00101/Bluetooth: [bluetooth_host_stub.cpp(OnRemoteRequest:233)]BluetoothHostStub::OnRemoteRequest, cmd = 10, flags= 0
   10-25 16:06:36.014   420   425 I C00101/Bluetooth: [bluetooth_host_server.cpp(GetBtState:834)]state: 1
   10-25 16:06:36.014   420   425 I C00101/Bluetooth: [bluetooth_host_server.cpp(IsBtEnabled:1634)]true
   10-25 16:06:36.015   420   425 I C00101/Bluetooth: [bluetooth_host_stub.cpp(OnRemoteRequest:233)]BluetoothHostStub::OnRemoteRequest, cmd = 51, flags= 0
   10-25 16:06:36.015   420   425 I C00101/Bluetooth: [bluetooth_host_server.cpp(GetDeviceClass:1457)]address: FF:A4:**:**:**:B5
   10-25 16:06:36.015   420   425 I C00101/Bluetooth: [bluetooth_host_server.cpp(GetBtState:834)]state: 1
   10-25 16:06:36.015   420   425 I C00101/Bluetooth: [bluetooth_host_server.cpp(IsBtEnabled:1634)]true
   10-25 16:06:36.015   420   425 I C00102/Bluetooth: [classic_adapter.cpp(GetDeviceClass:2275)]enter
   10-25 16:06:36.015  1643  1643 I C00101/Bluetooth: [bluetooth_device_class.cpp(IsA2dpSupported:76)]service supported.
   10-25 16:06:36.015   420   425 I C00101/Bluetooth: [bluetooth_a2dp_src_stub.cpp(OnRemoteRequest:81)]BluetoothA2dpSrcStub::OnRemoteRequest, cmd = 0, flags= 0
   10-25 16:06:36.015   420   425 I C00101/Bluetooth: [bluetooth_a2dp_source_server.cpp(Connect:207)]addr: FF:A4:**:**:**:B5
   10-25 16:06:36.015   420   425 I C00101/Bluetooth: [bluetooth_hitrace.cpp(BluetoothStartAsyncTrace:38)]value:A2DP_SRC_CONNECT, taskId:1
   10-25 16:06:36.015   420   425 I C00102/Bluetooth: [a2dp_service.cpp(Connect:309)][address:FF:A4:**:**:**:B5] role[0]
   10-25 16:06:36.015   420   425 I C00102/Bluetooth: [A2dpConnectManager] JudgeConnectExit
   10-25 16:06:36.015   420   425 I C00102/Bluetooth: [A2dpService] GetServiceInstance role(0)
   10-25 16:06:36.015   420   425 I C00102/Bluetooth: [A2dpService] GetDeviceList
   10-25 16:06:36.015   420   425 I C00102/Bluetooth: [A2dpService]Can't find the statemachine
   10-25 16:06:36.015   420   425 I C00102/Bluetooth: [A2dpConnectManager] JudgeConnectedNum
   10-25 16:06:36.015   420   425 I C00102/Bluetooth: [A2dpService] GetServiceInstance role(0)
   10-25 16:06:36.015   420   425 I C00102/Bluetooth: [A2dpService] GetDeviceList
   10-25 16:06:36.015   420   425 E C00102/Bluetooth: [A2dpService]Can't find the statemachine
   10-25 16:06:36.015   420   425 E C00102/Bluetooth: [A2dpService]Can't find the statemachine
   10-25 16:06:36.015   420   425 I C00102/Bluetooth: [a2dp_service.cpp(GetConnectStrategy:694)]FF:A4:**:**:**:B5 connection policy not found
   10-25 16:06:36.015   420   425 I C00101/Bluetooth: [bluetooth_hitrace.cpp(BluetoothFinishAsyncTrace:44)]value:A2DP_SRC_CONNECT, taskId:1
   10-25 16:06:36.015   420   518 I C00102/Bluetooth: [a2dp_service.cpp(ProcessEvent:1067)]peerAddr(FF:A4:**:**:**:B5)
   10-25 16:06:36.015   420   518 I C00102/Bluetooth: [a2dp_service_connection.cpp(A2dpConnect:31)][address:FF:A4:**:**:**:B5] role[0]
   10-25 16:06:36.015   420   518 I C00102/Bluetooth: [A2dpService] GetServiceInstance role(0)
   10-25 16:06:36.015   420   518 I C00102/Bluetooth: [A2dpService] GetDeviceList
   10-25 16:06:36.015   420   518 I C00102/Bluetooth: [A2dpConnectManager] AddDevice role[0]
   10-25 16:06:36.015   420   518 I C00102/Bluetooth: [A2dpService] GetServiceInstance role(0)
   10-25 16:06:36.015   420   518 I C00102/Bluetooth: [A2dpDeviceInfo] A2dpDeviceInfo
   10-25 16:06:36.015   420   518 I C00102/Bluetooth: [A2dpDeviceInfo] GetStateMachine
   10-25 16:06:36.016   420   518 I C00102/Bluetooth: [SettState state] = 3
   10-25 16:06:36.016   420   518 I C00102/Bluetooth: [currentConnectState_] = 3
   10-25 16:06:36.016   420   518 I C00102/Bluetooth: [A2dpService] AddDeviceToList
   10-25 16:06:36.016   420   518 I C00102/Bluetooth: [SettState state] = 0
   10-25 16:06:36.016   420   518 I C00102/Bluetooth: [currentConnectState_] = 3
   10-25 16:06:36.016   420   518 I C00102/Bluetooth: [A2dpDeviceInfo] GetStateMachine
   10-25 16:06:36.016   420   518 I C00102/Bluetooth: [A2dpDisconnected] Dispatch role[0]
   10-25 16:06:36.016   420   518 I C00102/Bluetooth: [A2dpProfile] GetProfileInstance role(0)
   10-25 16:06:36.016   420   518 I C00102/Bluetooth: [A2dpService] GetServiceInstance role(0)
   10-25 16:06:36.016   420   518 I C00102/Bluetooth: [A2dpProfile]Connect
   10-25 16:06:36.016   420   518 I C00102/Bluetooth: [A2dpProfile]GetRole role(0)
   10-25 16:06:36.016   420   518 I C00102/Bluetooth: [a2dp_profile.cpp(FindPeerByAddress:963)][A2dpProfile] addr(FF:A4:**:**:**:B5)
   10-25 16:06:36.016   420   518 I C00102/Bluetooth: [A2dpProfile]UpdateNumberPeerDevice plus(1)
   10-25 16:06:36.016   420   518 I C00102/Bluetooth: [A2dpProfile]UpdateNumberPeerDevice linkNum(1)
   10-25 16:06:36.016   420   518 I C00102/Bluetooth: [A2dpStream] A2dpStream
   10-25 16:06:36.016   420   518 I C00102/Bluetooth: [A2dpStream] A2dpStream
   10-25 16:06:36.016   420   518 I C00102/Bluetooth: [A2dpStream] A2dpStream
   10-25 16:06:36.016   420   518 I C00102/Bluetooth: [A2dpStream] A2dpStream
   10-25 16:06:36.016   420   518 I C00102/Bluetooth: [A2dpCodecThread]GetInstance
   10-25 16:06:36.016   420   518 I C00102/Bluetooth: [A2dpCodecThread]A2dpCodecThread
   10-25 16:06:36.016   420   518 I C00102/Bluetooth: [A2dpProfilePeer] A2dpProfilePeerInit localRole(0)
   10-25 16:06:36.016   420   518 I C00102/Bluetooth: [A2dpProfilePeer]CreateDefaultCodecPriority
   10-25 16:06:36.016   420   518 I C00102/Bluetooth: [A2dpProfilePeer]CreateDefaultCodecPriority SourceSBC Config(1) priority(1)
   10-25 16:06:36.016   420   518 I C00102/Bluetooth: [A2dpProfilePeer]CreateDefaultCodecPriority SourceAAC Config(1) priority(2)
   10-25 16:06:36.016   420   518 I C00102/Bluetooth: [A2dpProfilePeer]CreateDefaultCodecPriority SinkSBC Config(1) priority(1)
   10-25 16:06:36.016   420   518 I C00102/Bluetooth: [A2dpProfilePeer]CreateDefaultCodecPriority Sink AAC Config(1) priority(2)
   10-25 16:06:36.016   420   518 I C00102/Bluetooth: [A2dpProfilePeer] RegisterSEPConfigureInfo SBC value[1]
   10-25 16:06:36.016   420   518 I C00102/Bluetooth: [A2dpProfile]BuildCodecInfo index(1)
   10-25 16:06:36.016   420   518 I C00102/Bluetooth: [AVDT]AVDT_CreateStream:bdAddr((ff:a4:3e:fb:25:b5) codecIndex(1)
   10-25 16:06:36.016   420   511 I C00102/Bluetooth: [AVDT]AvdtCreateStream: Index(1) registered, registered handle(1)
   10-25 16:06:36.016   420   518 I C00102/Bluetooth: [A2dpStream] SetHandle handle_(1)
   10-25 16:06:36.016   420   518 I C00102/Bluetooth: [A2dpStream] SetCodecInfo index(1)
   10-25 16:06:36.016   420   518 I C00102/Bluetooth: [A2dpProfilePeer] RegisterSEPConfigureInfo AAC value[0]
   10-25 16:06:36.016   420   518 I C00102/Bluetooth: [A2dpProfilePeer] GetIntSeid intId_(0)
   10-25 16:06:36.016   420   518 I C00102/Bluetooth: [A2dpProfilePeer] RegisterSEPConfigureInfo handle[0]
   10-25 16:06:36.016   420   518 I C00102/Bluetooth: [CodecFactory] A2dpCodecFactory
   10-25 16:06:36.016   420   518 I C00102/Bluetooth: [CodecFactory] Initialize
   10-25 16:06:36.016   420   518 I C00102/Bluetooth: [CodecFactory] Initialize codecIndex(1) codecPriority(1001)
   10-25 16:06:36.016   420   518 I C00102/Bluetooth: [CodecConfig] CreateCodec [codecIndex:1][codecPriority:1001]
   10-25 16:06:36.016   420   518 I C00102/Bluetooth: [CodecConfig] A2dpCodecConfig
   10-25 16:06:36.016   420   518 I C00102/Bluetooth: [CodecConfig] SetCodecPriority codecPriority:1001
   10-25 16:06:36.016   420   518 I C00102/Bluetooth: [CodecConfig] GetCodecPriority codecPriority_:0x3e9
   10-25 16:06:36.016   420   518 I C00102/Bluetooth: [CodecConfig] GetCodecPriority codecPriority_:0x3e9
   10-25 16:06:36.016   420   518 I C00102/Bluetooth: [CodecConfig] GetCodecPriority codecPriority_:0x3e9
   10-25 16:06:36.016   420   518 I C00102/Bluetooth: [CodecConfig] GetCodecPriority codecPriority_:0x3e9
   10-25 16:06:36.016   420   518 I C00102/Bluetooth: [CodecConfig] GetCodecPriority codecPriority_:0x3e9
   10-25 16:06:36.016   420   518 I C00102/Bluetooth: [CodecConfig] GetCodecPriority codecPriority_:0x3e9
   10-25 16:06:36.016   420   518 I C00102/Bluetooth: [CodecConfig] GetCodecPriority codecPriority_:0x3e9
   10-25 16:06:36.016   420   518 I C00102/Bluetooth: [CodecConfig] GetCodecPriority codecPriority_:0x3e9
   10-25 16:06:36.016   420   518 I C00102/Bluetooth: [CodecConfig] GetCodecPriority codecPriority_:0x3e9
   10-25 16:06:36.016   420   518 I C00102/Bluetooth: [CodecConfig] GetCodecPriority codecPriority_:0x3e9
   10-25 16:06:36.016   420   518 I C00102/Bluetooth: [CodecConfigSbcSource] A2dpCodecConfigSbcSource
   10-25 16:06:36.016   420   518 I C00102/Bluetooth: [CodecFactory] Initialize codecIndex(2) codecPriority(2001)
   10-25 16:06:36.016   420   518 I C00102/Bluetooth: [CodecConfig] CreateCodec [codecIndex:2][codecPriority:2001]
   10-25 16:06:36.016   420   518 I C00102/Bluetooth: [CodecConfig] A2dpCodecConfig
   10-25 16:06:36.016   420   518 I C00102/Bluetooth: [CodecConfig] SetCodecPriority codecPriority:2001
   10-25 16:06:36.016   420   518 I C00102/Bluetooth: [CodecConfig] GetCodecPriority codecPriority_:0x7d1
   10-25 16:06:36.016   420   518 I C00102/Bluetooth: [CodecConfig] GetCodecPriority codecPriority_:0x7d1
   10-25 16:06:36.016   420   518 I C00102/Bluetooth: [CodecConfig] GetCodecPriority codecPriority_:0x7d1
   10-25 16:06:36.017   420   518 I C00102/Bluetooth: [CodecConfig] GetCodecPriority codecPriority_:0x7d1
   10-25 16:06:36.017   420   518 I C00102/Bluetooth: [CodecConfig] GetCodecPriority codecPriority_:0x7d1
   10-25 16:06:36.017   420   518 I C00102/Bluetooth: [CodecConfig] GetCodecPriority codecPriority_:0x7d1
   10-25 16:06:36.017   420   518 I C00102/Bluetooth: [CodecConfig] GetCodecPriority codecPriority_:0x7d1
   10-25 16:06:36.017   420   518 I C00102/Bluetooth: [CodecConfig] GetCodecPriority codecPriority_:0x7d1
   10-25 16:06:36.017   420   518 I C00102/Bluetooth: [CodecConfig] GetCodecPriority codecPriority_:0x7d1
   10-25 16:06:36.017   420   518 I C00102/Bluetooth: [CodecConfig] GetCodecPriority codecPriority_:0x7d1
   10-25 16:06:36.017   420   518 I C00102/Bluetooth: [A2dpCodecConfigAacSource] A2dpCodecConfigAacSource
   10-25 16:06:36.017   420   518 I C00102/Bluetooth: [CodecConfig] GetCodecPriority codecPriority_:0x7d1
   10-25 16:06:36.017   420   518 I C00102/Bluetooth: [CodecConfig] GetCodecPriority codecPriority_:0x3e9
   10-25 16:06:36.017   420   518 I C00102/Bluetooth: [CodecFactory] Initialize codecIndex(3) codecPriority(1001)
   10-25 16:06:36.017   420   518 I C00102/Bluetooth: [CodecConfig] CreateCodec [codecIndex:3][codecPriority:1001]
   10-25 16:06:36.017   420   518 I C00102/Bluetooth: [CodecConfig] A2dpCodecConfig
   10-25 16:06:36.017   420   518 I C00102/Bluetooth: [CodecConfig] SetCodecPriority codecPriority:1001
   10-25 16:06:36.017   420   518 I C00102/Bluetooth: [CodecConfig] GetCodecPriority codecPriority_:0x3e9
   10-25 16:06:36.017   420   518 I C00102/Bluetooth: [CodecConfig] GetCodecPriority codecPriority_:0x3e9
   10-25 16:06:36.017   420   518 I C00102/Bluetooth: [CodecConfig] GetCodecPriority codecPriority_:0x3e9
   10-25 16:06:36.017   420   518 I C00102/Bluetooth: [CodecConfig] GetCodecPriority codecPriority_:0x3e9
   10-25 16:06:36.017   420   518 I C00102/Bluetooth: [CodecConfig] GetCodecPriority codecPriority_:0x3e9
   10-25 16:06:36.017   420   518 I C00102/Bluetooth: [CodecConfig] GetCodecPriority codecPriority_:0x3e9
   10-25 16:06:36.017   420   518 I C00102/Bluetooth: [CodecConfig] GetCodecPriority codecPriority_:0x3e9
   10-25 16:06:36.017   420   518 I C00102/Bluetooth: [CodecConfig] GetCodecPriority codecPriority_:0x3e9
   10-25 16:06:36.017   420   518 I C00102/Bluetooth: [CodecConfig] GetCodecPriority codecPriority_:0x3e9
   10-25 16:06:36.017   420   518 I C00102/Bluetooth: [CodecConfig] GetCodecPriority codecPriority_:0x3e9
   10-25 16:06:36.017   420   518 I C00102/Bluetooth: [CodecConfigSbcSink] A2dpCodecConfigSbcSink
   10-25 16:06:36.017   420   518 I C00102/Bluetooth: [CodecFactory] Initialize codecIndex(4) codecPriority(2001)
   10-25 16:06:36.017   420   518 I C00102/Bluetooth: [CodecConfig] CreateCodec [codecIndex:4][codecPriority:2001]
   10-25 16:06:36.017   420   518 I C00102/Bluetooth: [CodecConfig] A2dpCodecConfig
   10-25 16:06:36.017   420   518 I C00102/Bluetooth: [CodecConfig] SetCodecPriority codecPriority:2001
   10-25 16:06:36.017   420   518 I C00102/Bluetooth: [CodecConfig] GetCodecPriority codecPriority_:0x7d1
   10-25 16:06:36.017   420   518 I C00102/Bluetooth: [CodecConfig] GetCodecPriority codecPriority_:0x7d1
   10-25 16:06:36.017   420   518 I C00102/Bluetooth: [CodecConfig] GetCodecPriority codecPriority_:0x7d1
   10-25 16:06:36.017   420   518 I C00102/Bluetooth: [CodecConfig] GetCodecPriority codecPriority_:0x7d1
   10-25 16:06:36.017   420   518 I C00102/Bluetooth: [CodecConfig] GetCodecPriority codecPriority_:0x7d1
   10-25 16:06:36.017   420   518 I C00102/Bluetooth: [CodecConfig] GetCodecPriority codecPriority_:0x7d1
   10-25 16:06:36.017   420   518 I C00102/Bluetooth: [CodecConfig] GetCodecPriority codecPriority_:0x7d1
   10-25 16:06:36.017   420   518 I C00102/Bluetooth: [CodecConfig] GetCodecPriority codecPriority_:0x7d1
   10-25 16:06:36.017   420   518 I C00102/Bluetooth: [CodecConfig] GetCodecPriority codecPriority_:0x7d1
   10-25 16:06:36.017   420   518 I C00102/Bluetooth: [CodecConfig] GetCodecPriority codecPriority_:0x7d1
   10-25 16:06:36.017   420   518 I C00102/Bluetooth: [A2dpCodecConfigAacSink] A2dpCodecConfigAacSink
   10-25 16:06:36.017   420   518 I C00102/Bluetooth: [CodecConfig] GetCodecPriority codecPriority_:0x7d1
   10-25 16:06:36.017   420   518 I C00102/Bluetooth: [CodecConfig] GetCodecPriority codecPriority_:0x3e9
   10-25 16:06:36.017   420   518 I C00102/Bluetooth: [a2dp_profile.cpp(FindOrCreatePeer:1005)]addr: FF:A4:**:**:**:B5
   10-25 16:06:36.017   420   518 I C00102/Bluetooth: [A2dpSdpManager]FindSnkService
   10-25 16:06:36.017   420   518 I C00102/Bluetooth: SDP_ServiceSearchAttribute enter
   10-25 16:06:36.017   420   511 I C00102/Bluetooth: [SdpServiceSearchAttribute][269] uuidNum = [1], type = [0]
   10-25 16:06:36.017   420   518 I C00102/Bluetooth: [A2dpService] ProcessConnectFrameworkCallback
   10-25 16:06:36.017   420   511 I C00102/Bluetooth: L2CAP_SendData:343 enter, lcid = 0x0080, pktLength = 24
   10-25 16:06:36.017   420   518 I C00101/Bluetooth: [bluetooth_a2dp_source_server.cpp(OnConnectionStateChanged:38)]addr: FF:A4:**:**:**:B5, state: 0
   10-25 16:06:36.017   420   518 I C00102/Bluetooth: [A2dpService] Start connect peer
   10-25 16:06:36.017   585   645 I C02b00/AudioFramework: [audio_bluetooth_manager.cpp] OnConnectionStateChanged: state: 0
   10-25 16:06:36.017  1643  1774 I C00100/bluetooth_napi: [napi_bluetooth_event.cpp(EventNotify:24)]Enter bluetooth event notify
   10-25 16:06:36.019  1643  1643 I C00100/bluetooth_napi: [napi_bluetooth_hfp_ag.cpp(Connect:341)]enter
   10-25 16:06:36.019  1643  1643 I C00101/Bluetooth: [bluetooth_hfp_ag.cpp(GetProfile:389)]enter
   10-25 16:06:36.019  1643  1643 I C00101/Bluetooth: [bluetooth_hfp_ag.cpp(Connect:482)]enter, device: FF:A4:**:**:**:B5
   10-25 16:06:36.019   420   425 I C00101/Bluetooth: [bluetooth_host_stub.cpp(OnRemoteRequest:233)]BluetoothHostStub::OnRemoteRequest, cmd = 10, flags= 0
   10-25 16:06:36.019   420   425 I C00101/Bluetooth: [bluetooth_host_server.cpp(GetBtState:834)]state: 1
   10-25 16:06:36.019   420   425 I C00101/Bluetooth: [bluetooth_host_server.cpp(IsBtEnabled:1634)]true
   10-25 16:06:36.019  1643  1643 I C00101/Bluetooth: [bluetooth_hfp_ag.cpp(Connect:148)]hfp connect remote device: FF:A4:**:**:**:B5
   10-25 16:06:36.019  1643  1643 I C00101/Bluetooth: [bluetooth_remote_device.cpp(GetDeviceClass:343)]enter
   10-25 16:06:36.019   420   425 I C00101/Bluetooth: [bluetooth_host_stub.cpp(OnRemoteRequest:233)]BluetoothHostStub::OnRemoteRequest, cmd = 10, flags= 0
   10-25 16:06:36.020   420   425 I C00101/Bluetooth: [bluetooth_host_server.cpp(GetBtState:834)]state: 1
   10-25 16:06:36.020   420   425 I C00101/Bluetooth: [bluetooth_host_server.cpp(IsBtEnabled:1634)]true
   10-25 16:06:36.020   420   425 I C00101/Bluetooth: [bluetooth_host_stub.cpp(OnRemoteRequest:233)]BluetoothHostStub::OnRemoteRequest, cmd = 51, flags= 0
   10-25 16:06:36.020   420   425 I C00101/Bluetooth: [bluetooth_host_server.cpp(GetDeviceClass:1457)]address: FF:A4:**:**:**:B5
   10-25 16:06:36.020   420   425 I C00101/Bluetooth: [bluetooth_host_server.cpp(GetBtState:834)]state: 1
   10-25 16:06:36.020   420   425 I C00101/Bluetooth: [bluetooth_host_server.cpp(IsBtEnabled:1634)]true
   10-25 16:06:36.020   420   425 I C00102/Bluetooth: [classic_adapter.cpp(GetDeviceClass:2275)]enter
   10-25 16:06:36.021  1643  1643 I C00101/Bluetooth: [bluetooth_device_class.cpp(IsHeadSetSupported:109)]service supported.
   10-25 16:06:36.021   420   425 I C00101/Bluetooth: [bluetooth_hfp_ag_stub.cpp(OnRemoteRequest:78)]BluetoothHfpAgStub::OnRemoteRequest, cmd = 3, flags= 0
   10-25 16:06:36.021   420   425 I C00101/Bluetooth: [bluetooth_hfp_ag_server.cpp(Connect:213)]target device:FF:A4:**:**:**:B5()
   10-25 16:06:36.021   420   425 I C00101/Bluetooth: [bluetooth_hitrace.cpp(BluetoothStartAsyncTrace:38)]value:HFP_AG_CONNECT, taskId:1
   10-25 16:06:36.021   420   425 I C00102/Bluetooth: [HFP AG]Connect():==========<start>==========
   10-25 16:06:36.021   420   425 I C00101/Bluetooth: [bluetooth_hitrace.cpp(BluetoothFinishAsyncTrace:44)]value:HFP_AG_CONNECT, taskId:1
   10-25 16:06:36.021   420   519 I C00102/Bluetooth: [hfp_ag_service.cpp(ProcessEvent:260)]addr: FF:A4:**:**:**:B5, event_no: 10
   10-25 16:06:36.021   420   519 I C00102/Bluetooth: [HFP AG]Dispatch():[Disconnected][HFP_AG_CONNECT_EVT]
   10-25 16:06:36.021  1643  1643 I C00100/bluetooth_napi: [napi_bluetooth_hfp_ag.cpp(Connect:349)]errorCode:BT_NO_ERROR(0)
   10-25 16:06:36.021   420   519 I C00102/Bluetooth: SDP_ServiceSearchAttribute enter
   10-25 16:06:36.021  1643  1643 I C00100/bluetooth_napi: [napi_bluetooth_hid_host.cpp(Connect:225)]enter
   10-25 16:06:36.021   420   511 I C00102/Bluetooth: [SdpServiceSearchAttribute][269] uuidNum = [1], type = [0]
   10-25 16:06:36.021   420   511 I C00102/Bluetooth: L2CAP_SendData:343 enter, lcid = 0x0080, pktLength = 27
   10-25 16:06:36.021   420   519 I C00102/Bluetooth: [hfp_ag_service.cpp(NotifySlcStateChanged:781)][HFP AG] device:FF:A4:**:**:**:B5, toState:1
   10-25 16:06:36.021   420   425 I C00101/Bluetooth: [bluetooth_host_stub.cpp(OnRemoteRequest:233)]BluetoothHostStub::OnRemoteRequest, cmd = 10, flags= 0
   10-25 16:06:36.021   420   519 I C00101/Bluetooth: [bluetooth_hfp_ag_server.cpp(OnConnectionStateChanged:43)]device:FF:A4:**:**:**:B5, state:0
   10-25 16:06:36.021   420   519 I C00102/Bluetooth: [HFP AG]StartConnectionTimer():Start connection timer!
   10-25 16:06:36.021   629  1157 I C01f01/CallManager: [OnConnectionStateChanged-(bluetooth_connection.cpp:326)] BluetoothConnection::OnConnectionStateChanged state : 0
   10-25 16:06:36.021   420   425 I C00101/Bluetooth: [bluetooth_host_server.cpp(GetBtState:834)]state: 1
   10-25 16:06:36.021  1643  1774 I C00100/bluetooth_napi: [napi_bluetooth_hfp_ag_observer.cpp(OnConnectionStateChanged:35)]connectionStateChange is registered by ability
   10-25 16:06:36.022   420   425 I C00101/Bluetooth: [bluetooth_host_server.cpp(IsBtEnabled:1634)]true
   10-25 16:06:36.022  1643  1774 I C00100/bluetooth_napi: [napi_bluetooth_event.cpp(EventNotify:24)]Enter bluetooth event notify
   10-25 16:06:36.022  1643  1643 I C00101/Bluetooth: [bluetooth_remote_device.cpp(GetDeviceClass:343)]enter
   10-25 16:06:36.022   420   425 I C00101/Bluetooth: [bluetooth_host_stub.cpp(OnRemoteRequest:233)]BluetoothHostStub::OnRemoteRequest, cmd = 10, flags= 0
   10-25 16:06:36.022   420   425 I C00101/Bluetooth: [bluetooth_host_server.cpp(GetBtState:834)]state: 1
   10-25 16:06:36.022   420   425 I C00101/Bluetooth: [bluetooth_host_server.cpp(IsBtEnabled:1634)]true
   10-25 16:06:36.022   420   425 I C00101/Bluetooth: [bluetooth_host_stub.cpp(OnRemoteRequest:233)]BluetoothHostStub::OnRemoteRequest, cmd = 51, flags= 0
   10-25 16:06:36.022   420   425 I C00101/Bluetooth: [bluetooth_host_server.cpp(GetDeviceClass:1457)]address: FF:A4:**:**:**:B5
   10-25 16:06:36.023   420   425 I C00101/Bluetooth: [bluetooth_host_server.cpp(GetBtState:834)]state: 1
   10-25 16:06:36.023   420   425 I C00101/Bluetooth: [bluetooth_host_server.cpp(IsBtEnabled:1634)]true
   10-25 16:06:36.023   420   425 I C00102/Bluetooth: [classic_adapter.cpp(GetDeviceClass:2275)]enter
   10-25 16:06:36.023  1643  1643 I C00101/Bluetooth: [bluetooth_device_class.cpp(GetMajorMinorClass:39)]MajorMinorClass: 0x404
   10-25 16:06:36.023  1643  1643 E C00101/Bluetooth: [bluetooth_hid_host.cpp(Connect:118)]hid connect failed. The remote device does not support HID service.
   10-25 16:06:36.023  1643  1643 I C00100/bluetooth_napi: [napi_bluetooth_hid_host.cpp(Connect:233)]errorCode:BT_ERR_PROFILE_DISABLED(2900004)
   10-25 16:06:36.023  1643  1643 E C00100/bluetooth_napi: [napi_bluetooth_hid_host.cpp(Connect:234)]bluetoothManager napi assert failed.
   10-25 16:06:36.023  1643  1643 I A00500/[Settings]: Settings BluetoothModel  connect failed. BusinessError is  {"code":"2900004"}
   10-25 16:06:36.023  1643  1643 I A00500/[Settings]: bluetooth.connectDevice end, return:[object Object],[object Object],[object Object]
   10-25 16:06:36.023  1643  1643 I C00100/bluetooth_napi: [napi_bluetooth_remote_device_observer.cpp(UvQueueWorkOnPairStatusChanged:30)]uv_work_t start
   10-25 16:06:36.024  1643  1643 I C00100/bluetooth_napi: [napi_bluetooth_remote_device_observer.cpp(UvQueueWorkOnPairStatusChanged:49)]Status is 2
   10-25 16:06:36.024  1643  1643 I A00500/[Settings]: Settings BluetoothModel  subscribeBondStateChange->bondStateChange data.state:2
   10-25 16:06:36.024  1643  1643 I A00500/[Settings]: Settings BluetoothModel  subscribeBondStateChange->bondStateChange return:2
   10-25 16:06:36.024  1643  1643 I A00500/[Settings]: Settings BluetoothDeviceController data.bondState2
   10-25 16:06:36.024  1643  1643 I C00100/bluetooth_napi: [napi_bluetooth_connection.cpp(GetPairedDevices:332)]start
   10-25 16:06:36.024  1643  1643 I C00101/Bluetooth: [bluetooth_host.cpp(GetPairedDevices:1008)]enter, transport: 0
   10-25 16:06:36.024   420   425 I C00101/Bluetooth: [bluetooth_host_stub.cpp(OnRemoteRequest:233)]BluetoothHostStub::OnRemoteRequest, cmd = 10, flags= 0
   10-25 16:06:36.024   420   425 I C00101/Bluetooth: [bluetooth_host_server.cpp(GetBtState:834)]state: 1
   10-25 16:06:36.024   420   425 I C00101/Bluetooth: [bluetooth_host_server.cpp(IsBtEnabled:1634)]true
   10-25 16:06:36.025   420   425 I C00101/Bluetooth: [bluetooth_host_stub.cpp(OnRemoteRequest:233)]BluetoothHostStub::OnRemoteRequest, cmd = 29, flags= 0
   10-25 16:06:36.025   420   425 I C00101/Bluetooth: [bluetooth_host_server.cpp(GetPairedDevices:1172)]transport: 0
   10-25 16:06:36.025   420   425 I C00101/Bluetooth: [bluetooth_host_server.cpp(GetBtState:834)]state: 1
   10-25 16:06:36.025   420   425 I C00101/Bluetooth: [bluetooth_host_server.cpp(IsBtEnabled:1634)]true
   10-25 16:06:36.025   420   425 I C00102/Bluetooth: [classic_remote_device.cpp(GetAddress:53)]addr = FF:A4:**:**:**:B5
   10-25 16:06:36.025  1643  1643 I C00101/Bluetooth: [bluetooth_host.cpp(GetPairedDevices:1008)]enter, transport: 1
   10-25 16:06:36.025   420   425 I C00101/Bluetooth: [bluetooth_host_stub.cpp(OnRemoteRequest:233)]BluetoothHostStub::OnRemoteRequest, cmd = 10, flags= 0
   10-25 16:06:36.026   420   425 I C00101/Bluetooth: [bluetooth_host_server.cpp(GetBtState:834)]state: 1
   10-25 16:06:36.026   420   425 I C00101/Bluetooth: [bluetooth_host_server.cpp(IsBtEnabled:1634)]true
   10-25 16:06:36.026   420   425 I C00101/Bluetooth: [bluetooth_host_stub.cpp(OnRemoteRequest:233)]BluetoothHostStub::OnRemoteRequest, cmd = 29, flags= 0
   10-25 16:06:36.026   420   425 I C00101/Bluetooth: [bluetooth_host_server.cpp(GetPairedDevices:1172)]transport: 1
   10-25 16:06:36.026  1643  1643 I C00100/bluetooth_napi: [napi_bluetooth_connection.cpp(GetPairedDevices:355)]end
   10-25 16:06:36.026   420   425 I C00101/Bluetooth: [bluetooth_host_stub.cpp(OnRemoteRequest:233)]BluetoothHostStub::OnRemoteRequest, cmd = 10, flags= 0
   10-25 16:06:36.026   420   425 I C00101/Bluetooth: [bluetooth_host_server.cpp(GetBtState:834)]state: 1
   10-25 16:06:36.026   420   425 I C00101/Bluetooth: [bluetooth_host_server.cpp(IsBtEnabled:1634)]true
   10-25 16:06:36.027   420   511 I C00102/Bluetooth: [SdpParseResponseCommon][634] continuation state length [0].
   10-25 16:06:36.027   420   424 I C00101/Bluetooth: [bluetooth_host_stub.cpp(OnRemoteRequest:233)]BluetoothHostStub::OnRemoteRequest, cmd = 41, flags= 0
   10-25 16:06:36.027   420   511 I C00102/Bluetooth: [SdpParseAttributeValue][1800] attributeId [0x0001]
   10-25 16:06:36.027   420   511 I C00102/Bluetooth: [SdpParseAttributeValue][1800] attributeId [0x0004]
   10-25 16:06:36.027   420   511 I C00102/Bluetooth: [SdpParseAttributeValue][1800] attributeId [0x0009]
   10-25 16:06:36.027   420   424 I C00101/Bluetooth: [bluetooth_host_server.cpp(GetBtState:834)]state: 1
   10-25 16:06:36.027   420   424 I C00101/Bluetooth: [bluetooth_host_server.cpp(IsBtEnabled:1634)]true
   10-25 16:06:36.027   420   424 I C00102/Bluetooth: [classic_adapter.cpp(GetDeviceName:1632)]enter
   10-25 16:06:36.027  1643  1643 I C00101/Bluetooth: [bluetooth_remote_device.cpp(GetDeviceClass:343)]enter
   10-25 16:06:36.027   420   424 I C00101/Bluetooth: [bluetooth_host_stub.cpp(OnRemoteRequest:233)]BluetoothHostStub::OnRemoteRequest, cmd = 10, flags= 0
   10-25 16:06:36.028   420   424 I C00101/Bluetooth: [bluetooth_host_server.cpp(GetBtState:834)]state: 1
   10-25 16:06:36.028   420   424 I C00101/Bluetooth: [bluetooth_host_server.cpp(IsBtEnabled:1634)]true
   10-25 16:06:36.028   420   424 I C00101/Bluetooth: [bluetooth_host_stub.cpp(OnRemoteRequest:233)]BluetoothHostStub::OnRemoteRequest, cmd = 51, flags= 0
   10-25 16:06:36.028   420   424 I C00101/Bluetooth: [bluetooth_host_server.cpp(GetDeviceClass:1457)]address: FF:A4:**:**:**:B5
   10-25 16:06:36.028   420   424 I C00101/Bluetooth: [bluetooth_host_server.cpp(GetBtState:834)]state: 1
   10-25 16:06:36.028   420   424 I C00101/Bluetooth: [bluetooth_host_server.cpp(IsBtEnabled:1634)]true
   10-25 16:06:36.028   420   424 I C00102/Bluetooth: [classic_adapter.cpp(GetDeviceClass:2275)]enter
   10-25 16:06:36.028  1643  1643 I C00101/Bluetooth: [bluetooth_device_class.cpp(GetMajorMinorClass:39)]MajorMinorClass: 0x404
   10-25 16:06:36.028  1643  1643 I A00500/[Settings]: bluetooth.getDeviceType end, return:2
   10-25 16:06:36.029  1643  1643 I C00100/bluetooth_napi: [napi_bluetooth_a2dp_src.cpp(GetDeviceState:205)]enter
   10-25 16:06:36.029  1643  1643 I C00101/Bluetooth: [bluetooth_a2dp_src.cpp(GetProfile:369)]enter
   10-25 16:06:36.029  1643  1643 I C00101/Bluetooth: [bluetooth_a2dp_src.cpp(GetDeviceState:247)]enter, device: FF:A4:**:**:**:B5
   10-25 16:06:36.029   420   424 I C00101/Bluetooth: [bluetooth_host_stub.cpp(OnRemoteRequest:233)]BluetoothHostStub::OnRemoteRequest, cmd = 10, flags= 0
   10-25 16:06:36.029   420   511 I C00102/Bluetooth: [A2dpProfile]GetRole role(0)
   10-25 16:06:36.029   420   424 I C00101/Bluetooth: [bluetooth_host_server.cpp(GetBtState:834)]state: 1
   10-25 16:06:36.029   420   424 I C00101/Bluetooth: [bluetooth_host_server.cpp(IsBtEnabled:1634)]true
   10-25 16:06:36.029   420   511 I C00102/Bluetooth: [A2dpService] GetServiceInstance role(0)
   10-25 16:06:36.029   420   511 I C00102/Bluetooth: [A2dpProfilePeer] SDPServiceCallback role(0) serviceNum(1)
   10-25 16:06:36.029   420   511 I C00102/Bluetooth: [A2dpProfilePeer]ParseSDPInformation serviceNum(1)
   10-25 16:06:36.029   420   511 I C00102/Bluetooth: [A2dpProfile] GetProfileInstance role(0)
   10-25 16:06:36.029   420   511 I C00102/Bluetooth: [a2dp_profile.cpp(FindPeerByAddress:963)][A2dpProfile] addr(FF:A4:**:**:**:B5)
   10-25 16:06:36.029   420   511 I C00102/Bluetooth: [a2dp_profile.cpp(FindPeerByAddress:969)][A2dpProfile] matched peers_addr(FF:A4:**:**:**:B5)
   10-25 16:06:36.029   420   424 I C00101/Bluetooth: [bluetooth_a2dp_src_stub.cpp(OnRemoteRequest:81)]BluetoothA2dpSrcStub::OnRemoteRequest, cmd = 5, flags= 0
   10-25 16:06:36.029   420   511 I C00102/Bluetooth: [A2dpProfilePeer]SetSDPServiceCapability
   10-25 16:06:36.029   420   511 I C00102/Bluetooth: [A2dpProfilePeer]SetAvdtpVersion
   10-25 16:06:36.029   420   424 I C00101/Bluetooth: [bluetooth_a2dp_source_server.cpp(GetDeviceState:230)]addr: FF:A4:**:**:**:B5
   10-25 16:06:36.029   420   511 I C00102/Bluetooth: [A2dpProfilePeer]SetA2dpVersion
   10-25 16:06:36.029   420   518 I C00102/Bluetooth: [a2dp_service.cpp(ProcessEvent:1067)]peerAddr(FF:A4:**:**:**:B5)
   10-25 16:06:36.029   420   518 I C00102/Bluetooth: [A2dpService] ProcessSDPFindCallback
   10-25 16:06:36.029   420   424 I C00102/Bluetooth: [currentConnectState_] = 0
   10-25 16:06:36.029   420   518 I C00102/Bluetooth: [A2dpProfile]GetRole role(0)
   10-25 16:06:36.029  1643  1643 I C00101/Bluetooth: [bluetooth_a2dp_src.cpp(GetDeviceState:264)]state: 0
   10-25 16:06:36.029   420   518 I C00102/Bluetooth: [a2dp_profile.cpp(FindPeerByAddress:963)][A2dpProfile] addr(FF:A4:**:**:**:B5)
   10-25 16:06:36.029   420   518 I C00102/Bluetooth: [a2dp_profile.cpp(FindPeerByAddress:969)][A2dpProfile] matched peers_addr(FF:A4:**:**:**:B5)
   10-25 16:06:36.029  1643  1643 I C00100/bluetooth_napi: [napi_bluetooth_a2dp_src.cpp(GetDeviceState:241)]status: 1
   10-25 16:06:36.029   420   518 I C00102/Bluetooth: [A2dpProfilePeer]GetSDPServiceCapability isService(1)
   10-25 16:06:36.029   420   518 I C00102/Bluetooth: [A2dpProfilePeer]GetStateMachine
   10-25 16:06:36.029   420   518 I C00102/Bluetooth: [AVDT]AVDT_ConnectReq: addr(ff:a4:3e:fb:25:b5),pkrole(0)
   10-25 16:06:36.029  1643  1643 I C00100/bluetooth_napi: [napi_bluetooth_hfp_ag.cpp(GetDeviceState:152)]enter
   10-25 16:06:36.029  1643  1643 I C00101/Bluetooth: [bluetooth_hfp_ag.cpp(GetProfile:389)]enter
   10-25 16:06:36.029  1643  1643 I C00101/Bluetooth: [bluetooth_hfp_ag.cpp(GetDeviceState:466)]enter, device: FF:A4:**:**:**:B5
   10-25 16:06:36.029   420   511 I C00102/Bluetooth: GAPIF_RequestSecurityAsync:OUT-03-L2CAP-0x0019
   10-25 16:06:36.029   420   424 I C00101/Bluetooth: [bluetooth_host_stub.cpp(OnRemoteRequest:233)]BluetoothHostStub::OnRemoteRequest, cmd = 10, flags= 0
   10-25 16:06:36.029   420   518 I C00102/Bluetooth: [A2dpProfilePeer]SetCurrentCmd cmd(2)
   10-25 16:06:36.029   420   518 I C00102/Bluetooth: [A2dpProfilePeer]SetInitSide (1)
   10-25 16:06:36.029   420   511 I C00102/Bluetooth: GAP_RequestSecurity:OUT-03-L2CAP
   10-25 16:06:36.029   420   424 I C00101/Bluetooth: [bluetooth_host_server.cpp(GetBtState:834)]state: 1
   10-25 16:06:36.029   420   424 I C00101/Bluetooth: [bluetooth_host_server.cpp(IsBtEnabled:1634)]true
   10-25 16:06:36.030  1643  1643 I C00101/Bluetooth: [bluetooth_hfp_ag.cpp(GetDeviceState:137)]enter, device: FF:A4:**:**:**:B5
   10-25 16:06:36.030   420   424 I C00101/Bluetooth: [bluetooth_hfp_ag_stub.cpp(OnRemoteRequest:78)]BluetoothHfpAgStub::OnRemoteRequest, cmd = 2, flags= 0
   10-25 16:06:36.030   420   424 I C00102/Bluetooth: [HFP AG]GetDeviceState():==========<start>==========
   10-25 16:06:36.030   420   424 I C00101/Bluetooth: [bluetooth_hfp_ag_server.cpp(GetDeviceState:204)]state:0
   10-25 16:06:36.030  1643  1643 I C00100/bluetooth_napi: [napi_bluetooth_hfp_ag.cpp(GetDeviceState:167)]errorCode:BT_NO_ERROR(0)
   10-25 16:06:36.030  1643  1643 I C00100/bluetooth_napi: [napi_bluetooth_hid_host.cpp(GetDeviceState:197)]enter
   10-25 16:06:36.030   420   424 I C00101/Bluetooth: [bluetooth_host_stub.cpp(OnRemoteRequest:233)]BluetoothHostStub::OnRemoteRequest, cmd = 10, flags= 0
   10-25 16:06:36.030   420   424 I C00101/Bluetooth: [bluetooth_host_server.cpp(GetBtState:834)]state: 1
   10-25 16:06:36.030   420   424 I C00101/Bluetooth: [bluetooth_host_server.cpp(IsBtEnabled:1634)]true
   10-25 16:06:36.030  1643  1643 I C00101/Bluetooth: [bluetooth_hid_host.cpp(GetDeviceState:94)]enter, device: FF:A4:**:**:**:B5
   10-25 16:06:36.030   420   424 I C00101/Bluetooth: [bluetooth_hid_host_stub.cpp(OnRemoteRequest:62)]BluetoothHidHostStub::OnRemoteRequest, cmd = 3, flags= 0
   10-25 16:06:36.030   420   424 I C00101/Bluetooth: [bluetooth_hid_host_server.cpp(GetDeviceState:199)]start, addr:FF:A4:**:**:**:B5
   10-25 16:06:36.031   420   511 I C00102/Bluetooth: [SdpParseResponseCommon][634] continuation state length [0].
   10-25 16:06:36.031   420   511 I C00102/Bluetooth: [SdpParseAttributeValue][1800] attributeId [0x0001]
   10-25 16:06:36.031   420   511 I C00102/Bluetooth: [SdpParseAttributeValue][1800] attributeId [0x0004]
   10-25 16:06:36.031   420   511 I C00102/Bluetooth: [SdpParseAttributeValue][1800] attributeId [0x0009]
   10-25 16:06:36.031   420   511 I C00102/Bluetooth: [SdpParseAttributeValue][1800] attributeId [0x0311]
   10-25 16:06:36.031   420   424 I C00102/Bluetooth: [HIDH Service] GetDeviceState start
   10-25 16:06:36.031   420   424 I C00102/Bluetooth: [HID HOST]GetDeviceState:The state machine is not available!
   10-25 16:06:36.031   420   424 I C00101/Bluetooth: [bluetooth_hid_host_server.cpp(GetDeviceState:209)]end, result:3
   10-25 16:06:36.031   420   519 I C00102/Bluetooth: SDP_ServiceSearchAttribute enter
   10-25 16:06:36.031   420   511 I C00102/Bluetooth: [SdpServiceSearchAttribute][269] uuidNum = [1], type = [0]
   10-25 16:06:36.031   420   511 I C00102/Bluetooth: L2CAP_SendData:343 enter, lcid = 0x0080, pktLength = 27
   10-25 16:06:36.031  1643  1643 I C00100/bluetooth_napi: [napi_bluetooth_hid_host.cpp(GetDeviceState:212)]errorCode:BT_NO_ERROR(0)
   10-25 16:06:36.031  1643  1643 I C00100/bluetooth_napi: [napi_bluetooth_hid_host.cpp(GetDeviceState:219)]profileState: 0
   10-25 16:06:36.031  1643  1643 I A00500/[Settings]: Settings BluetoothDevice#setProfiles([{"profileId":1,"profileConnectionState":1},{"profileId":4,"profileConnectionState":1},{"profileId":6,"profileConnectionState":0}]) in
   10-25 16:06:36.032  1643  1643 I A00500/[Settings]: Settings BluetoothDevice#setProfiles([{"profileId":1,"profileConnectionState":1},{"profileId":4,"profileConnectionState":1},{"profileId":6,"profileConnectionState":0}]) out => undefined
   10-25 16:06:36.032  1643  1643 I A00500/[Settings]: Settings BluetoothDeviceController sortPairedDevices in.
   10-25 16:06:36.032  1643  1643 I A00500/[Settings]: Settings BluetoothDeviceController sortPairedDevices out.
   10-25 16:06:36.032  1643  1643 I A00500/[Settings]: Settings BluetoothDeviceController bluetooth paired devices. list length = 1
   10-25 16:06:36.032  1643  1643 I A00500/[Settings]: Settings BluetoothDeviceController bluetooth bonded : remove device.
   10-25 16:06:36.032  1643  1643 I A00500/[Settings]: Settings BluetoothDeviceController removeAvailableDevice : before : availableDevices length = 3
   10-25 16:06:36.034  1643  1643 I A00500/[Settings]: Settings BluetoothDeviceController removeAvailableDevice : after : availableDevices length = 3
   10-25 16:06:36.034  1643  1643 I A00500/[Settings]: bluetooth.connectDevice start
   10-25 16:06:36.034  1643  1643 I C00100/bluetooth_napi: [napi_bluetooth_a2dp_src.cpp(Connect:132)]start
   10-25 16:06:36.034  1643  1643 I C00101/Bluetooth: [bluetooth_a2dp_src.cpp(GetProfile:369)]enter
   10-25 16:06:36.034  1643  1643 I C00101/Bluetooth: [bluetooth_a2dp_src.cpp(Connect:315)]a2dp connect remote device: FF:A4:**:**:**:B5
   10-25 16:06:36.034   420   424 I C00101/Bluetooth: [bluetooth_host_stub.cpp(OnRemoteRequest:233)]BluetoothHostStub::OnRemoteRequest, cmd = 10, flags= 0
   10-25 16:06:36.035   420   424 I C00101/Bluetooth: [bluetooth_host_server.cpp(GetBtState:834)]state: 1
   10-25 16:06:36.035   420   424 I C00101/Bluetooth: [bluetooth_host_server.cpp(IsBtEnabled:1634)]true
   10-25 16:06:36.035  1643  1643 I C00101/Bluetooth: [bluetooth_remote_device.cpp(GetDeviceClass:343)]enter
   10-25 16:06:36.035   420   424 I C00101/Bluetooth: [bluetooth_host_stub.cpp(OnRemoteRequest:233)]BluetoothHostStub::OnRemoteRequest, cmd = 10, flags= 0
   10-25 16:06:36.035   420   424 I C00101/Bluetooth: [bluetooth_host_server.cpp(GetBtState:834)]state: 1
   10-25 16:06:36.035   420   424 I C00101/Bluetooth: [bluetooth_host_server.cpp(IsBtEnabled:1634)]true
   10-25 16:06:36.036   420   424 I C00101/Bluetooth: [bluetooth_host_stub.cpp(OnRemoteRequest:233)]BluetoothHostStub::OnRemoteRequest, cmd = 51, flags= 0
   10-25 16:06:36.036   420   424 I C00101/Bluetooth: [bluetooth_host_server.cpp(GetDeviceClass:1457)]address: FF:A4:**:**:**:B5
   10-25 16:06:36.036   420   424 I C00101/Bluetooth: [bluetooth_host_server.cpp(GetBtState:834)]state: 1
   10-25 16:06:36.036   420   424 I C00101/Bluetooth: [bluetooth_host_server.cpp(IsBtEnabled:1634)]true
   10-25 16:06:36.036   420   424 I C00102/Bluetooth: [classic_adapter.cpp(GetDeviceClass:2275)]enter
   10-25 16:06:36.036  1643  1643 I C00101/Bluetooth: [bluetooth_device_class.cpp(IsA2dpSupported:76)]service supported.
   10-25 16:06:36.036   420   424 I C00101/Bluetooth: [bluetooth_a2dp_src_stub.cpp(OnRemoteRequest:81)]BluetoothA2dpSrcStub::OnRemoteRequest, cmd = 0, flags= 0
   10-25 16:06:36.036   420   424 I C00101/Bluetooth: [bluetooth_a2dp_source_server.cpp(Connect:207)]addr: FF:A4:**:**:**:B5
   10-25 16:06:36.036   420   424 I C00101/Bluetooth: [bluetooth_hitrace.cpp(BluetoothStartAsyncTrace:38)]value:A2DP_SRC_CONNECT, taskId:1
   10-25 16:06:36.037   420   424 I C00102/Bluetooth: [a2dp_service.cpp(Connect:309)][address:FF:A4:**:**:**:B5] role[0]
   10-25 16:06:36.037   420   424 I C00102/Bluetooth: [A2dpConnectManager] JudgeConnectExit
   10-25 16:06:36.037   420   424 I C00102/Bluetooth: [A2dpService] GetServiceInstance role(0)
   10-25 16:06:36.037   420   424 I C00102/Bluetooth: [A2dpService] GetDeviceList
   10-25 16:06:36.037   420   424 I C00102/Bluetooth: [currentConnectState_] = 0
   10-25 16:06:36.037   420   424 I C00102/Bluetooth: [currentConnectState_] = 0
   10-25 16:06:36.037   420   424 E C00102/Bluetooth: [A2dpService]Device have been connected as source role
   10-25 16:06:36.037   420   424 I C00102/Bluetooth: [A2dpService]The device is connected as another role
   10-25 16:06:36.037   420   424 I C00101/Bluetooth: [bluetooth_hitrace.cpp(BluetoothFinishAsyncTrace:44)]value:A2DP_SRC_CONNECT, taskId:1
   10-25 16:06:36.037  1643  1643 E C00100/bluetooth_napi: [napi_bluetooth_a2dp_src.cpp(Connect:141)]bluetoothManager napi assert failed.
   10-25 16:06:36.037  1643  1643 I A00500/[Settings]: Settings BluetoothModel  connect failed. BusinessError is  {"code":"-3"}
   10-25 16:06:36.037  1643  1643 I C00100/bluetooth_napi: [napi_bluetooth_hfp_ag.cpp(Connect:341)]enter
   10-25 16:06:36.037  1643  1643 I C00101/Bluetooth: [bluetooth_hfp_ag.cpp(GetProfile:389)]enter
   10-25 16:06:36.037  1643  1643 I C00101/Bluetooth: [bluetooth_hfp_ag.cpp(Connect:482)]enter, device: FF:A4:**:**:**:B5
   10-25 16:06:36.037   420   424 I C00101/Bluetooth: [bluetooth_host_stub.cpp(OnRemoteRequest:233)]BluetoothHostStub::OnRemoteRequest, cmd = 10, flags= 0
   10-25 16:06:36.038   420   424 I C00101/Bluetooth: [bluetooth_host_server.cpp(GetBtState:834)]state: 1
   10-25 16:06:36.038   420   424 I C00101/Bluetooth: [bluetooth_host_server.cpp(IsBtEnabled:1634)]true
   10-25 16:06:36.038  1643  1643 I C00101/Bluetooth: [bluetooth_hfp_ag.cpp(Connect:148)]hfp connect remote device: FF:A4:**:**:**:B5
   10-25 16:06:36.038  1643  1643 I C00101/Bluetooth: [bluetooth_remote_device.cpp(GetDeviceClass:343)]enter
   10-25 16:06:36.038   420   424 I C00101/Bluetooth: [bluetooth_host_stub.cpp(OnRemoteRequest:233)]BluetoothHostStub::OnRemoteRequest, cmd = 10, flags= 0
   10-25 16:06:36.038   420   424 I C00101/Bluetooth: [bluetooth_host_server.cpp(GetBtState:834)]state: 1
   10-25 16:06:36.038   420   424 I C00101/Bluetooth: [bluetooth_host_server.cpp(IsBtEnabled:1634)]true
   10-25 16:06:36.039   420   424 I C00101/Bluetooth: [bluetooth_host_stub.cpp(OnRemoteRequest:233)]BluetoothHostStub::OnRemoteRequest, cmd = 51, flags= 0
   10-25 16:06:36.039   420   511 I C00102/Bluetooth: [SdpParseResponseCommon][634] continuation state length [0].
   10-25 16:06:36.039   420   424 I C00101/Bluetooth: [bluetooth_host_server.cpp(GetDeviceClass:1457)]address: FF:A4:**:**:**:B5
   10-25 16:06:36.039   420   519 I C00102/Bluetooth: [hfp_ag_service.cpp(ProcessEvent:260)]addr: FF:A4:**:**:**:B5, event_no: 98
   10-25 16:06:36.039   420   519 I C00102/Bluetooth: [HFP AG]Dispatch():[Connecting][HFP_AG_SDP_DISCOVERY_RESULT_SUCCESS]
   10-25 16:06:36.039   420   519 I C00102/Bluetooth: [HFP AG]FindProtocolRfcomm():Found rfcomm scn is [4]
   10-25 16:06:36.039   420   519 I C00102/Bluetooth: [HFP AG]FindProfileFeatures():Found profile features are [31]
   10-25 16:06:36.039   420   519 I C00102/Bluetooth: GAPIF_RegisterServiceSecurity:OUT-12-RFCOMM-0x0004 mode:0036
   10-25 16:06:36.039   420   511 I C00102/Bluetooth: GAP_RegisterServiceSecurity:FF:A4:**:**:**:B5
   10-25 16:06:36.039   420   424 I C00101/Bluetooth: [bluetooth_host_server.cpp(GetBtState:834)]state: 1
   10-25 16:06:36.039   420   424 I C00101/Bluetooth: [bluetooth_host_server.cpp(IsBtEnabled:1634)]true
   10-25 16:06:36.039   420   424 I C00102/Bluetooth: [classic_adapter.cpp(GetDeviceClass:2275)]enter
   10-25 16:06:36.039   420   519 I C00102/Bluetooth: RFCOMM_ConnectChannel
   10-25 16:06:36.039   420   511 I C00102/Bluetooth: RfcommConnectChannelTsk
   10-25 16:06:36.039   420   511 I C00102/Bluetooth: RfcommConnectChannel
   10-25 16:06:36.039   420   511 I C00102/Bluetooth: RfcommGetSessionByAddr
   10-25 16:06:36.039   420   511 I C00102/Bluetooth: RfcommCreateSession
   10-25 16:06:36.039   420   511 I C00102/Bluetooth: RfcommGetChannelByDlci dlci:8
   10-25 16:06:36.039   420   511 I C00102/Bluetooth: RfcommCreateChannel
   10-25 16:06:36.039   420   511 I C00102/Bluetooth: RfcommInitChannelInfo
   10-25 16:06:36.039   420   511 I C00102/Bluetooth: RfcommAssignHandle
   10-25 16:06:36.039  1643  1643 I C00101/Bluetooth: [bluetooth_device_class.cpp(IsHeadSetSupported:109)]service supported.
   10-25 16:06:36.039   420   424 I C00101/Bluetooth: [bluetooth_hfp_ag_stub.cpp(OnRemoteRequest:78)]BluetoothHfpAgStub::OnRemoteRequest, cmd = 3, flags= 0
   10-25 16:06:36.039   420   511 I C00102/Bluetooth: RfcommReadLock
   10-25 16:06:36.040   420   424 I C00101/Bluetooth: [bluetooth_hfp_ag_server.cpp(Connect:213)]target device:FF:A4:**:**:**:B5()
   10-25 16:06:36.040   420   511 I C00102/Bluetooth: RfcommReadUnlock
   10-25 16:06:36.040   420   511 I C00102/Bluetooth: RfcommChannelEvtFsm event:0
   10-25 16:06:36.040   420   511 I C00102/Bluetooth: RfcommOpenChannel channel state is:0.
   10-25 16:06:36.040   420   511 I C00102/Bluetooth: RfcommSessionEvtFsm
   10-25 16:06:36.040   420   511 I C00102/Bluetooth: RfcommOpenSession session state is:0.
   10-25 16:06:36.040   420   511 I C00102/Bluetooth: RfcommCheckSessionSecurity isServer:0
   10-25 16:06:36.040   420   511 I C00102/Bluetooth: GAPIF_RequestSecurityAsync:OUT-00-RFCOMM-0x0004
   10-25 16:06:36.040   420   424 I C00101/Bluetooth: [bluetooth_hitrace.cpp(BluetoothStartAsyncTrace:38)]value:HFP_AG_CONNECT, taskId:1
   10-25 16:06:36.040   420   424 I C00102/Bluetooth: [HFP AG]Connect():==========<start>==========
   10-25 16:06:36.040   420   511 I C00102/Bluetooth: GAP_RequestSecurity:OUT-00-RFCOMM
   10-25 16:06:36.040   420   424 I C00102/Bluetooth: [HFP AG]Connect():state:1
   10-25 16:06:36.040   420   424 I C00101/Bluetooth: [bluetooth_hitrace.cpp(BluetoothFinishAsyncTrace:44)]value:HFP_AG_CONNECT, taskId:1
   10-25 16:06:36.040  1643  1643 I C00100/bluetooth_napi: [napi_bluetooth_hfp_ag.cpp(Connect:349)]errorCode:BT_ERR_INTERNAL_ERROR(2900099)
   10-25 16:06:36.040  1643  1643 E C00100/bluetooth_napi: [napi_bluetooth_hfp_ag.cpp(Connect:350)]bluetoothManager napi assert failed.
   10-25 16:06:36.040  1643  1643 I A00500/[Settings]: Settings BluetoothModel  connect failed. BusinessError is  {"code":"2900099"}
   10-25 16:06:36.040  1643  1643 I C00100/bluetooth_napi: [napi_bluetooth_hid_host.cpp(Connect:225)]enter
   10-25 16:06:36.040   420   424 I C00101/Bluetooth: [bluetooth_host_stub.cpp(OnRemoteRequest:233)]BluetoothHostStub::OnRemoteRequest, cmd = 10, flags= 0
   10-25 16:06:36.041   420   424 I C00101/Bluetooth: [bluetooth_host_server.cpp(GetBtState:834)]state: 1
   10-25 16:06:36.041   420   424 I C00101/Bluetooth: [bluetooth_host_server.cpp(IsBtEnabled:1634)]true
   10-25 16:06:36.041  1643  1643 I C00101/Bluetooth: [bluetooth_remote_device.cpp(GetDeviceClass:343)]enter
   10-25 16:06:36.041   420   424 I C00101/Bluetooth: [bluetooth_host_stub.cpp(OnRemoteRequest:233)]BluetoothHostStub::OnRemoteRequest, cmd = 10, flags= 0
   10-25 16:06:36.041   420   424 I C00101/Bluetooth: [bluetooth_host_server.cpp(GetBtState:834)]state: 1
   10-25 16:06:36.041   420   424 I C00101/Bluetooth: [bluetooth_host_server.cpp(IsBtEnabled:1634)]true
   10-25 16:06:36.042   420   424 I C00101/Bluetooth: [bluetooth_host_stub.cpp(OnRemoteRequest:233)]BluetoothHostStub::OnRemoteRequest, cmd = 51, flags= 0
   10-25 16:06:36.042   420   424 I C00101/Bluetooth: [bluetooth_host_server.cpp(GetDeviceClass:1457)]address: FF:A4:**:**:**:B5
   10-25 16:06:36.043   420   424 I C00101/Bluetooth: [bluetooth_host_server.cpp(GetBtState:834)]state: 1
   10-25 16:06:36.043   420   424 I C00101/Bluetooth: [bluetooth_host_server.cpp(IsBtEnabled:1634)]true
   10-25 16:06:36.043   420   424 I C00102/Bluetooth: [classic_adapter.cpp(GetDeviceClass:2275)]enter
   10-25 16:06:36.043  1643  1643 I C00101/Bluetooth: [bluetooth_device_class.cpp(GetMajorMinorClass:39)]MajorMinorClass: 0x404
   10-25 16:06:36.043  1643  1643 E C00101/Bluetooth: [bluetooth_hid_host.cpp(Connect:118)]hid connect failed. The remote device does not support HID service.
   10-25 16:06:36.043  1643  1643 I C00100/bluetooth_napi: [napi_bluetooth_hid_host.cpp(Connect:233)]errorCode:BT_ERR_PROFILE_DISABLED(2900004)
   10-25 16:06:36.043  1643  1643 E C00100/bluetooth_napi: [napi_bluetooth_hid_host.cpp(Connect:234)]bluetoothManager napi assert failed.
   10-25 16:06:36.043  1643  1643 I A00500/[Settings]: Settings BluetoothModel  connect failed. BusinessError is  {"code":"2900004"}
   10-25 16:06:36.043  1643  1643 I A00500/[Settings]: bluetooth.connectDevice end, return:[object Object],[object Object],[object Object]
   10-25 16:06:36.043  1643  1643 I C00100/bluetooth_napi: [napi_bluetooth_event.cpp(operator():52)]napi_call_function called
   10-25 16:06:36.043  1643  1643 I A00500/[Settings]: Settings BluetoothModel  subscribeDeviceStateChange->connectionStateChange,
   10-25 16:06:36.044  1643  1643 I A00500/[Settings]: Settings BluetoothDeviceController device connection state changed. profileId:1 profileConnectionState: 1
   10-25 16:06:36.044  1643  1643 I A00500/[Settings]: Settings BluetoothDeviceController sortPairedDevices in.
   10-25 16:06:36.044  1643  1643 I A00500/[Settings]: Settings BluetoothDeviceController sortPairedDevices out.
   10-25 16:06:36.044  1643  1643 I A00500/[Settings]: Settings BluetoothDeviceController device connection state changed. pairedDevices length = 1
   10-25 16:06:36.044  1643  1643 I A00500/[Settings]: Settings BluetoothDeviceController device connection state changed. availableDevices length = 3
   10-25 16:06:36.044  1643  1643 I A00500/[Settings]: Settings BluetoothDeviceController removeAvailableDevice : before : availableDevices length = 3
   10-25 16:06:36.045  1643  1643 I A00500/[Settings]: Settings BluetoothDeviceController removeAvailableDevice : after : availableDevices length = 3
   10-25 16:06:36.045  1643  1643 I C00100/bluetooth_napi: [napi_bluetooth_event.cpp(operator():52)]napi_call_function called
   10-25 16:06:36.045  1643  1643 I A00500/[Settings]: Settings BluetoothModel  subscribeDeviceStateChange->connectionStateChange,
   10-25 16:06:36.046  1643  1643 I A00500/[Settings]: Settings BluetoothDeviceController device connection state changed. profileId:4  : 1
   10-25 16:06:36.046  1643  1643 I A00500/[Settings]: Settings BluetoothDeviceController sortPairedDevices in.
   10-25 16:06:36.046  1643  1643 I A00500/[Settings]: Settings BluetoothDeviceController sortPairedDevices out.
   10-25 16:06:36.046  1643  1643 I A00500/[Settings]: Settings BluetoothDeviceController device connection state changed. pairedDevices length = 1
   10-25 16:06:36.046  1643  1643 I A00500/[Settings]: Settings BluetoothDeviceController device connection state changed. availableDevices length = 3
   10-25 16:06:36.046  1643  1643 I A00500/[Settings]: Settings BluetoothDeviceController removeAvailableDevice : before : availableDevices length = 3
   10-25 16:06:36.047  1643  1643 I A00500/[Settings]: Settings BluetoothDeviceController removeAvailableDevice : after : availableDevices length = 3
   10-25 16:06:39.979   420   510 I C00102/Bluetooth: GapDiscACLTimerTimeout:
   10-25 16:06:40.039   420   511 I C00102/Bluetooth: L2CAP_DisconnectionReq:242 enter, lcid = 0x0080
   10-25 16:06:40.116   420   511 I C00102/Bluetooth: GapRecvAclDisconnectionComplete: status:0x00 handle:0x0001 reason:0x16
   10-25 16:06:40.116   420   511 I C00102/Bluetooth: [classic_adapter.cpp(DisconnectionComplete:2108)]status: 0
   10-25 16:06:40.116   420   511 I C00102/Bluetooth: [hfp_ag_audio_connection.cpp(OnDisconnectCompleted:472)]enter
   10-25 16:06:40.116   420   513 I C00102/Bluetooth: [classic_adapter.cpp(ReceiveDisconnectionComplete:2068)]status: 0
   10-25 16:06:40.116   420   511 E C00102/Bluetooth: L2capLeDisconnectComplete but connection not found
   10-25 16:06:40.116   420   513 I C00102/Bluetooth: [classic_adapter.cpp(ReceiveDisconnectionComplete:2082)]pinMode = 0
   10-25 16:06:40.116   420   511 I C00102/Bluetooth: GapDoSecurityCallback:OUT-03-L2CAP result:16:
   10-25 16:06:40.116   420   511 I C00102/Bluetooth: [AVDT]AvdtSecurityCheckCallback:result(22), l2capPsm(0x19)
   10-25 16:06:40.116   420   506 I C00102/Bluetooth: [power_manager.cpp(DisconnectionCompleteCallBackProcess:279)]delete powerDevices, addr: FF:A4:**:**:**:B5
   10-25 16:06:40.116   420   511 I C00102/Bluetooth: GapDoSecurityCallback:OUT-12-RFCOMM result:16:
   10-25 16:06:40.116   420   511 I C00102/Bluetooth: RfcommRecvSessionSecurityResultCallback result:22
   10-25 16:06:40.116   420   519 I C00102/Bluetooth: [hfp_ag_audio_connection.cpp(ProcessOnDisconnectCompleted:487)]enter
   10-25 16:06:40.116   420   519 I C00102/Bluetooth: [hfp_ag_audio_connection.cpp(ProcessOnDisconnectCompleted:501)]Invalid audio device
   10-25 16:06:40.116   420   511 I C00102/Bluetooth: [A2dpAvdtp]ProcAvdtpEvent role[0], event[18] handle[1]
   10-25 16:06:40.116   420   511 I C00102/Bluetooth: [A2dpService] GetServiceInstance role(0)
   10-25 16:06:40.116   420   511 I C00102/Bluetooth: RfcommRecvSessionSecurityResultTsk
   10-25 16:06:40.116   420   511 I C00102/Bluetooth: RfcommRecvSessionSecurityResult result:22, direction:0.
   10-25 16:06:40.116   420   511 I C00102/Bluetooth: RfcommIsSessionValid
   10-25 16:06:40.116   420   511 I C00102/Bluetooth: RfcommSessionEvtFsm
   10-25 16:06:40.116   420   511 I C00102/Bluetooth: RfcommRecvSessionSecurityRslt session state is:1.
   10-25 16:06:40.116   420   511 I C00102/Bluetooth: RfcommNotifyAllChannelEvtOnSession
   10-25 16:06:40.116   420   511 I C00102/Bluetooth: RfcommNotifyEvtToUpper event is 4
   10-25 16:06:40.116   420   511 I C00102/Bluetooth: [HFP AG]static void OHOS::bluetooth::HfpAgDataConnection:ataConnectionCallback(uint16_t, uint32_t, const void *, void *)():
   10-25 16:06:40.117   420   511 I C00102/Bluetooth: RfcommRemoveAllChannelOnSession
   10-25 16:06:40.117   420   511 I C00102/Bluetooth: RfcommRemoveChannel
   10-25 16:06:40.117   420   519 I C00102/Bluetooth: [hfp_ag_data_connection.cpp(ProcessDataConnectionCallback:44)]Event from rfcomm device: FF:A4:**:**:**:B5, handle: 1, eventId: 4
   10-25 16:06:40.117   420   511 I C00102/Bluetooth: RfcommReadLock
   10-25 16:06:40.117   420   511 I C00102/Bluetooth: RfcommReleaseCachePkt
   10-25 16:06:40.117   420   519 I C00102/Bluetooth: [hfp_ag_service.cpp(ProcessEvent:260)]addr: FF:A4:**:**:**:B5, event_no: 112
   10-25 16:06:40.117   420   519 I C00102/Bluetooth: [HFP AG]Dispatch():[Connecting][HFP_AG_CONNECT_FAILED_EVT]
   10-25 16:06:40.117   420   511 I C00102/Bluetooth: RfcommReadUnlock
   10-25 16:06:40.117   420   511 I C00102/Bluetooth: RfcommRemoveSession
   10-25 16:06:40.117   420   519 I C00102/Bluetooth: [HFP AG]StopConnectionTimer():Stop connection timer!
   10-25 16:06:40.117   420   519 I C00102/Bluetooth: [hfp_ag_service.cpp(NotifySlcStateChanged:781)][HFP AG] device:FF:A4:**:**:**:B5, toState:0
   10-25 16:06:40.117   420   518 I C00102/Bluetooth: [a2dp_service.cpp(ProcessEvent:1067)]peerAddr(FF:A4:**:**:**:B5)
   10-25 16:06:40.117   420   519 I C00101/Bluetooth: [bluetooth_hfp_ag_server.cpp(OnConnectionStateChanged:43)]device:FF:A4:**:**:**:B5, state:3
   10-25 16:06:40.117   420   518 I C00102/Bluetooth: [A2dpService] ProcessAvdtpCallback
   10-25 16:06:40.117   420   518 I C00102/Bluetooth: [A2dpProfile] GetProfileInstance role(0)
   10-25 16:06:40.117   420   518 I C00102/Bluetooth: [A2dpProfile]GetRole role(0)
   10-25 16:06:40.117   420   518 I C00102/Bluetooth: [a2dp_profile.cpp(FindPeerByAddress:963)][A2dpProfile] addr(FF:A4:**:**:**:B5)
   10-25 16:06:40.117   420   518 I C00102/Bluetooth: [a2dp_profile.cpp(FindPeerByAddress:969)][A2dpProfile] matched peers_addr(FF:A4:**:**:**:B5)
   10-25 16:06:40.117   420   518 I C00102/Bluetooth: [A2dpAvdtp] ParseAvdtpCallbackContent event(18) role(0)
   10-25 16:06:40.117   420   518 I C00102/Bluetooth: [A2dpAvdtp] ParseAvdtpConnectCFM errcode(5)
   10-25 16:06:40.117   420   518 I C00102/Bluetooth: [A2dpProfile] GetProfileInstance role(0)
   10-25 16:06:40.117   420   518 I C00102/Bluetooth: [a2dp_profile.cpp(FindPeerByAddress:963)][A2dpProfile] addr(FF:A4:**:**:**:B5)
   10-25 16:06:40.117   420   518 I C00102/Bluetooth: [a2dp_profile.cpp(FindPeerByAddress:969)][A2dpProfile] matched peers_addr(FF:A4:**:**:**:B5)
   10-25 16:06:40.117   420   518 E C00102/Bluetooth: [A2dpAvdtp] ParseAvdtpConnectCFM Peer reject the connect req!!
   ```

### 【运行环境】

硬件:RK3588 , rel 8852be
ROM版本:4.0 release
DevEvoStudio版本:
SDK版本:
[/md]




欢迎光临 OpenHarmony开发者论坛 (https://forums.openharmony.cn/) Powered by Discuz! X3.5