diff --git a/HDFwear/20231111ReadMe.md b/HDFwear/20231111ReadMe.md index 42ece05..efdef17 100644 --- a/HDFwear/20231111ReadMe.md +++ b/HDFwear/20231111ReadMe.md @@ -28,3 +28,8 @@ BluetoothManager+Function 接收血氧数据 func parseBlooodOxygenData (_ content: [UInt8]) 接收: [237, 126, 0, 1, 128, 23, 0, 1, 0, 5, 101, 73, 152, 158, 90, 209, 77] + +接收查找手机 + 消息ID 0x8015 + 触发BluetoothSyncDelegate中的didReceiveFindPhoneCommand + 接收: [237, 126, 0, 1, 128, 21, 0, 1, 0, 1, 1, 74, 251] diff --git a/HDFwear/Setting/SettingViewController.swift b/HDFwear/Setting/SettingViewController.swift index 9b8fea6..5472544 100644 --- a/HDFwear/Setting/SettingViewController.swift +++ b/HDFwear/Setting/SettingViewController.swift @@ -514,6 +514,10 @@ extension SettingViewController: BluetoothSyncDelegate { // DeviceIsCharging = isCharging updateBattery(value, isCharging: false) } + + func didReceiveFindPhoneCommand(value: Int) { + MBProgressHUD.show("did receive find phone command"); + } } extension SettingViewController: BluetoothManagerDelegate { func centralManagerDidUpdateState(_ state: Int) {