On Friday, February 8, 2013 8:42:21 AM UTC+1, Chih-Wei Huang wrote:
Hello Matthew, Could you list all the steps to enable Bluetooth in JB-MR1? I'm struggling with it without luck. I guess it includes
* Kernel driver? * BoardConfig.mk parameters? * bdroid_buildcfg.h ? What does it intend to do?
* bt_vendor.conf ? * any others?
Matthew Xie於 2012年11月15日星期四UTC+8上午4時53分57秒寫道：
I will answer the questions as I can.
We don't have resource to maintain both Bluedroid stack and bluez stack. Blue support is stopped after 4.2.
BLE will be the next major feature we are going to add.
Other a2dp codec can be added. We only implemented SBC because it's mandatory.
Vendor need to implement bt_vendor_interface_t. The interface defines the way vendor lib and bluetooth stack interact to bring up and config the Bluetooth Controller. The defintion is in external/bluetooth/bluedroid/hci/include/bt_vendor_lib.h.
We don't have other document, it all in the code, fully open-source. Please see bt_vendor_lib.h on the meanings of the opcode, such as BT_VND_OP_POWER_CTRL.
device/common/libbt/src/bt_vendor_brcm.c contains broadcom implementation of vendor lib.
hardware/qcom/bt/libbt-vendor/src/bt_vendor_qcom.c contains qualcomm implementation of vendor lib.