1.蓝牙是什么
蓝牙是使用2.4G频段的短距离无线通信技术,可以实现语音,数据和视频的传输
蓝牙有哪些产品分类:
All Bluetooth Products shall be one of the following:
• Bluetooth End Product
• Bluetooth Host Subsystem Product
• Bluetooth Controller Subsystem Product
• Bluetooth Profile Subsystem Product
• Bluetooth Component Product
• Bluetooth Development Tool
• Bluetooth Test Equipment.
2.android中蓝牙的软件代码位置
应用部分:
ap\packages\apps\Settings\src\com\android\settings\bluetooth
ap\packages\apps\Bluetooth
框架部分:
如下是蓝牙对第三方应用提供的接口
ap\frameworks\base\services\core\java\com\android\server\
ap\frameworks\base\core\java\android\bluetooth
ap\frameworks\base\core\java\com\android\internal\os
\ap\frameworks\base\packages\SettingsLib\src\com\android\settingslib\bluetooth
\ap\frameworks\opt\bluetooth
HAL和协议栈部门
ap\hardware\libhardware\include\hardware
ap\system\bt
kernel部分:
仅以高通和联发科为例
ap\kernel\msm-3.18\drivers\bluetooth(高通)
ap\kernel-3.18\drivers\bluetooth(MTK)
3.分解软件栈 逐一详解