mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-04-13 12:42:20 +00:00
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:
committed by
Alejandro Martinez
parent
e64b6fb557
commit
40d03c4402
@@ -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";
|
||||||
|
|||||||
BIN
test/rides/Garmin830_with_Stages.fit
Normal file
BIN
test/rides/Garmin830_with_Stages.fit
Normal file
Binary file not shown.
Reference in New Issue
Block a user