How to enable USB Bluetooth on i.MX6 Android?

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

How to enable USB Bluetooth on i.MX6 Android?

1,741 Views
charleshuang
Senior Contributor II

Hi Freescale

We want to enable USB Bluetooth on i.MX6 Android 4.3/4.4.

How  to enable USB Bluetooth on i.MX6 Android?

Please advise.

Thanks

Labels (2)
0 Kudos
5 Replies

1,088 Views
mutyalaraoneela
Contributor III

Yes, Xiyuan Zhou

     I found the solution for loading my bluetooth drivers with USB interface on i.MX6 board with andriod version Kitkat 4.4.3, That is while I was loading the driver through code (same as Loading Wi-Fi drivers), I faced the issues which I posted in the above post, but now I am loading the bluetooth drivers on boot.(by placing the .ko file in init.freescale.rc).

  Now I am able to load and unload my bluetooth drivers successfully.

Thanks and Regards,

Mutyalarao.

0 Kudos

1,088 Views
conteczxy
Contributor III

Have you found the solution for usb bluetooth dongle in android4.4?

Hope you can give me some tips.

Thanks,

0 Kudos

1,088 Views
alejandrolozan1
NXP Employee
NXP Employee

Hi,

I think you may find useful this information

USB Bluetooth Dongle not working

Best Regards,

Alejandro

0 Kudos

1,088 Views
mutyalaraoneela
Contributor III

Hi alejandrolozoano,

Please help me to get out of this problem.

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.

Thanks and Regards,

Mutyala Rao.

0 Kudos

1,088 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