其他 · 2015年2月4日 0

蓝牙BLE 4.0提供的服务名称列表

保健设备配置文件

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

 

 

 

 

 

 

蓝牙提供的服务名称列表

 

SpecificationType SpecificationLevel
Alert Notification Service org.bluetooth.service.alert_notification 0x1811 Adopted
Battery Service org.bluetooth.service.battery_service 0x180F Adopted
Blood Pressure org.bluetooth.service.blood_pressure 0x1810 Adopted
Body Composition org.bluetooth.service.body_composition 0x181B Adopted
Bond Management org.bluetooth.service.bond_management 0x181E Adopted
Continuous Glucose Monitoring org.bluetooth.service.continuous_glucose_monitoring 0x181F Adopted
Current Time Service org.bluetooth.service.current_time 0x1805 Adopted
Cycling Power org.bluetooth.service.cycling_power 0x1818 Adopted
Cycling Speed and Cadence org.bluetooth.service.cycling_speed_and_cadence 0x1816 Adopted
Device Information org.bluetooth.service.device_information 0x180A Adopted
Environmental Sensing org.bluetooth.service.environmental_sensing 0x181A Adopted
Generic Access org.bluetooth.service.generic_access 0x1800 Adopted
Generic Attribute org.bluetooth.service.generic_attribute 0x1801 Adopted
Glucose org.bluetooth.service.glucose 0x1808 Adopted
Health Thermometer org.bluetooth.service.health_thermometer 0x1809 Adopted
Heart Rate org.bluetooth.service.heart_rate 0x180D Adopted
Human Interface Device org.bluetooth.service.human_interface_device 0x1812 Adopted
Immediate Alert org.bluetooth.service.immediate_alert 0x1802 Adopted
Internet Protocol Support org.bluetooth.service.internet_protocol_support 0x1820 Adopted
Link Loss org.bluetooth.service.link_loss 0x1803 Adopted
Location and Navigation org.bluetooth.service.location_and_navigation 0x1819 Adopted
Next DST Change Service org.bluetooth.service.next_dst_change 0x1807 Adopted
Phone Alert Status Service org.bluetooth.service.phone_alert_status 0x180E Adopted
Reference Time Update Service org.bluetooth.service.reference_time_update 0x1806 Adopted
Running Speed and Cadence org.bluetooth.service.running_speed_and_cadence 0x1814 Adopted
Scan Parameters org.bluetooth.service.scan_parameters 0x1813 Adopted
Tx Power org.bluetooth.service.tx_power 0x1804 Adopted
User Data org.bluetooth.service.user_data 0x181C Adopted
Weight Scale org.bluetooth.service.weight_scale 0x181D Adopted

 

 

 

Share this: