蓝牙标准服务

蓝牙标准服务

概况

简称 中文名 规格名称(SpecificationName) 规格类型(SpecificationType) 分配编号 规格级别
ANS 警报通知 Alert Notification Service *.alert_notification 0x1811 Adopted
BAS 电池服务 Battery Service *.battery_service 0x180F Adopted
BLS 血压 Blood Pressure *.blood_pressure 0x1810 Adopted
CTS 当前时间 Current Time Service *.current_time 0x1805 Adopted
自行车功率 Cycling Power *.cycling_power 0x1818 Adopted
自行车速度及步调 Cycling Speed and Cadence * .cycling_speed_and_cadence 0x1816 Adopted
DIS 设备信息 Device Information *.device_information 0x180A Adopted
Generic Access *.generic_access 0x1800 Adopted
Generic Attribute *.generic_attribute 0x1801 Adopted
血糖 Glucose *.glucose 0x1808 Adopted
健康体温计 Health Thermometer *.health_thermometer 0x1809 Adopted
HRS 心率 Heart Rate *.heart_rate 0x180D Adopted
HIDS 人机界面设备 Human Interface Device *.human_interface_device 0x1812 Adopted
IAS 即时警报 Immediate Alert *.immediate_alert 0x1802 Adopted
LLS 链路丢失 Link Loss *.link_loss 0x1803 Adopted
定位和导航 Location and Navigation *.location_and_navigation 0x1819 Adopted
NDCS 下个日光节约时间更改 Next DST Change Service *.next_dst_change 0x1807 Adopted
PASS 电话警报状态 Phone Alert Status Service *.phone_alert_status 0x180E Adopted
RTUS 参考时间更新 Reference Time Update Service *.reference_time_update 0x1806 Adopted
跑步速度及步调 Running Speed and Cadence * .running_speed_and_cadence 0x1814 Adopted
ScPS 扫描参数 Scan Parameters *.scan_parameters 0x1813 Adopted
TPS 射频功率 Tx Power *.tx_power 0x1804 Adopted
User Data *.user_data 0x181C Adopted
规格类型前缀org.bluetooth.service

单位

