http://source.android.com/devices/bluetooth.html
http://blog.sina.com.cn/s/blog_69b5d2a50101f2ew.html
- application framework
- 程式碼: framework/base/core/java/android/bluetooth/
- Bluetooth System service
- 程式碼: packages/apps/Bluetooth/
- JNI
- 程式碼: packages/apps/Bluetooth/jni/
- HAL
- 你得實現這些接口來讓你的BT Hardware運作正常
- 程式碼的標頭檔:
- hardware/libhardware/include/hardware/bluetooth.h
- hardware/libhardware/include/hardware/bt_*.h
- BT Stack
- 4.2開始, 預設為BlueDroid
- 程式碼: external/bluetooth/bluedroid/
- Vendor extension
- 為了追蹤添加自定義擴展和一個HCI層,創建一個libbt-vendor模組去指定
沒有留言:
張貼留言