Android开发之蓝牙(Bluetooth)---源码目录

一 Bluetooth 的设置应用

   packages\apps\Settings\src\com\android\settings\bluetooth\*

   蓝牙设置应用及设置参数,蓝牙状态,蓝牙设备等。

 

二 Bluetooth 的服务应用

  packages\apps\Bluetooth\src\com\android\bluetooth\*

  蓝牙FTP,OPP,SAP,BPP等实现。蓝牙传输及配对等实现。

 

三 Bluetooth 免提、耳机及A2DP应用

   packages\apps\Phone\src\com\android\phone\Bluetooth*.*

   主要是Bluetooth在其他应用如通话,电话本还有耳机相关的应用。

 

四 Bluetooth 的JAVA类

   frameworks\base\core\java\android\bluetooth\*

   如BluetoothClass,BluetoothAdapter,BluetoothDevice等。Bluetooth应用就是通过这些类实现。

 

五 Bluetooth 的JNI接口

   frameworks\base\core\jni\android_bluetooth_*.*

   或者packages/apps/Bluetooth/jni/com_android_bluetooth*.*

   主要是为Bluetooth的JAVA类提供一些底层API支持(C++实现)。如headset,socket等。

 

六 Bluetooth的协议栈支持(Bluez)

   external\bluetooth\*

   提供蓝牙协议栈支持,android主要是用Bluez协议栈。

 

七 Bluetooth的设备管理库

   system\bluetooth\*

   应该是属于kernel层(linux核心代码)了,具体还需要了解?

 

八 Bluetooth的kernel层

   kernel\drivers\bluetooth\*

   kernel\net\bluetooth\*

   linux系统上Bluetooth的核心代码,包括驱动?



./android/packages/apps/Settings/src/com/android/settings/bluetooth
./android/packages/apps/Bluetooth/src/com/android/bluetooth
./android/hardware/realtek/bluetooth
./android/external/bluetooth
./android/frameworks/base/core/java/android/bluetooth
./android/device/softwinner/octopus-perf/bluetooth
./android/device/softwinner/octopus-f1/bluetooth
./lichee/linux-3.4/drivers/bluetooth
./lichee/linux-3.4/include/net/bluetooth
./lichee/linux-3.4/net/bluetooth

  • 3
    点赞
  • 13
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值