ble_app_hrs 属性服务器 示例 句柄分布
服务类型
|
句柄
|
UUID
|
内容
|
GAP | 01 | "Generic Access Profile"(0x1800)主服务声明 | 句柄范围01-07 |
GAP | 02 | "Characteristic"(0x2803) 特性声明 | Properties read|write |
GAP | 03 | "Device Name"(0x2A00) | "Nordic_HRM" |
GAP | 04 | "Characteristic"(0x2803) 特性声明 | Properties read |
GAP | 05 | "Appearance"(0x2A01) | Heart Rate Sensor: Heart Rate Belt[833](0x0341) |
GAP | 06 | "Characteristic"(0x2803) 特性声明 | Properties read |
GAP | 07 | "Peripheral Preferred Connection Parameters"(0x2A04) |
Connection Interval:500ms-1000ms
Slave Latency :0
Supervision Timeout Multiplier :400
|
GATT | 08 | "Generic Attribute Profile"(0x1801)主服务声明 | 句柄范围08-11 |
GATT | 09 | "Characteristic"(0x2803) 特性声明 | Properties indicate |
GATT | 10 | "Service Changed"(0x2A05) | |
GATT | 11 | "Client Characteristic Configuration"(0x2902) | 默认indecate关(enable services时会修改indecate为开) |
Heart Rate Monitor | 12 | "Heart Rate Monitor"(0x180D)主服务声明 | 句柄范围12-17 |
Heart Rate Monitor | 13 | "Characteristic"(0x2803) 特性声明 | Properties notify |
Heart Rate Monitor | 14 | "Heart Rate Measurement"(0x2A37) | 默认180(由程序定义,按键可修改) |
Heart Rate Monitor | 15 |
"Client Characteristic Configuration"(0x2902)
| 默认notify关(enable services时会修改notify为开,每隔1s设备会给手机发心率数) |
Heart Rate Monitor | 16 | "Characteristic"(0x2803) 特性声明 | Properties read |
Heart Rate Monitor | 17 | "Body Sensor Location"(0x2A38) |
Finger
|
Battery | 18 | "Battery"(0x180F)主服务声明 | 句柄范围18-21 |
Battery | 19 | "Characteristic"(0x2803) 特性声明 | Properties notify| read |
Battery | 20 |
"
Battery Level
"(0x2A19)
| 电量百分比 |
Battery | 21 | "Client Characteristic Configuration"(0x2902) | 默认notify关(enable services时会修改notify为开,每隔2s查询设备电量,如果电量有改变则会发电量给手机) |
Device Information | 22 | "Device Information"(0x180A)主服务声明 | 句柄范围22-65535 |
Device Information | 23 | "Characteristic"(0x2803) 特性声明 | Properties read |
Device Information | 24 | "Manufacturer Name"(0x2A29) |
NordicSemiconductor
|