you will need the hciattach service anyway. but i believe the hciattach needs to be started something like this
service hciattach /system/bin/hciattach /dev/ttyUSB0 ..... so insead of ttys dev node it will be ttyUSB dev node Thanks Vijay On Fri, Mar 9, 2012 at 7:24 AM, enming xie <[email protected]> wrote: > Hello, > Everyone. > I am now doing the Bluetooth porting on Android 4.0.3 for a > board of Freescale. > The Bluetooth dongle(adapter) is "Sitecom USB bluetooth2.0 > class 1 dongle CN-521" with the main chip "CSR BC04" (Cambridge > Silicon Radio Ltd. BlueCore 04) in it. > I read on the Internet some topics about the porting of > BLuetooth on Android, they say the hciattach daemon should be set > up. > A bit like this: > service hciattach /system/bin/hciattch -n -s 115200 /dev/ttyS2 > bitecom 115200 > user bluetooth > group bluetooth net_bt_admin > disabled > > But the hciattach is for the UART serial (Hciattach is used to > attach a serial UART to the Bluetooth stack as HCI transport > interface.), right? > Now the BT adapter is USB mode, so can I still use the > hciattach to do the same job? or should I use some else "service"? > Thank you very much! > > Sincerely > > Enming XIE > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

