FitRideFile - Extra fields 136, 143 and 144

Decoded as Wrist HR, Body Battery and External HR.
Fixes #4480
This commit is contained in:
Alejandro Martinez
2024-04-24 14:04:25 -03:00
parent 4f5a0eb2e1
commit c693ed6b1c
2 changed files with 10 additions and 0 deletions

View File

@@ -1483,12 +1483,21 @@ struct FitFileParser
case 133: // Pulse Ox
return "PULSEOX";
case 136: // Wrist HR
return "WRISTHR";
case 137: // Potential Stamina
return "POTENTIALSTAMINA";
case 138: // Stamina
return "STAMINA";
case 143: // Body Battery
return "BODYBATTERY";
case 144: // External HR
return "EXTERNALHR";
default:
return QString("FIELD_%1").arg(native_num);
}
@@ -1804,6 +1813,7 @@ struct FitFileParser
// the contents into an XDATA tab
void decodeGeneric(QString message, const FitMessage &def, int time_offset,
const std::vector<FitValue>& values) {
Q_UNUSED(time_offset);
// we don't do it for all messages, it would get out of hand!
if (!GenericDecodeList.contains(message)) return;

Binary file not shown.