蓝牙低功耗(BLE)协议栈

蓝牙协议栈简介

蓝牙低功耗(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, 通用访问规范)

接下来使用将一层一层的详细介绍。

一 蓝牙低功耗(BLE)协议栈 之 PHY层

二 蓝牙低功耗(BLE)协议栈 之 LL层

三 蓝牙低功耗(BLE)协议栈 之 L2CAP层

四 蓝牙低功耗(BLE)协议栈 之 ATT层

五 蓝牙低功耗(BLE)协议栈 之 GATT层

六 蓝牙低功耗(BLE)协议栈 之 GAP层