1 应用领域
S110_SoftDevice 是BLE外围设备(peripheral)协议,适用于蓝牙鼠标、键盘等从机设备(在这些设备中,电脑上的蓝牙作为主机设备),S120则同时可以完成主机(central)和从机(peripheral)的功能。
2 低功耗蓝牙协议栈
SoftDeivce(指S110下同)同时支持从机角色和广播者角色。其API定义在GATT、GAP、LLC和L2CAP之上。nRF51 SDK采用服务和配置文件的方式实现BLE协议栈。具体结构如下图:
2.1配置文件和服务支持
下面列出的集中配置文件和服务是由蓝牙SIG采用的,同时SoftDevice还支持额外的配置文件。
Adopted Profile | Adopted Services |
---|---|
HID over GATT | HID 、Battery、 Device Information |
Heart Rate | Heart Rate、 Device Information |
Proximity | Link Loss、 Immediate Alert、 TX Power |
Blood Pressure | Blood Pressure、 Device Information |
表格只列出了一部分,具体参考原PDF文档,例程在nRF51 SDK中。