How to work UART BT device on i.mx53 Android

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to work UART BT device on i.mx53 Android

1,875件の閲覧回数
brahman_river
Contributor I

Hi, All.

I'm working UART(RS-232C) Bluetooth device on i.MX53 Android Platform.

I tried to enable Bluetooth via configuration panel but didn't make it.

To use Bluetooth devices, is there any configuration needed against i.MX Android Package before building image?

タグ(1)
0 件の賞賛
9 返答(返信)

1,464件の閲覧回数
VikramU_ng
Contributor III

Hi Takashi-san,

  Maybe this document helps <Anroid Bluez>

 

HTH.

0 件の賞賛

1,464件の閲覧回数
daiane_angolini
NXP Employee
NXP Employee

hum.... I´m confused.

 

kernel only recongnize device after hciattach? Before that is there none message?

 

I was searching around and I found a lot of people working with bluetooth dongle with android uper that 1.6 without any special procedure.

 

Is there any clue on your logcat?

0 件の賞賛

1,464件の閲覧回数
brahman_river
Contributor I

Hi Daiane,

 

I've found that a command "hciattach" was required to make the kernel recognize the device.

This command was successful on the PC Linux and Ubuntu i.mx53. But I didn't make it on Android platform.

This might be because the specified device was incorrect. I guess that is "ttymxcX".

Do you know what device the serial port is regarded as?

 

Best Regards,

Takashi Kawamoto

0 件の賞賛

1,464件の閲覧回数
daiane_angolini
NXP Employee
NXP Employee

oh. First step is your devices being recognized by kernel.

 

Connect you device on some PC, and see what´s the dmesg message for it.

 

Then, try to configure kernel to regocnize the same. You will need to be sure kernel version used can support it.

0 件の賞賛

1,464件の閲覧回数
brahman_river
Contributor I

Hi Daiane,

 

When the BT device was connected, dmesg said nothing. So I think the Kernel couldn't recognize it.

The attached file is .config for the kernel.

 

Best Regards,

Takashi Kawamoto

0 件の賞賛

1,464件の閲覧回数
daiane_angolini
NXP Employee
NXP Employee
Can kernel recognize your bluetooth device? What does dmesg show?
0 件の賞賛

1,464件の閲覧回数
brahman_river
Contributor I

Even the above option was added to BoardConfig.mk, Bluetooth could not be enabled with configuration panel.

I have no idea what to do further...

0 件の賞賛

1,464件の閲覧回数
brahman_river
Contributor I
Hi Daiane,
Thanks for your prompt comment :)
According to the following page, it seems that an option "BOARD_HAVE_BLUETOOTH" shoule be enabled in BoardConfig.mk.
I'm now rebuilding the Android image.
Best Regards,
Takashi Kawamoto
0 件の賞賛

1,464件の閲覧回数
daiane_angolini
NXP Employee
NXP Employee

I´m guessing, but I believe you will need to include support for it on BoardConfig.mk (inside device/fsl).

 

I suppose kernel has support for your device.

0 件の賞賛