Return request type for response type

This commit is contained in:
2021-10-24 00:45:50 -07:00
parent 2ea9f99db6
commit dff34b484d
2 changed files with 16 additions and 32 deletions

View File

@@ -17,23 +17,6 @@ const (
ReqTypeCancel
)
const (
ResTypeHeartRate = iota
ResTypeBattLevel
ResTypeFwVersion
ResTypeDFUProgress
ResTypeBtAddress
ResTypeNotify
ResTypeSetTime
ResTypeWatchHeartRate
ResTypeWatchBattLevel
ResTypeMotion
ResTypeWatchMotion
ResTypeStepCount
ResTypeWatchStepCount
ResTypeCancel
)
const (
UpgradeTypeArchive = iota
UpgradeTypeFiles