AnsweredAssumed Answered

QCA6174 bluetooth Validation with i.MX8QM MEK Android Pie Automotive

Question asked by Redwan Mohamed on Dec 4, 2019
Latest reply on Feb 10, 2020 by Redwan Mohamed

Hi NXP Team,

We are trying to validate the QCA6174 PCI module with i.MX8QM MEK platform and we are able to successfully test WiFI. But when we try to validate Bluetooth we are facing below issues. We have even tested with Prebuilt binaries android_p9.0.0_2.1.1-auto but no luck. We also tried to enable basic kernel configurations and verify without any luck 

 

 

mek_8q:/ # logcat | grep Blu
11-28 21:25:04.863 1827 3192 D BluetoothManagerService: enable(com.android.car.settings): mBluetooth =null mBinding = false mState = OFF
11-28 21:25:04.864 1827 1855 D BluetoothManagerService: MESSAGE_ENABLE(0): mBluetooth = null
11-28 21:25:04.865 1827 3192 D BluetoothManagerService: enable returning
11-28 21:25:07.866 1827 1855 E BluetoothManagerService: MESSAGE_TIMEOUT_BIND
11-28 21:26:04.728 1827 3312 D BluetoothManagerService: disable(): mBluetooth = null mBinding = false
11-28 21:26:04.728 1827 3312 D BluetoothManagerService: Persisting Bluetooth Setting: 0
11-28 21:26:04.729 1827 1855 D BluetoothManagerService: MESSAGE_DISABLE: mBluetooth = null
11-28 21:26:08.964 1827 3312 D BluetoothManagerService: enable(com.android.car.settings): mBluetooth =null mBinding = false mState = OFF
11-28 21:26:08.965 1827 3312 D BluetoothManagerService: enable returning
11-28 21:26:08.965 1827 1855 D BluetoothManagerService: MESSAGE_ENABLE(0): mBluetooth = null
11-28 21:26:11.968 1827 1855 E BluetoothManagerService: MESSAGE_TIMEOUT_BIND
11-28 21:26:56.037 3660 3660 D BluetoothOppFileProvider: Initialized
11-28 21:26:56.056 3660 3660 D BluetoothAdapterService: onCreate()
11-28 21:26:56.066 3660 3682 E bt_btif_storage: btif_storage_get_adapter_property: Controller not ready! Unable to return Bluetooth Address
11-28 21:26:56.066 3660 3682 E BluetoothServiceJni: adapter_properties_callback: Status 1 is incorrect
11-28 21:26:56.068 1827 1827 D BluetoothManagerService: Bluetooth Adapter name changed to iMX8
11-28 21:26:56.068 1827 1827 D BluetoothManagerService: Stored Bluetooth name: iMX8
11-28 21:26:56.068 3660 3660 I BluetoothAdapterService: Phone policy disabled
11-28 21:26:56.069 3660 3660 D BluetoothActiveDeviceManager: start()
11-28 21:27:19.087 3689 3689 I android.hardware.bluetooth@1.0-service: Registration complete for android.hardware.bluetooth@1.0::IBluetoothHci/default.
11-28 21:27:20.082 3660 3683 D BluetoothActiveDeviceManager: onAudioDevicesAdded
11-28 21:27:20.082 3660 3660 D BluetoothAdapterService: setAdapterService() - trying to set service to com.android.bluetooth.btservice.AdapterService@69a4ce4
11-28 21:27:20.082 3660 3683 D BluetoothActiveDeviceManager: Audio device added: MEK-MX8Q type: 21
11-28 21:27:20.082 3660 3683 D BluetoothActiveDeviceManager: Audio device added: MEK-MX8Q type: 21
11-28 21:27:20.082 3660 3683 D BluetoothActiveDeviceManager: Audio device added: MEK-MX8Q type: 15
11-28 21:27:20.086 3660 3660 D BluetoothAdapterService: onBind()
11-28 21:27:20.087 1827 1827 D BluetoothManagerService: BluetoothServiceConnection: com.android.bluetooth.btservice.AdapterService
11-28 21:27:20.087 1827 1855 D BluetoothManagerService: MESSAGE_BLUETOOTH_SERVICE_CONNECTED: 1
11-28 21:27:20.087 1827 1855 D BluetoothManagerService: Broadcasting onBluetoothServiceUp() to 6 receivers.
11-28 21:27:20.088 1827 1855 D BluetoothAdapter: onBluetoothServiceUp: android.bluetooth.IBluetooth$Stub$Proxy@4d8918c
11-28 21:27:20.088 2068 2311 D BluetoothAdapter: onBluetoothServiceUp: android.bluetooth.IBluetooth$Stub$Proxy@c03c388
11-28 21:27:20.088 3528 3542 D BluetoothAdapter: onBluetoothServiceUp: android.bluetooth.IBluetooth$Stub$Proxy@7caf77c
11-28 21:27:20.088 2005 2468 D BluetoothAdapter: onBluetoothServiceUp: android.bluetooth.IBluetooth$Stub$Proxy@6d29577
11-28 21:27:20.088 3660 3674 D BluetoothAdapter: onBluetoothServiceUp: com.android.bluetooth.btservice.AdapterService$AdapterServiceBinder@ffa3bbd
11-28 21:27:20.088 1987 2004 D BluetoothAdapter: onBluetoothServiceUp: android.bluetooth.IBluetooth$Stub$Proxy@c4fac81
11-28 21:27:20.089 3660 3672 D BluetoothAdapterService: enable() - Enable called with quiet mode status = false
11-28 21:27:20.089 1827 1855 D BluetoothManagerService: MESSAGE_GET_NAME_AND_ADDRESS
11-28 21:27:20.089 3660 3676 D BluetoothAdapterService: updateAdapterState() - Broadcasting state BLE_TURNING_ON to 1 receivers.
11-28 21:27:20.090 3660 3676 D BluetoothAdapterService: bleOnProcessStart()
11-28 21:27:20.090 1827 1855 D BluetoothManagerService: Stored Bluetooth name: iMX8
11-28 21:27:20.090 1827 1855 D BluetoothManagerService: MESSAGE_BLUETOOTH_STATE_CHANGE: OFF > BLE_TURNING_ON
11-28 21:27:20.090 1827 1855 D BluetoothManagerService: Sending BLE State Change: OFF > BLE_TURNING_ON
11-28 21:27:20.091 3660 3676 D BluetoothAdapterService: bleOnProcessStart() - Make Bond State Machine
11-28 21:27:20.091 3660 3676 D BluetoothBondStateMachine: make
11-28 21:27:20.093 3660 3710 I BluetoothBondStateMachine: StableState(): Entering Off State
11-28 21:27:20.098 3660 3660 D BluetoothAdapterService: getAdapterService() - returning com.android.bluetooth.btservice.AdapterService@69a4ce4
11-28 21:27:20.100 3660 3660 D BluetoothAdapterService: getAdapterService() - returning com.android.bluetooth.btservice.AdapterService@69a4ce4
11-28 21:27:20.146 3660 3660 D BluetoothAdapterService: getAdapterService() - returning com.android.bluetooth.btservice.AdapterService@69a4ce4
11-28 21:27:20.147 3660 3660 D BluetoothAdapterService: handleMessage() - Message: 2
11-28 21:27:20.147 3660 3660 D BluetoothAdapterService: handleMessage() - MESSAGE_PROFILE_SERVICE_REGISTERED
11-28 21:27:20.147 3660 3660 D BluetoothAdapterService: handleMessage() - Message: 1
11-28 21:27:20.147 3660 3660 D BluetoothAdapterService: handleMessage() - MESSAGE_PROFILE_SERVICE_STATE_CHANGED
11-28 21:27:20.152 3660 3714 I bt_hci : hci_initialize: IBluetoothHci::getService() returned 0xfeaae5085a40 (remote)
11-28 21:27:20.152 3689 3689 I android.hardware.bluetooth@1.0-impl: BluetoothHci::initialize()
11-28 21:27:24.095 3660 3676 D BluetoothAdapterService: updateAdapterState() - Broadcasting state BLE_TURNING_OFF to 1 receivers.
11-28 21:27:24.095 1827 1855 D BluetoothManagerService: MESSAGE_BLUETOOTH_STATE_CHANGE: BLE_TURNING_ON > BLE_TURNING_OFF
11-28 21:27:24.095 1827 1855 D BluetoothManagerService: Sending BLE State Change: BLE_TURNING_ON > BLE_TURNING_OFF
11-28 21:27:24.101 3660 3660 D BluetoothAdapterService: handleMessage() - Message: 1
11-28 21:27:24.101 3660 3660 D BluetoothAdapterService: handleMessage() - MESSAGE_PROFILE_SERVICE_STATE_CHANGED
11-28 21:27:24.101 3660 3660 D BluetoothAdapterService: handleMessage() - Message: 3
11-28 21:27:24.101 3660 3660 D BluetoothAdapterService: handleMessage() - MESSAGE_PROFILE_SERVICE_UNREGISTERED
11-28 21:27:24.102 3660 3676 D BluetoothAdapterService: updateAdapterState() - Broadcasting state OFF to 1 receivers.
11-28 21:27:24.102 1827 1855 D BluetoothManagerService: MESSAGE_BLUETOOTH_STATE_CHANGE: BLE_TURNING_OFF > OFF
11-28 21:27:24.102 1827 1855 D BluetoothManagerService: Bluetooth is complete send Service Down
11-28 21:27:24.102 1827 1855 D BluetoothManagerService: Broadcasting onBluetoothServiceDown() to 6 receivers.
11-28 21:27:24.102 1827 1855 D BluetoothAdapter: onBluetoothServiceDown: android.bluetooth.IBluetooth$Stub$Proxy@4d8918c
11-28 21:27:24.103 2068 2311 D BluetoothAdapter: onBluetoothServiceDown: android.bluetooth.IBluetooth$Stub$Proxy@c03c388
11-28 21:27:24.103 3528 3542 D BluetoothAdapter: onBluetoothServiceDown: android.bluetooth.IBluetooth$Stub$Proxy@7caf77c
11-28 21:27:24.103 1827 1855 D BluetoothManagerService: unbindAndFinish(): android.bluetooth.IBluetooth$Stub$Proxy@4d8918c mBinding = false mUnbinding = false
11-28 21:27:24.103 2005 2468 D BluetoothAdapter: onBluetoothServiceDown: android.bluetooth.IBluetooth$Stub$Proxy@6d29577
11-28 21:27:24.103 1987 2004 D BluetoothAdapter: onBluetoothServiceDown: android.bluetooth.IBluetooth$Stub$Proxy@c4fac81
11-28 21:27:24.103 3660 3672 D BluetoothAdapter: onBluetoothServiceDown: com.android.bluetooth.btservice.AdapterService$AdapterServiceBinder@ffa3bbd
11-28 21:27:24.104 3660 3660 D BluetoothAdapterService: onUnbind() - calling cleanup
11-28 21:27:24.104 3660 3660 D BluetoothAdapterService: cleanup()
11-28 21:27:24.105 1827 1855 D BluetoothManagerService: Sending BLE State Change: BLE_TURNING_OFF > OFF
11-28 21:27:24.107 3660 3660 W BluetoothSdpJni: Cleaning up Bluetooth SDP Interface...
11-28 21:27:24.107 3660 3660 W BluetoothSdpJni: Cleaning up Bluetooth SDP object
11-28 21:27:24.107 3660 3660 D BluetoothAdapterService: cleanup() - Cleaning up adapter native
11-28 21:27:24.107 1827 1855 D BluetoothManagerService: Entering STATE_OFF but mEnabled is true; restarting.
11-28 21:27:24.107 1827 1855 E BluetoothManagerService: waitForOnOff time out
11-28 21:27:24.508 1827 1855 D BluetoothManagerService: MESSAGE_RESTART_BLUETOOTH_SERVICE
11-28 21:27:24.508 1827 1855 D BluetoothManagerService: Bluetooth is dead,no more retry to restart.
11-28 21:27:24.508 1827 1855 E BluetoothManagerService: MESSAGE_TIMEOUT_BIND
11-28 21:27:28.150 3660 3719 I : [1128/212728.150055:INFO:btu_task.cc(107)] Bluetooth chip preload is complete

Outcomes