分配编号 名称 类型
0x2700 无单位 org.bluetooth.unit.unitless
0x2701 长度(米) org.bluetooth.unit.length.metre
0x2702 质量(千克) org.bluetooth.unit.mass.kilogram
0x2703 时间(秒) org.bluetooth.unit.time.second
0x2704 电流(安培) org.bluetooth.unit.electric_current.ampere
0x2705 热力学温度(开氏度) org.bluetooth.unit.thermodynamic_temperature.kelvin
0x2706 物质的量(摩尔) org.bluetooth.unit.amount_of_substance.mole
0x2707 发光强度(坎德拉) org.bluetooth.unit.luminous_intensity.candela
0x2710 面积(平方米) org.bluetooth.unit.area.square_metres
0x2711 体积(立方米) org.bluetooth.unit.volume.cubic_metres
0x2712 速度(米每秒) org.bluetooth.unit.velocity.metres_per_second
0x2713 加速度(米每平方秒) org.bluetooth.unit.acceleration.metres_per_second_squared
0x2714 波数(倒数米) org.bluetooth.unit.wavenumber.reciprocal_metre
0x2715 密度(千克每立方米) org.bluetooth.unit.density.kilogram_per_cubic_metre
0x2716 表面密度(千克每立方米) org.bluetooth.unit.surface_density.kilogram_per_square_metre
0x2717 比容(立方米每千克) org.bluetooth.unit.specific_volume.cubic_metre_per_kilogram
0x2718 电流密度(安每立方米) org.bluetooth.unit.current_density.ampere_per_square_metre
0x2719 磁场强度(安每米) org.bluetooth.unit.magnetic_field_strength.ampere_per_metre
0x271A 物质的量浓度(摩每立方米) org.bluetooth.unit.amount_concentration.mole_per_cubic_metre
0x271B 质量浓度(千克每立方米) org.bluetooth.unit.mass_concentration.kilogram_per_cubic_metre
0x271C 亮度(坎德拉每平方米) org.bluetooth.unit.luminance.candela_per_square_metre
0x271D 折射率 org.bluetooth.unit.refractive_index
0x271E 相对磁导率 org.bluetooth.unit.relative_permeability
0x2720 平面角(弧度) org.bluetooth.unit.plane_angle.radian
0x2721 立体角(球面度) org.bluetooth.unit.solid_angle.steradian
0x2722 频率(赫兹) org.bluetooth.unit.frequency.hertz
0x2723 力(牛顿) org.bluetooth.unit.force.newton
0x2724 压力(帕斯卡) org.bluetooth.unit.pressure.pascal
0x2725 能量(焦耳) org.bluetooth.unit.energy.joule
0x2726 功率(瓦特) org.bluetooth.unit.power.watt
0x2727 电荷(库仑) org.bluetooth.unit.electric_charge.coulomb
0x2728 电位差(伏特) org.bluetooth.unit.electric_potential_difference.volt
0x2729 电容(法拉) org.bluetooth.unit.capacitance.farad
0x272A 电阻(欧姆) org.bluetooth.unit.electric_resistance.ohm
0x272B 电导(西门子) org.bluetooth.unit.electric_conductance.siemens
0x272C 磁通量(韦伯) org.bluetooth.unit.magnetic_flex.weber
0x272D 磁通量密度(特斯拉) org.bluetooth.unit.magnetic_flex_density.tesla
0x272E 电感(亨利) org.bluetooth.unit.inductance.henry
0x272F 摄氏温度(摄氏度) org.bluetooth.unit.thermodynamic_temperature.degree_celsius
0x2730 光通量(流明) org.bluetooth.unit.luminous_flux.lumen
0x2731 照度(勒克斯) org.bluetooth.unit.illuminance.lux
0x2732 放射性强度(贝可勒尔) org.bluetooth.unit.activity_referred_to_a_radionuclide.becquerel
0x2733 吸收剂量(戈瑞) org.bluetooth.unit.absorbed_dose.gray
0x2734 剂量当量(希沃特) org.bluetooth.unit.dose_equivalent.sievert
0x2735 催化活性(卡特) org.bluetooth.unit.catalytic_activity.katal
0x2740 动力粘度(帕秒) org.bluetooth.unit.dynamic_viscosity.pascal_second
0x2741 力矩(牛米) org.bluetooth.unit.moment_of_force.newton_metre
0x2742 表面张力(牛每米) org.bluetooth.unit.surface_tension.newton_per_metre
0x2743 角速度(弧度每秒) org.bluetooth.unit.angular_velocity.radian_per_second
0x2744 角加速度(弧度每平方秒) org.bluetooth.unit.angular_acceleration.radian_per_second_squared
0x2745 热通量密度(瓦每平方米) org.bluetooth.unit.heat_flux_density.watt_per_square_metre
0x2746 热容(焦每开) org.bluetooth.unit.heat_capacity.joule_per_kelvin
0x2747 比热容(焦每千克开) org.bluetooth.unit.specific_heat_capacity.joule_per_kilogram_kelvin
0x2748 比能(焦每千克) org.bluetooth.unit.specific_energy.joule_per_kilogram
0x2749 热导率(瓦每米开) org.bluetooth.unit.thermal_conductivity.watt_per_metre_kelvin
0x274A 能量密度(焦每立方米) org.bluetooth.unit.energy_density.joule_per_cubic_metre
0x274B 电场强度(伏每米) org.bluetooth.unit.electric_field_strength.volt_per_metre
0x274C 电荷密度(库每立方米) org.bluetooth.unit.electric_charge_density.coulomb_per_cubic_metre
0x274D 表面电荷密度(库每平方米) org.bluetooth.unit.surface_charge_density.coulomb_per_square_metre
0x274E 电通量密度(库每平方米) org.bluetooth.unit.electric_flux_density.coulomb_per_square_metre
0x274F 电容率(法每米) org.bluetooth.unit.permittivity.farad_per_metre
0x2750 磁导率(亨每米) org.bluetooth.unit.permeability.henry_per_metre
0x2751 摩尔能(焦每摩) org.bluetooth.unit.molar_energy.joule_per_mole
0x2752 摩尔熵(焦每摩开) org.bluetooth.unit.molar_entropy.joule_per_mole_kelvin
0x2753 照射(库每千克) org.bluetooth.unit.exposure.coulomb_per_kilogram
0x2754 吸收剂量率(戈每秒) org.bluetooth.unit.absorbed_dose_rate.gray_per_second
0x2755 辐射强度(瓦每球面度) org.bluetooth.unit.radiant_intensity.watt_per_steradian
0x2756 辐射度(瓦每球面度平方米) org.bluetooth.unit.radiance.watt_per_square_metre_steradian
0x2757 催化活性浓度(开特每立方米) org.bluetooth.unit.catalytic_activity_concentration.katal_per_cubic_metre
0x2760 时间(分) org.bluetooth.unit.time.minute
0x2761 时间(时) org.bluetooth.unit.time.hour
0x2762 时间(日) org.bluetooth.unit.time.day
0x2763 平面角(度) org.bluetooth.unit.plane_angle.degree
0x2764 平面角(分) org.bluetooth.unit.plane_angle.minute
0x2765 平面角(秒) org.bluetooth.unit.plane_angle.second
0x2766 面积(公顷) org.bluetooth.unit.area.hectare
0x2767 容量(公升) org.bluetooth.unit.volume.litre
0x2768 质量(顿) org.bluetooth.unit.mass.tonne
0x2780 压力(巴) org.bluetooth.unit.pressure.bar
0x2781 压力(毫米汞柱) org.bluetooth.unit.pressure.millimetre_of_mercury
0x2782 长度(埃) org.bluetooth.unit.length.ångström
0x2783 长度(海里) org.bluetooth.unit.length.nautical_mile
0x2784 面积(靶) org.bluetooth.unit.area.barn
0x2785 速度(节) org.bluetooth.unit.velocity.knot
0x2786 对数射频数量(奈培) org.bluetooth.unit.logarithmic_radio_quantity.neper
0x2787 对数射频数量(贝尔) org.bluetooth.unit.logarithmic_radio_quantity.bel
0x27A0 长度(码) org.bluetooth.unit.length.yard
0x27A1 长度(秒差距) org.bluetooth.unit.length.parsec
0x27A2 长度(英寸) org.bluetooth.unit.length.inch
0x27A3 长度(英尺) org.bluetooth.unit.length.foot
0x27A4 长度(英里) org.bluetooth.unit.length.mile
0x27A5 压力(磅力每平方寸) org.bluetooth.unit.pressure.pound_force_per_square_inch
0x27A6 速度(千米每小时) org.bluetooth.unit.velocity.kilometre_per_hour
0x27A7 速度(英里每小时) org.bluetooth.unit.velocity.mile_per_hour
0x27A8 角速度(转每分钟) org.bluetooth.unit.angular_velocity.revolution_per_minute
0x27A9 能量(克卡) org.bluetooth.unit.energy.gram_calorie
0x27AA 能量(千卡) org.bluetooth.unit.energy.kilogram_calorie
0x27AB 能量(千瓦时) org.bluetooth.unit.energy.kilowatt_hour
0x27AC 热力学温度(华氏度) org.bluetooth.unit.thermodynamic_temperature.degree_fahrenheit
0x27AD 百分比 org.bluetooth.unit.percentage
0x27AE 千分率 org.bluetooth.unit.per_mille
0x27AF 周期(差拍振动每分钟) org.bluetooth.unit.period.beats_per_minute
0x27B0 电荷(安培小时) org.bluetooth.unit.electric_charge.ampere_hours
0x27B1 质量密度(毫克每分升) org.bluetooth.unit.mass_density.milligram_per_decilitre
0x27B2 质量密度(毫克每公升) org.bluetooth.unit.mass_density.millimole_per_litre
0x27B3 时间(年) org.bluetooth.unit.time.year
0x27B4 时间(月) org.bluetooth.unit.time.month
0x27B5 浓度(计数每立方米) org.bluetooth.unit.concentration.count_per_cubic_metre
0x27B6 辐照度(瓦每平方米) org.bluetooth.unit.irradiance.watt_per_square_metre

