Commit d3d7067177705f5c9cb139bb3d75530a7071dc52
1 parent
2d226fe2
feat:newSetRestore
Showing
2 changed files
with
5 additions
and
4 deletions
HDFwear/20240110ReadMe.md
@@ -30,3 +30,8 @@ BluetoothManager+Function | @@ -30,3 +30,8 @@ BluetoothManager+Function | ||
30 | 发送: [237, 126, 0, 1, 0, 22, 0, 1, 0, 1, 0, 63, 195] | 30 | 发送: [237, 126, 0, 1, 0, 22, 0, 1, 0, 1, 0, 63, 195] |
31 | 发送: [237, 126, 0, 1, 0, 22, 0, 1, 0, 1, 0, 63, 195] | 31 | 发送: [237, 126, 0, 1, 0, 22, 0, 1, 0, 1, 0, 63, 195] |
32 | 接收: [237, 126, 0, 1, 128, 1, 0, 1, 0, 5, 0, 1, 0, 22, 0, 95, 166] | 32 | 接收: [237, 126, 0, 1, 128, 1, 0, 1, 0, 5, 0, 1, 0, 22, 0, 95, 166] |
33 | + | ||
34 | +设置恢复出厂设置 | ||
35 | + func newSetRestore(completion: ((_ error: Int?) -> ())? = nil) | ||
36 | + 发送: [237, 126, 0, 1, 0, 23, 0, 1, 0, 0, 19, 107] | ||
37 | + 接收: [237, 126, 0, 1, 128, 1, 0, 1, 0, 5, 0, 1, 0, 23, 0, 108, 151] |
HDFwear/ReadMe.txt
@@ -30,10 +30,6 @@ BluetoothManager+Function | @@ -30,10 +30,6 @@ BluetoothManager+Function | ||
30 | func newSetLowPowerRemind(bool: Bool, completion: ((_ error: Int?) -> ())? = nil) | 30 | func newSetLowPowerRemind(bool: Bool, completion: ((_ error: Int?) -> ())? = nil) |
31 | 发送: [237, 126, 0, 1, 0, 21, 0, 1, 0, 1, 1, 225, 2] | 31 | 发送: [237, 126, 0, 1, 0, 21, 0, 1, 0, 1, 1, 225, 2] |
32 | 32 | ||
33 | -11. 设置恢复出厂设置 | ||
34 | - func newSetRestore(completion: ((_ error: Int?) -> ())? = nil) | ||
35 | - 发送: [237, 126, 0, 1, 0, 23, 0, 1, 0, 0, 19, 107] | ||
36 | - | ||
37 | 12. 设置心率过高提醒 | 33 | 12. 设置心率过高提醒 |
38 | func newSetHeartRateHighRemind(maxHr: UInt8, completion: ((_ error: Int?) -> ())? = nil) | 34 | func newSetHeartRateHighRemind(maxHr: UInt8, completion: ((_ error: Int?) -> ())? = nil) |
39 | 发送: [237, 126, 0, 1, 0, 24, 0, 1, 0, 1, 120, 64, 255] | 35 | 发送: [237, 126, 0, 1, 0, 24, 0, 1, 0, 1, 120, 64, 255] |