保健设备配置文件
https://www.bluetooth.org/zh-cn/specification/assigned-numbers/health-device-profile
D/BluetoothGatt(790): onGetService() – Device=88:0F:10:53:CB:48 UUID=00001800-0000-1000-8000-00805f9b34fb
D/BluetoothGatt(790): onGetService() – Device=88:0F:10:53:CB:48 UUID=00001801-0000-1000-8000-00805f9b34fb
上面2个Service对应下面2个服务
通用属性配置文件(GATT)
通用属性配置文件(GATT)
GATT服务
记忆码 | UUID规格 | UUID | 参考规格 |
《通用访问配置文件》 | uuid16 | 0x1800 | Bluetooth®核心规格第3卷C部分第12节 |
《通用属性配置文件》 | uuid16 | 0x1801 | 蓝牙核心规格第3卷G部分第7节 |
(最大值0xFFFF) |
表1: GATT服务
GATT属性类型
记忆码 | UUID规格 | UUID | 参考规格 |
«主要服务» | uuid16 | 0x2800 | 蓝牙核心规格第3卷G部分第3.1节 |
«辅助服务» | uuid16 | 0x2801 | 蓝牙核心规格第3卷G部分第3.1节 |
«包含» | uuid16 | 0x2802 | 蓝牙核心规格第3卷G部分第3.2节 |
«特征» | uuid16 | 0x2803 | 蓝牙核心规格第3卷G部分第3.3节 |
(最大值0xFFFF) |
表2:GATT属性类型
GATT特征描述符
记忆码 | UUID规格 | UUID | 参考规格 |
«特征扩充属性» | uuid16 | 0x2900 | 蓝牙核心规格第3卷G部分第3.3.3.1节 |
«特征用户描述» | uuid16 | 0x2901 | 蓝牙核心规格第3卷G部分第3.3.3.2节 |
«客户特征配置» | uuid16 | 0x2902 | 蓝牙核心规格第3卷G部分第3.3.3.3节 |
«服务器特征配置» | uuid16 | 0x2903 | 蓝牙核心规格第3卷G部分第3.3.3.4节 |
«特征格式» | uuid16 | 0x2904 | B蓝牙核心规格第3卷G部分第3.3.3.5节 |
«特征集成格式» | uuid16 | 0x2905 | 蓝牙核心规格第3卷G部分第3.3.3.6节 |
(最大值0xFFFF) |
表3: GATT特征描述符
GATT特征类型
记忆码 | UUID规格 | UUID | 参考规格 |
«设备名称» | uuid16 | 0x2A00 | 蓝牙核心规格第3卷C部分第12.1节 |
«外观» | uuid16 | 0x2A01 | 蓝牙核心规格第3卷C部分第12.2节 |
«外置设备隐私标志» | uuid16 | 0x2A02 | 蓝牙核心规格第3卷C部分第12.3节 |
«重新连接地址» | uuid16 | 0x2A03 | 蓝牙核心规格第3卷C部分第12.4节 |
«外置设备首选连接参数» | uuid16 | 0x2A04 | 蓝牙核心规格第3卷C部分第12.5节 |
«服务更改» | uuid16 | 0x2A05 | 蓝牙核心规格第3卷G部分第7.1节 |
(最大值 0xFFFF) |
表4: GATT特征类型
转载请注明: http://www.etongwl.com/?p=620
蓝牙提供的服务名称列表
|
聽