蓝牙低功耗(BLE)协议栈
蓝牙协议栈简介
如上图所示,蓝牙协议栈至下而上分为:
- PHY (物理层)
- LL (链路层)
- HCI (主机控制器接口层)
- L2CAP (Logical link Control and adaptation protocol specificaion,逻辑链路与适配协议规范)
- ATT (Attribute protocol, 属性层)
- GATT (Generic Attribute Profile, 通用属性规范)
- SMP (Security Manager Specification, 安全管理器规程)
- GAP (Generic Access Profile, 通用访问规范)
接下来使用将一层一层的详细介绍。