1.Q:add bluetooth power
A:add bluetooth power need depend on android interface,the path of android interface:system/Bluetooth/bluedroid/bluetooth.c.Because of the bluetooth.c use rfkill,we use rfkill mechanism to provide bluetooth power.
2.Q:linux protocol
A:check hci_bcsp.o/hci_ldisc.o/hci_uart.o in path of drivers/bluetooth,if not, we need check the kconfig in the path of drivers/kconfig,because we need hci_bcsp.o/hci_ldisc.c/hci_uart.o for csr chip.
3.Q:linux net part
A:We need excute the command of make menuconfig”
networking --- Bluetooth subsystem support :
L2CAP protocol support
SCO links support
RFCOMM protocol support
RFCOMM TTY support
BNEP protocol support
HIDP protocol support
We use csr chip need choose the HCI UART /driver BCSP protocol
4.Q:error log :I/bluedroid( 1152): bt_enable: ret: -1, errno: 19
A:Because adroid don’t create the sco_socket to provide the hci0 interface for communicating bluez and chip.
5.Q:add service to start property for bluet...

更多相关文章

  1. 安装时提示:INSTALL_FAILED_INSUFFICIENT_STORAGE
  2. How to work around Android’s 24 MB memory limit
  3. android代码实现自动关机(非root也可以)
  4. ionic项目中手机状态栏显示使用$cordovaStatusbar插件
  5. Android(安卓)JNI .h头文件生成说明
  6. 移植SlidingMenu Android(安卓)library,和安装example出现的问题
  7. 移植SlidingMenu Android(安卓)library和安装example出现的问题
  8. PhoneGap是什么?
  9. Android(安卓)studio升级3.0.1遇到的坑及Android(安卓)Studio 3.

随机推荐

  1. Android自定义按钮样式
  2. Android实现快递物流时间轴效果
  3. Android(安卓)Telephony主要模块及功能
  4. Android(安卓)监听软键盘状态的实例详解
  5. html5在 Android(安卓)/ IOS上不能自动播
  6. 【Android】Caused by: libcore.io.Errno
  7. (转载)Android(安卓)之最新最全的Intent传
  8. Android(安卓)AAC模式,该与 MVP 分手了!
  9. Android事件分发中的ViewGroup
  10. Android(安卓)动画之AlphaAnimation应用