Commit d00927dc6bb2f0cfc50943a1dc9a793944816d05
1 parent
d8bf97cb
feat:heart rate
Showing
1 changed file
with
8 additions
and
0 deletions
HDFwear/20231111ReadMe.md
@@ -13,3 +13,11 @@ BluetoothManager+Function | @@ -13,3 +13,11 @@ BluetoothManager+Function | ||
13 | 发送: [237, 126, 0, 1, 0, 39, 0, 1, 0, 5, 0, 22, 0, 22, 0, 214, 52] | 13 | 发送: [237, 126, 0, 1, 0, 39, 0, 1, 0, 5, 0, 22, 0, 22, 0, 214, 52] |
14 | 接收: [237, 126, 0, 1, 128, 1, 0, 1, 0, 5, 0, 1, 0, 39, 0, 105, 2] | 14 | 接收: [237, 126, 0, 1, 128, 1, 0, 1, 0, 5, 0, 1, 0, 39, 0, 105, 2] |
15 | 15 | ||
16 | +拉取心跳数据 | ||
17 | + func getHeartRateHistoryData(closure: HeartRateClosure? = nil) | ||
18 | + 发送: [237, 126, 0, 1, 0, 40, 0, 1, 0, 1, 1, 128, 205] | ||
19 | + | ||
20 | +接收心跳数据 | ||
21 | + func parseHeartRateData (_ content: [UInt8]) | ||
22 | + 接收: [237, 126, 0, 1, 128, 22, 0, 1, 0, 5, 101, 73, 152, 158, 60, 178, 104] | ||
23 | + |