Commit 37775d8edeb01c0cd05b89a3f34349271dcc7e56

Authored by daifengyi
1 parent dd1edac2

feat:add cmd

HDFwear/Tools/Bluetooth+Types.swift
... ... @@ -115,6 +115,9 @@ enum SetCmd: UInt8 {
115 115 }
116 116  
117 117 enum NewCmd: UInt8 {
  118 +// case response = 0x01
  119 +// case queryDevice = 0x02
  120 +// case ota = 0x07
118 121 case setTime = 0x09
119 122 case setTimeFormat = 0x10
120 123 case setTemperatureUnit = 0x11
... ...
HDFwear/Tools/BluetoothManager+Function.swift
... ... @@ -322,6 +322,10 @@ extension BluetoothManager {
322 322 print("睡眠数据上报")
323 323 case 0x8020:// 历史压力数据上报
324 324 print("历史压力数据上报")
  325 + case 0x8021:// 分时段计步数据上报
  326 + print("分时段计步数据上报")
  327 + case 0x8022:// 遥控拍照
  328 + print("遥控拍照")
325 329 default:
326 330 break
327 331 }
... ...