Add New Device IDs for FIT files (#3315)

add Garmin Edge 830
add Stages Cycling
Add test file for Garmin Edge 830 with Stages Cycling power meter
This commit is contained in:
Poncho
2020-01-26 22:52:13 +01:00
committed by Alejandro Martinez
parent e64b6fb557
commit 40d03c4402
2 changed files with 10 additions and 0 deletions

View File

@@ -382,6 +382,7 @@ struct FitFileReaderState
case 3111: return "Garmin Fenix 5x +"; case 3111: return "Garmin Fenix 5x +";
case 3112: return "Garmin Edge 520 +"; case 3112: return "Garmin Edge 520 +";
case 3113: return "Garmin FR945"; case 3113: return "Garmin FR945";
case 3122: return "Garmin Edge 830";
case 3126: return "Garmin Instinct"; case 3126: return "Garmin Instinct";
case 3291: return "Garmin Fenix 6x"; case 3291: return "Garmin Fenix 6x";
case 20119: return "Garmin Training Center"; case 20119: return "Garmin Training Center";
@@ -465,6 +466,15 @@ struct FitFileReaderState
case 2: return "Pioneer SGX-CA500"; case 2: return "Pioneer SGX-CA500";
default: return QString("Pioneer %1").arg(prod); default: return QString("Pioneer %1").arg(prod);
} }
} else if (manu == 69) {
// Stages Cycling
switch (prod) {
case -1: return "Stages Cycling";
case 1: return "Stages Power Gen 1";
case 2: return "Stages Power Gen 2";
case 3: return "Stages Power Gen 3";
default: return QString("Stages Cycling %1").arg(prod);
}
} else if (manu == 70) { } else if (manu == 70) {
// does not set product at this point // does not set product at this point
return "Sigmasport ROX"; return "Sigmasport ROX";

Binary file not shown.