c500670f
jason
feat:setNotDistur...
|
1
2
3
4
5
|
接口说明
接口实现
BluetoothManager+Function
|
d8bf97cb
jason
docs:newSetTime
|
6
7
8
9
10
|
设置时间
func newSetTime(completion: ((_ error: Int?) -> ())? = nil)
发送: [237, 126, 0, 1, 0, 9, 0, 1, 0, 7, 23, 11, 12, 20, 14, 35, 7, 28, 46]
接收: [237, 126, 0, 1, 128, 1, 0, 1, 0, 5, 0, 1, 0, 9, 0, 76, 235]
|
c500670f
jason
feat:setNotDistur...
|
11
12
13
14
15
|
设置勿扰模式
func newSetNotDisturb(remind: RemindModel, completion: @escaping(_ error: Int?) -> ())
发送: [237, 126, 0, 1, 0, 39, 0, 1, 0, 5, 0, 22, 0, 22, 0, 214, 52]
接收: [237, 126, 0, 1, 128, 1, 0, 1, 0, 5, 0, 1, 0, 39, 0, 105, 2]
|
d00927dc
jason
feat:heart rate
|
16
17
18
19
20
21
22
23
|
拉取心跳数据
func getHeartRateHistoryData(closure: HeartRateClosure? = nil)
发送: [237, 126, 0, 1, 0, 40, 0, 1, 0, 1, 1, 128, 205]
接收心跳数据
func parseHeartRateData (_ content: [UInt8])
接收: [237, 126, 0, 1, 128, 22, 0, 1, 0, 5, 101, 73, 152, 158, 60, 178, 104]
|
aa6e9631
jason
feat:blood oxygen
|
24
25
26
27
28
29
30
|
拉取血氧数据
func getBloodOxygenHistoryData(closure: BloodOxygenClosure? = nil)
发送: [237, 126, 0, 1, 0, 40, 0, 1, 0, 1, 2, 176, 174]
接收血氧数据
func parseBlooodOxygenData (_ content: [UInt8])
接收: [237, 126, 0, 1, 128, 23, 0, 1, 0, 5, 101, 73, 152, 158, 90, 209, 77]
|
8c49e5a6
jason
feat:find phone
|
31
32
33
34
35
|
接收查找手机
消息ID 0x8015
触发BluetoothSyncDelegate中的didReceiveFindPhoneCommand
接收: [237, 126, 0, 1, 128, 21, 0, 1, 0, 1, 1, 74, 251]
|