URL : http://www.xuebuyuan.com/1012380.html


.....
BlueZ Startup Procedure (Host BlueZ (Android Bluetooth host stack) )
Call flow on enabling/disabling Bluetooth in UI settings → Wireless control
Functions bt_enable, bt_disable in android/system/bluetooth/
bluedroid/bluetooth.c are entry points to enable/disable Bluetooth
■ Related services are declared in android/system/core/rootdir/
etc/init.qcom.rc
■ Modify arguments for hci_qcomm_init in android/system/core/rootdir/
etc/init.qcom.bt.sh for your platform dependency
■ Bttest test tool enables/disables Bluetooth device
bttest enable and bttest disable commands in ADB shell
Reference source code – android/system/bluetooth/bluedroid/bttest.c
Startup scripts
/etc/init.qcom.rc and /etc/init.qcom.bt.sh are scripts for Android Bluetooth startup procedure
Bluetooth SoC Initialization – hci_qcomm_init (cont.)
.....
'Programming > Android Java' 카테고리의 다른 글
| 블루투스의 모든 것 Bluetooth와 안드로이드 (0) | 2014.09.14 |
|---|---|
| Android Bluetooth 구조 (0) | 2014.09.08 |
| 센서를 얻어오기, 리스너 연결하기 (0) | 2014.09.02 |
| 근접센서를 이용하여 거리 측정하기 (0) | 2014.09.02 |
| Android의 Framework에서 TelephonyManager 구조 (0) | 2014.09.01 |