格式类型

缩写名称 大小和说明
rfu 保留作日后用途
gatt_uuid 16位无符号整数或128位无符号整数
boolean 无符号1位;0=假,1=真
2bit 2位值
nibble 4位值
8bit 8位值
16bit 16位值
24bit 24位值
32bit 32位值
uint8 8位无符号整数
uint12 12位无符号整数
uint16 16位无符号整数
uint24 24位无符号整数
uint32 32位无符号整数
uint40 40位无符号整数
uint48 48位无符号整数
uint64 64位无符号整数
uint128 128位无符号整数
sint8 8位有符号整数
sint12 12位有符号整数
sint16 16位有符号整数
sint24 24位有符号整数
sint32 32位有符号整数
sint48 48位有符号整数
sint64 64位有符号整数
sint128 128位有符号整数
float32 IEEE-754 32位浮点
float64 IEEE-754 64位浮点
SFLOAT IEEE-11073 16位SFLOAT
FLOAT IEEE-11073 32位FLOAT
dunit16 16位无符号双位整数
utf8s UTF-8字符串
utf16s UTF-16字符串
reg-cert-data-list 监管认证数据表—请参阅IEEE 11073-20601监管认证数据表特征
variable 定义见服务规格
Array[] 例如: uint8[]

参考

参考[1] https://developer.bluetooth.org/gatt/services/Pages/ServicesHome.aspx

你可能感兴趣的:(蓝牙标准服务)