-
Bug
-
Resolution: Fixed
-
Major
-
None
-
None
-
None
-
None
-
Master, Porter board
Hi, after implementing fixes for bluetooth pairing and connection (https://jira.automotivelinux.org/browse/SPEC-293), we confirmed the connection is HFP and AVP connection. However when we try to play the music, or even when we just open the player on the phone side, we can observe that the AVP connection is disconnected. We think BlueZ side trigger the disconnection. We are wondering there is something wrong with our procedure or BlueZ. We updated master yesterday, so we think we use newest master version, included modules for pulseaudio. We are investigating right now. If someone have some advice, it will be appreciated.
********************
//phone try to create streaming
bluetoothd[702]: ../bluez-5.37/profiles/audio/avdtp.c:avdtp_sep_set_state() stream state changed: OPEN -> STREAMING
bluetoothd[702]: ../bluez-5.37/profiles/audio/source.c:source_set_state() State changed /org/bluez/hci0/dev_FC_64_BA_7D_81_E1: SOURCE_STATE_CONNECTED -> SOURCE_STATE_PLAYING
bluetoothd[702]: ../bluez-5.37/profiles/audio/transport.c:transport_update_playing() /org/bluez/hci0/dev_FC_64_BA_7D_81_E1/fd1 State=TRANSPORT_STATE_IDLE Playing=1
bluetoothd[702]: ../bluez-5.37/profiles/audio/transport.c:transport_set_state() State changed /org/bluez/hci0/dev_FC_64_BA_7D_81_E1/fd1: TRANSPORT_STATE_IDLE -> TRANSPORT_STATE_PENDING
bluetoothd[702]: ../bluez-5.37/profiles/audio/transport.c:media_owner_create() Owner created: sender=:1.40
bluetoothd[702]: ../bluez-5.37/profiles/audio/avdtp.c:avdtp_ref() 0xecc70: ref=3
bluetoothd[702]: ../bluez-5.37/profiles/audio/a2dp.c:a2dp_sep_lock() SEP 0xe3be8 locked
bluetoothd[702]: ../bluez-5.37/profiles/audio/avdtp.c:avdtp_ref() 0xecc70: ref=4
bluetoothd[702]: ../bluez-5.37/profiles/audio/a2dp.c:setup_ref() 0xe25e8: ref=1
bluetoothd[702]: ../bluez-5.37/profiles/audio/avdtp.c:avdtp_unref() 0xecc70: ref=3
bluetoothd[702]: ../bluez-5.37/profiles/audio/transport.c:media_request_create() Request created: method=TryAcquire id=1
bluetoothd[702]: ../bluez-5.37/profiles/audio/transport.c:media_owner_add() Owner :1.40 Request TryAcquire
bluetoothd[702]: ../bluez-5.37/profiles/audio/transport.c:media_transport_set_owner() Transport /org/bluez/hci0/dev_FC_64_BA_7D_81_E1/fd1 Owner :1.40
bluetoothd[702]: /org/bluez/hci0/dev_FC_64_BA_7D_81_E1/fd1: fd(23) ready
bluetoothd[702]: ../bluez-5.37/profiles/audio/transport.c:media_owner_remove() Owner :1.40 Request TryAcquire
bluetoothd[702]: ../bluez-5.37/profiles/audio/transport.c:transport_set_state() State changed /org/bluez/hci0/dev_FC_64_BA_7D_81_E1/fd1: TRANSPORT_STATE_PENDING -> TRANSPORT_STATE_ACTIVE
bluetoothd[702]: ../bluez-5.37/profiles/audio/a2dp.c:setup_unref() 0xe25e8: ref=0
bluetoothd[702]: ../bluez-5.37/profiles/audio/a2dp.c:setup_free() 0xe25e8
bluetoothd[702]: ../bluez-5.37/profiles/audio/avdtp.c:avdtp_unref() 0xecc70: ref=2
bluetoothd[702]: ../bluez-5.37/src/adapter.c:adapter_service_remove() /org/bluez/hci0
bluetoothd[702]: ../bluez-5.37/src/adapter.c:remove_uuid() sending remove uuid command for index 0
bluetoothd[702]: ../bluez-5.37/src/sdpd-service.c:remove_record_from_server() Removing record with handle 0x10006
bluetoothd[702]: ../bluez-5.37/profiles/audio/media.c:release_endpoint() sender=:1.40 path=/MediaEndpoint/A2DPSource
bluetoothd[702]: Endpoint unregistered: sender=:1.40 path=/MediaEndpoint/A2DPSource
bluetoothd[702]: ../bluez-5.37/profiles/audio/media.c:media_endpoint_destroy() sender=:1.40 path=/MediaEndpoint/A2DPSource
bluetoothd[702]: ../bluez-5.37/profiles/audio/avdtp.c:avdtp_unregister_sep() SEP 0x104578 unregistered: type:0 codec:0 seid:1
bluetoothd[702]: ../bluez-5.37/src/adapter.c:adapter_service_remove() /org/bluez/hci0
bluetoothd[702]: ../bluez-5.37/src/adapter.c:remove_uuid() sending remove uuid command for index 0
bluetoothd[702]: ../bluez-5.37/src/sdpd-service.c:remove_record_from_server() Removing record with handle 0x10007
bluetoothd[702]: ../bluez-5.37/src/profile.c:ext_exited() "Headset Voice gateway" exited
bluetoothd[702]: ../bluez-5.37/src/profile.c:ext_adapter_remove() "Headset Voice gateway" removed
bluetoothd[702]: ../bluez-5.37/src/adapter.c:adapter_service_remove() /org/bluez/hci0
bluetoothd[702]: ../bluez-5.37/src/adapter.c:remove_uuid() sending remove uuid command for index 0
bluetoothd[702]: ../bluez-5.37/src/sdpd-service.c:remove_record_from_server() Removing record with handle 0x10008
bluetoothd[702]: ../bluez-5.37/src/profile.c:remove_ext() Removed "Headset Voice gateway"
bluetoothd[702]: ../bluez-5.37/profiles/audio/transport.c:media_transport_remove_owner() Transport /org/bluez/hci0/dev_FC_64_BA_7D_81_E1/fd1 Owner :1.40
bluetoothd[702]: ../bluez-5.37/profiles/audio/transport.c:media_owner_free() Owner :1.40
bluetoothd[702]: ../bluez-5.37/profiles/audio/transport.c:transport_set_state() State changed /org/bluez/hci0/dev_FC_64_BA_7D_81_E1/fd1: TRANSPORT_STATE_ACTIVE -> TRANSPORT_STATE_IDLE
bluetoothd[702]: ../bluez-5.37/profiles/audio/a2dp.c:a2dp_sep_unlock() SEP 0xe3be8 unlocked
bluetoothd[702]: ../bluez-5.37/profiles/audio/media.c:release_endpoint() sender=:1.40 path=/MediaEndpoint/A2DPSink
bluetoothd[702]: Endpoint unregistered: sender=:1.40 path=/MediaEndpoint/A2DPSink
bluetoothd[702]: ../bluez-5.37/profiles/audio/media.c:media_endpoint_destroy() sender=:1.40 path=/MediaEndpoint/A2DPSink
bluetoothd[702]: ../bluez-5.37/profiles/audio/avdtp.c:avdtp_unref() 0xecc70: ref=1
bluetoothd[702]: ../bluez-5.37/profiles/audio/a2dp.c:abort_cfm() Sink 0xe3be8: Abort_Cfm
bluetoothd[702]: ../bluez-5.37/profiles/audio/avdtp.c:avdtp_sep_set_state() stream state changed: STREAMING -> IDLE
bluetoothd[702]: ../bluez-5.37/profiles/audio/avdtp.c:avdtp_unref() 0xecc70: ref=0
bluetoothd[702]: ../bluez-5.37/profiles/audio/avdtp.c:avdtp_unregister_sep() SEP 0xe3be8 unregistered: type:1 codec:0 seid:2
bluetoothd[702]: ../bluez-5.37/src/adapter.c:dev_class_changed_callback() Class: 0x240000
bluetoothd[702]: ../bluez-5.37/src/adapter.c:dev_class_changed_callback() Class: 0x200000
bluetoothd[702]: ../bluez-5.37/profiles/audio/avctp.c:session_cb() AVCTP session 0xe46c0 got disconnected
**************************************