bluetooth error

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

bluetooth error

622 Views
myy
Contributor II

Hi

we are use imx8qm + Android P9,but  When we use Bluetooth a2dp, it reports the following error,Looks like it's the codec,how to resolve,thanks

E bt_btif_a2dp_source: btif_a2dp_source_setup_codec_delayed: Cannot stream audio: current codec is not set
02-03 02:04:23.870 4652 4708 I bt_btif_a2dp_source: btif_a2dp_source_start_session_delayed: peer_address=90:17:c8:e3:63:d1 state=STATE_RUNNING
02-03 02:04:23.870 4652 4674 I BluetoothA2dpServiceJni: bta2dp_audio_config_callback
02-03 02:04:23.883 3479 3479 I bt_a2dp_hw: adev_open_output_stream: opening output
02-03 02:04:23.883 3479 3479 I bt_a2dp_hw: a2dp_command: starting up or recovering from previous error: command=A2DP_CTRL_GET_OUTPUT_AUDIO_CONFIG
02-03 02:04:23.883 3479 3479 I bt_a2dp_hw: skt_connect: connect to /data/misc/bluedroid/.a2dp_ctrl (sz 256)
02-03 02:04:23.884 3479 3479 I bt_a2dp_hw: skt_connect: connected to stack fd = 18
02-03 02:04:23.884 4652 4800 W bt_btif : btif_a2dp_ctrl_cb: A2DP-CTRL-CHANNEL EVENT UIPC_OPEN_EVT
02-03 02:04:23.884 4652 4800 W bt_btif : btif_a2dp_recv_ctrl_data: a2dp-ctrl-cmd : A2DP_CTRL_CMD_CHECK_READY
02-03 02:04:23.884 4652 4800 W bt_btif : btif_a2dp_recv_ctrl_data: A2DP command A2DP_CTRL_CMD_CHECK_READY while AV stream is not ready
02-03 02:04:23.884 4652 4800 W bt_btif : btif_a2dp_command_ack: ## a2dp ack : A2DP_CTRL_CMD_CHECK_READY, status 1 ##
02-03 02:04:23.884 4652 4800 W bt_btif : btif_a2dp_recv_ctrl_data: a2dp-ctrl-cmd : A2DP_CTRL_CMD_CHECK_READY DONE
02-03 02:04:23.884 3479 3479 E bt_a2dp_hw: a2dp_command: A2DP COMMAND A2DP_CTRL_CMD_CHECK_READY error 1
02-03 02:04:23.884 3479 3479 E bt_a2dp_hw: check_a2dp_ready: check a2dp ready failed
02-03 02:04:23.884 3479 3479 E bt_a2dp_hw: a2dp_open_ctrl_path: error : a2dp not ready, wait 250 ms and retry
02-03 02:04:24.134 3479 3479 I bt_a2dp_hw: skt_disconnect: fd 18
02-03 02:04:24.135 4652 4800 W bt_btif : btif_a2dp_recv_ctrl_data: CTRL CH DETACHED
02-03 02:04:24.135 4652 4800 W bt_btif : btif_a2dp_ctrl_cb: A2DP-CTRL-CHANNEL EVENT UIPC_CLOSE_EVT
02-03 02:04:24.385 3479 3479 I bt_a2dp_hw: skt_connect: connect to /data/misc/bluedroid/.a2dp_ctrl (sz 256)
02-03 02:04:24.385 3479 3479 I bt_a2dp_hw: skt_connect: connected to stack fd = 18
02-03 02:04:24.385 4652 4800 W bt_btif : btif_a2dp_ctrl_cb: A2DP-CTRL-CHANNEL EVENT UIPC_OPEN_EVT
02-03 02:04:24.385 4652 4800 W bt_btif : btif_a2dp_recv_ctrl_data: a2dp-ctrl-cmd : A2DP_CTRL_CMD_CHECK_READY
02-03 02:04:24.385 4652 4800 W bt_btif : btif_a2dp_recv_ctrl_data: A2DP command A2DP_CTRL_CMD_CHECK_READY while AV stream is not ready

0 Kudos
2 Replies

616 Views
igorpadykov
NXP Employee
NXP Employee

Hi myy

 

what bluetooth chip used in the case, could you try to reproduce issue on MEK board

with Demo Image :

 

Best regards
igor

 

0 Kudos

612 Views
myy
Contributor II
Hi igor It doesn't look like a problem with the Bluetooth chip
0 Kudos