Hi,
What changes are required to enable Bluetooth playback on Jellybean using imx6q SABRE SDB board?
Find log as below:-
E/BluetoothAdapterState( 2884): Error enabling Bluetooth
D/BluetoothAdapterService( 2884): Broadcasting updateAdapterState() to 1 receivers.
D/BluetoothManagerService( 2579): Message: 60
D/BluetoothManagerService( 2579): MESSAGE_BLUETOOTH_STATE_CHANGE: prevState = 11, newState=10
D/BluetoothManagerService( 2579): Broadcasting onBluetoothStateChange(false) to 8 receivers.
D/BluetoothPbap( 2848): onBluetoothStateChange: up=false
D/BluetoothHeadset( 2745): onBluetoothStateChange: up=false
D/BluetoothHeadset( 2745): onBluetoothStateChange: up=false
D/BluetoothInputDevice( 2848): onBluetoothStateChange: up=false
D/BluetoothHeadset( 2579): onBluetoothStateChange: up=false
D/BluetoothA2dp( 2579): onBluetoothStateChange: up=false
D/BluetoothManagerService( 2579): Bluetooth State Change Intent: 11 -> 10
D/BluetoothAdapterService(1091503048)( 2884): getState(): mAdapterProperties: com.android.bluetooth.btservice.AdapterProperties@410f1cf0
W/ContextImpl( 2848): Calling a method in the system process without a qualified user: android.app.ContextImpl.startService:1352 android.content.ContextWrapper.startService:450 android.content.ContextWrapper.startService:450 com.android.settings.bluetooth.DockEventReceiver.beginStartingService:134 com.android.settings.bluetooth.DockEventReceiver.onReceive:115
D/DockEventReceiver( 2848): finishStartingService: stopping service
D/BluetoothAdapterService(1091503048)( 2884): getState(): mAdapterProperties: com.android.bluetooth.btservice.AdapterProperties@410f1cf0
-John
Hi
How can i get Bluetooth Working in Jellybean?
After android 4.2. The bluetooth stack changed to new Bluedroid stack which is located in /external/bluetooth/bluedroid.
This is android hardware module implementation for android bluetooth stack. This stack will trying to load a vendor library
named libbt-vendor.so.You need to implement your bluetooth chip library.
Android source tree has an example to implement the library in /device/common/libbt. Specially this is broadcom based
BT chipset. It's easy to modify it to support your bluetooth chip. The important things about this library are how to access
your HCI port and how to control Bluetooth RF.
Good luck!
Hi Raymond Wang,
Plat form IMX6SL
bluedroid on adroid kitkat 4.4.3
I have 2 issues one while data transfer, the other while enabling via GUI.
1) After enabling bluetooth, while transferring file from third party mobile to IMX_6SL board, file is getting transferred(TX), but vice versa (RX) is not happening, it is giving the error message :
File not Received
File : sample.jpg
Reason : Storage issue
2) And presently I am inserting my driver via GUI, I am getting an error message while enabling bluetooth via GUI ie Operation not permitted while loading .ko (driver)Please suggest me what to do?? whether I need to install my driver at boot by adding in init.rc?? if I do it always on boot bt will be in ON State only?? OR Do i need to build my driver along with android source code???
Please suggest me how to proceed further???
Thanks and Regards,
Mutyala Rao.
FYI. All my source tree located at xhteam · GitHub
device-fsl/qpad_6dq at imx_jb · xhteam/device-fsl · GitHub
is my board definition directory. It's long time since my developing work almost finished.
And I can't remember when I insert .ko file (init.xxx.rc or in single program)
Hope this can help you.