Log
Hello,
a friend of mine had a look at the Catlog file and found the relevant log entries. They are as follows:
03-11 07:52:02.700 D/BTIF_bt_audio_a2dp_hw( 244): [A2DP_HW] [out_standby@406]
03-11 07:52:02.700 I/BTIF_bt_a2dp_android( 244): [A2DP_HAL][ a2dp_stop@1027] is_streaming = 1
03-11 07:52:02.700 I/BTIF_bt_a2dp_android( 244): [A2DP_HAL][ a2dp_send_appi_bt_stop_request@1984] a2dp_send_appi_bt_stop_request!
03-11 07:52:02.700 I/BTIF_bt_a2dp_android( 244): [A2DP_HAL][ A2DPDATA_SendMessage@1844] msg send to server:0 msg = 504, ptr = 0xB430B488, size = 14
03-11 07:52:02.700 I/BTIF_bt_a2dp_android( 244): [A2DP_HAL][ A2DPDATA_SendMessage@1883] data send msg to to a2dp external adaptor success : 42
03-11 07:52:02.700 I/ ( 3903): [A2DP_EXT] [btmtk_a2dp_handle_message@402] msg id = 504
03-11 07:52:02.700 I/ ( 3903): [A2DP_EXT] [btmtk_a2dp_handle_appi_bt_command@565] cmd = 5
03-11 07:52:02.700 I/ ( 3903): [A2DP_EXT] [btmtk_a2dp_global_state@1033] global state = 2
03-11 07:52:02.700 I/ ( 3903): [A2DP_EXT] [btmtk_a2dp_handle_appi_bt_command@709] process stop command, global state is streaming or unknown.
03-11 07:52:02.700 I/ ( 3903): [A2DP_EXT] [btmtk_a2dp_find_dev_index@987] find device index, stream handle = 0
03-11 07:52:02.700 I/ ( 3903): [A2DP_EXT] [btmtk_a2dp_app_check_current_process_msg@370] app check current process msg, dev = 0, msg id = 522
03-11 07:52:02.700 I/ ( 3903): [A2DP_EXT] [A2DP_SendMessage@276] msg=522, ptr=0x7878C498, size=6
03-11 07:52:02.700 I/bt_ext_apis.c( 3903): btmtk_util_find_profile_msg_handler search profile_id:[1]
03-11 07:52:02.700 I/bt_ext_apis.c( 3903): [JNI] btmtk_sendmsg(cmd=522, ptr=0x7878c498, len=62)
03-11 07:52:02.700 I/bt_ext_apis.c( 3903): [JNI] send msg success : 62
03-11 07:52:02.700 I/BTIF_AV ( 3903): [A2DP_EXT] [btmtk_a2dp_ext_msg_handler@275] [BTIF_AV] a2dp ext hdl result = 0
03-11 07:52:02.700 I/ ( 3903): [A2DP_EXT] [btmtk_a2dp_get_bdaddr@2393] jni get bd address: 9e05cb,2068,9d
03-11 07:52:02.736 I/ ( 3903): [A2DP_EXT] [btmtk_a2dp_handle_message@402] msg id = 523
03-11 07:52:02.736 I/ ( 3903): [A2DP_EXT] [btmtk_a2dp_handle_stream_suspend_cnf@1610] Stream suspend CNF result = 256
03-11 07:52:02.736 I/ ( 3903): [A2DP_EXT] [btmtk_a2dp_handle_stream_suspend_cnf@1611] Stream suspend CNF stream_handle = 0
03-11 07:52:02.736 I/ ( 3903): [A2DP_EXT] [btmtk_a2dp_find_dev_index@987] find device index, stream handle = 0
03-11 07:52:02.736 I/ ( 3903): [A2DP_EXT] [btmtk_a2dp_find_dev_index@987] find device index, stream handle = 0
03-11 07:52:02.736 I/ ( 3903): [A2DP_EXT] [btmtk_a2dp_app_set_state@355] try to set stream state = 1, dev index = 0
03-11 07:52:02.736 I/ ( 3903): [A2DP_EXT] [btmtk_a2dp_app_set_state@363] set stream = 0, state = 1
03-11 07:52:02.736 I/ ( 3903): [A2DP_EXT] [btmtk_a2dp_global_state@1033] global state = 1
03-11 07:52:02.736 I/ ( 3903): [A2DP_EXT] [btmtk_a2dp_send_msg_2_audio_module@2454] A2DPHDL_SendMessage size = 52
03-11 07:52:02.736 I/ ( 3903): [A2DP_EXT] [btmtk_a2dp_send_msg_2_audio_module@2464] data send msg to to a2dp data success, msg ID = 606
03-11 07:52:02.736 I/ ( 3903): [A2DP_EXT] [btmtk_a2dp_handle_message@541] RemotePaused cleared
03-11 07:52:02.736 I/BTIF_AV ( 3903): [A2DP_EXT] [btmtk_a2dp_ext_msg_handler@275] [BTIF_AV] a2dp ext hdl result = 3
03-11 07:52:02.736 I/ ( 3903): [A2DP_EXT] [btmtk_a2dp_get_bdaddr@2393] jni get bd address: 9e05cb,2068,9d
03-11 07:52:02.736 I/BT_UTILS( 3903): btmtk_util_convert_bdaddr2array: addr=0x9E05CB:0x9D:0x2068
03-11 07:52:02.736 I/BT_UTILS( 3903): btmtk_util_convert_bdaddr2array: addr=0x20:0x68:0x9D:0x9E:0x5:0xCB
03-11 07:52:02.736 I/BTIF_AV ( 3903): [A2DP_EXT] [btmtk_a2dp_ext_msg_handler@304] [BTIF_AV] A2DP_STATUS_CHANGE_CONNECTED
03-11 07:52:02.736 I/bt_profile_manager.c( 3903): notifyProfileStateChanged addr:[0x9E05CB:0x9D:0x2068], profile[1], old[2] ==> new[2]!
03-11 07:52:02.736 I/bt_profile_manager.c( 3903): setBusy state:Idle
03-11 07:52:02.736 I/bt_profile_manager.c( 3903): ProfileStateChangedCB
03-11 07:52:02.736 I/bt_profile_manager.c( 3903): addr:[0x9E05CB:0x9D:0x2068] isDisconnected?[No]!
03-11 07:52:02.736 D/BTIF_AV ( 3903): HAL bt_av_callbacks->connection_state_cb
03-11 07:52:02.736 I/BluetoothA2dpServiceJni( 3903): bta2dp_connection_state_callback
03-11 07:52:02.736 I/BTIF_bt_a2dp_android( 244): [A2DP_HAL][ a2dpdata_eventLoopMain@1249] [DataEventLoop] Return from select : soresckfd. res=1
03-11 07:52:02.736 I/BTIF_bt_a2dp_android( 244): [A2DP_HAL][ a2dpdata_eventLoopMain@1256] [Media DataEventLoop] Recv A2DP external msg : 606
03-11 07:52:02.737 I/BTIF_bt_a2dp_android( 244): [A2DP_HAL][ a2dpdata_eventLoopMain@1242] [DataEventLoop] Start select : sockfd=21
03-11 07:52:02.737 D/A2dpStateMachine( 3903): onConnectionStateChanged , state 2 dev [B@42b09cd0 this com.android.bluetooth.a2dp.A2dpStateMachine@42a59910
03-11 07:52:02.737 I/BTIF_CORE( 3903): out profile[1] handler!
03-11 07:52:02.737 I/BTIF_CORE( 3903): [btif_task]:Start polling!
03-11 07:52:02.737 D/A2dpStateMachine( 3903): handleMessage: E msg.what=111
03-11 07:52:02.737 D/A2dpStateMachine( 3903): processMsg: Connected
03-11 07:52:02.737 D/A2dpStateMachine( 3903): Connected process message: 111
03-11 07:52:02.737 E/A2dpStateMachine( 3903): Connection State Device: 20:68:9D:9E:05:CB bad state: 2
03-11 07:52:02.737 D/A2dpStateMachine( 3903): handleMessage: X
The phone is lying next to the bluetooth speaker (JBL SoundFly) and the connection is good. The problem occurs with the bluetooth speakers JBL SoundFly BT and Bose Soundlink II. Both speakers work flawlessly with other smartphones.
Can you identify where the error is? By the way: With the firmware version from January, the WiFi and Bluetooth always crashed after some time of inactivity (about half an hour sleep mode). I could not disable WiFi and Bluetooth any more and had to restart the phone. With the February version of the software these crashes still happen, but not very often (maybe once in three days). But this bluetooth problem is very annoying.
Thanks for you help
Kind regards