d8bf97cb
jason
docs:newSetTime
|
8
9
10
11
12
|
设置时间
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...
|
13
14
15
16
17
|
设置勿扰模式
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
|
18
19
20
21
22
23
24
25
|
拉取心跳数据
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
|
26
27
28
29
30
31
32
|
拉取血氧数据
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]
|
b05829d0
jason
feat:set weather
|
38
39
40
41
42
43
|
设置天气
func newSetWeather(weather: NewWeatherModel, completion: @escaping(_ error: Int?) -> ()) {
发送: [237, 126, 0, 1, 0, 49, 0, 1, 0, 34, 101, 86, 25, 192, 15, 10, 20, 2, 4, 3, 6, 4, 1, 11, 21, 1, 12, 22, 1, 13, 23, 1, 14, 24, 1, 15, 25, 6, 233, 149, 191, 230, 178, 153, 198, 52]
接收: [237, 126, 0, 1, 128, 1, 0, 1, 0, 5, 0, 1, 0, 49, 0, 192, 215]
接收: [237, 126, 0, 1, 128, 1, 0, 1, 0, 5, 0, 1, 0, 49, 14, 33, 25]
|