USB support in Bluedroid stack [Android 4.4.3 for imx6-Sololite]

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

USB support in Bluedroid stack [Android 4.4.3 for imx6-Sololite]

2,201 Views
Silwerstar
Contributor I

Hi,

Is support for USB available for Android 4.4.3 or higher android versions for imx6 platforms? I would like to connect my BT-USB device to the imx6 platform but I read somewhere  that there isn't any support for USB in Bluedroid. What changes do I need to do in Android to support USB? Will it be available in the upcoming Android releases?

I was of the opinion that Bluedroid is a user-space stack so it may not have anything to do with the device interface. But looks like there is some dependency. Can someone help me with this question?

Thanks!

Labels (2)
0 Kudos
3 Replies

859 Views
igorpadykov
NXP Employee
NXP Employee

HI Fariya

FSL release supports Silex AR6233X SDIO card, for usb option please refer

to below links

How to Enable USB Bluetooth Dongle Based on i.MX6 Android ICS

Bluetooth | Android Developers

https://events.linuxfoundation.org/images/stories/pdf/lf_abs12_zores.pdf

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

0 Kudos

859 Views
mutyalaraoneela
Contributor III

Hi All,

Platform : IMX6SL

Bluedroid on Android kitkat 4.4.3.

Can you please help me I am struck at this point not able to move forward.

D/BluetoothAdapterState(  704):  CURRENT_STATE=PENDING, MESSAGE = ENABLE_TIMEOUT, isTurningOn=true, isTurningOff=false
E/BluetoothAdapterState(  704): Error enabling Bluetooth
D/BluetoothAdapterProperties(  704): Setting state to 10
I/BluetoothAdapterState(  704): Bluetooth adapter state changed: 11-> 10
D/BluetoothAdapterService(  704): Broadcasting updateAdapterState() to 1 receivers.

what's wrong with this..... Not getting any idea. Please help me.....

Thanks and regards,

MutyalaRao.

0 Kudos

859 Views
mutyalaraoneela
Contributor III

Hi all,

  I am glad to inform you that the above issue which I have posted earlier got resolved, but I have another 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.

0 Kudos