20240301ReadMe.md 2.62 KB

接口说明:

接口实现 BluetoothManager+Function

发送数据类 拉取消息通知开关 func newGetMessageRemindData(option: SyncOption = .now, closure: MessageRemindClosure? = nil) 发送: [237, 126, 0, 1, 0, 40, 0, 1, 0, 2, 23, 1, 188, 44] 接收: [237, 126, 0, 1, 128, 57, 0, 1, 0, 1, 11, 213, 90]

拉取紧急常用联系人 北斗联系人 func newGetBeiDouContactData(option: SyncOption = .now, closure: BeiDouContactClosure? = nil) 发送: [237, 126, 0, 1, 0, 40, 0, 1, 0, 2, 24, 1, 172, 18] 接收: [237, 126, 0, 1, 128, 64, 0, 1, 0, 90, 4, 9, 229, 145, 168, 230, 157, 176, 228, 188, 166, 11, 49, 56, 57, 55, 52, 57, 54, 48, 48, 48, 49, 1, 9, 230, 162, 129, 230, 156, 157, 228, 188, 159, 11, 49, 56, 57, 55, 52, 57, 54, 48, 48, 48, 50, 2, 9, 229, 144, 180, 229, 189, 166, 231, 165, 150, 11, 49, 56, 57, 55, 52, 57, 54, 48, 48, 48, 51, 1, 6, 230, 136, 144, 233, 190, 153, 11, 49, 56, 57, 55, 52, 57, 54, 48, 48, 48, 52, 2, 240, 77]

拉取压力开关 压力检测开关 func newGetPressureAutoDetectData(option: SyncOption = .now, closure: PressureAutoDetectClosure? = nil) 发送: [237, 126, 0, 1, 0, 40, 0, 1, 0, 2, 25, 1, 159, 35] 接收: [237, 126, 0, 1, 128, 65, 0, 1, 0, 1, 1, 60, 206]

拉取低电量提醒开关 func newGetLowPowerRemindData(option: SyncOption = .now, closure: LowPowerRemindClosure? = nil) 发送: [237, 126, 0, 1, 0, 40, 0, 1, 0, 2, 26, 1, 202, 112] 接收: [237, 126, 0, 1, 128, 66, 0, 1, 0, 1, 1, 242, 46]

拉取北斗消息回复 北斗消息自动回复 func newGetBeiDouQuickAnswerData(option: SyncOption = .now, closure: BeiDouQuickAnswerClosure? = nil) 发送: [237, 126, 0, 1, 0, 40, 0, 1, 0, 2, 27, 1, 249, 65] 接收: [237, 126, 0, 1, 128, 67, 0, 1, 0, 15, 2, 6, 229, 140, 151, 230, 150, 151, 6, 229, 141, 151, 230, 150, 151, 124, 127]

拉取运动心率预警开关 func newGetExerciseHrRemindData(option: SyncOption = .now, closure: ExerciseHrRemindClosure? = nil) 发送: [237, 126, 0, 1, 0, 40, 0, 1, 0, 2, 28, 1, 96, 214] 接收: [237, 126, 0, 1, 128, 68, 0, 1, 0, 3, 1, 110, 150, 22, 246]

拉取心率自动测量开关 连续测量心率 func newGetHrAutoDetectData(option: SyncOption = .now, closure: HrAutoDetectClosure? = nil) 发送: [237, 126, 0, 1, 0, 40, 0, 1, 0, 2, 29, 1, 83, 231] 接收: [237, 126, 0, 1, 128, 69, 0, 1, 0, 3, 1, 18, 0, 255, 110]

拉取安静心率提醒设置 func newGetRestHrRemindData(option: SyncOption = .now, closure: RestHrRemindClosure? = nil) 发送: [237, 126, 0, 1, 0, 40, 0, 1, 0, 2, 30, 1, 6, 180] 接收: [237, 126, 0, 1, 128, 70, 0, 1, 0, 3, 1, 60, 90, 233, 77]