Skip to content

Commit

Permalink
Garmin FIT SDK 21.141.0
Browse files Browse the repository at this point in the history
Garmin FIT SDK 21.141.0
  • Loading branch information
Lijah99 authored May 13, 2024
2 parents d69a5df + da06778 commit b4f8a30
Show file tree
Hide file tree
Showing 331 changed files with 880 additions and 660 deletions.
4 changes: 2 additions & 2 deletions Dynastream/Fit/AccumulatedField.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
// Transfer (FIT) Protocol License.
/////////////////////////////////////////////////////////////////////////////////////////////
// ****WARNING**** This file is auto-generated! Do NOT edit this file.
// Profile Version = 21.139.2Release
// Tag = production/release/21.139.2-0-g9eaea05
// Profile Version = 21.141.0Release
// Tag = production/release/21.141.0-0-g2aa27e1
/////////////////////////////////////////////////////////////////////////////////////////////

#endregion
Expand Down
4 changes: 2 additions & 2 deletions Dynastream/Fit/Accumulator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
// Transfer (FIT) Protocol License.
/////////////////////////////////////////////////////////////////////////////////////////////
// ****WARNING**** This file is auto-generated! Do NOT edit this file.
// Profile Version = 21.139.2Release
// Tag = production/release/21.139.2-0-g9eaea05
// Profile Version = 21.141.0Release
// Tag = production/release/21.141.0-0-g2aa27e1
/////////////////////////////////////////////////////////////////////////////////////////////

#endregion
Expand Down
4 changes: 2 additions & 2 deletions Dynastream/Fit/BufferedMesgBroadcaster.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
// Transfer (FIT) Protocol License.
/////////////////////////////////////////////////////////////////////////////////////////////
// ****WARNING**** This file is auto-generated! Do NOT edit this file.
// Profile Version = 21.139.2Release
// Tag = production/release/21.139.2-0-g9eaea05
// Profile Version = 21.141.0Release
// Tag = production/release/21.141.0-0-g2aa27e1
/////////////////////////////////////////////////////////////////////////////////////////////

#endregion
Expand Down
4 changes: 2 additions & 2 deletions Dynastream/Fit/Crc.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
// Transfer (FIT) Protocol License.
/////////////////////////////////////////////////////////////////////////////////////////////
// ****WARNING**** This file is auto-generated! Do NOT edit this file.
// Profile Version = 21.139.2Release
// Tag = production/release/21.139.2-0-g9eaea05
// Profile Version = 21.141.0Release
// Tag = production/release/21.141.0-0-g2aa27e1
/////////////////////////////////////////////////////////////////////////////////////////////

#endregion
Expand Down
4 changes: 2 additions & 2 deletions Dynastream/Fit/Decode.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
// Transfer (FIT) Protocol License.
/////////////////////////////////////////////////////////////////////////////////////////////
// ****WARNING**** This file is auto-generated! Do NOT edit this file.
// Profile Version = 21.139.2Release
// Tag = production/release/21.139.2-0-g9eaea05
// Profile Version = 21.141.0Release
// Tag = production/release/21.141.0-0-g2aa27e1
/////////////////////////////////////////////////////////////////////////////////////////////

#endregion
Expand Down
4 changes: 2 additions & 2 deletions Dynastream/Fit/DecodeMode.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
// Transfer (FIT) Protocol License.
/////////////////////////////////////////////////////////////////////////////////////////////
// ****WARNING**** This file is auto-generated! Do NOT edit this file.
// Profile Version = 21.139.2Release
// Tag = production/release/21.139.2-0-g9eaea05
// Profile Version = 21.141.0Release
// Tag = production/release/21.141.0-0-g2aa27e1
/////////////////////////////////////////////////////////////////////////////////////////////

#endregion
Expand Down
6 changes: 3 additions & 3 deletions Dynastream/Fit/Defines.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
// Transfer (FIT) Protocol License.
/////////////////////////////////////////////////////////////////////////////////////////////
// ****WARNING**** This file is auto-generated! Do NOT edit this file.
// Profile Version = 21.139.2Release
// Tag = production/release/21.139.2-0-g9eaea05
// Profile Version = 21.141.0Release
// Tag = production/release/21.141.0-0-g2aa27e1
/////////////////////////////////////////////////////////////////////////////////////////////

#endregion
Expand Down Expand Up @@ -83,7 +83,7 @@ public class Fit
public const ushort ProfileVersion = ((ProfileMajorVersion * ProfileVersionScale) + ProfileMinorVersion);
public const ushort ProfileVersionScale = 1000;
public const ushort ProfileMajorVersion = 21;
public const ushort ProfileMinorVersion = 139;
public const ushort ProfileMinorVersion = 141;

public const byte HeaderTypeMask = 0xF0;
public const byte CompressedHeaderMask = 0x80;
Expand Down
4 changes: 2 additions & 2 deletions Dynastream/Fit/DeveloperDataKey.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
// Transfer (FIT) Protocol License.
/////////////////////////////////////////////////////////////////////////////////////////////
// ****WARNING**** This file is auto-generated! Do NOT edit this file.
// Profile Version = 21.139.2Release
// Tag = production/release/21.139.2-0-g9eaea05
// Profile Version = 21.141.0Release
// Tag = production/release/21.141.0-0-g2aa27e1
/////////////////////////////////////////////////////////////////////////////////////////////

#endregion
Expand Down
4 changes: 2 additions & 2 deletions Dynastream/Fit/DeveloperDataLookup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
// Transfer (FIT) Protocol License.
/////////////////////////////////////////////////////////////////////////////////////////////
// ****WARNING**** This file is auto-generated! Do NOT edit this file.
// Profile Version = 21.139.2Release
// Tag = production/release/21.139.2-0-g9eaea05
// Profile Version = 21.141.0Release
// Tag = production/release/21.141.0-0-g2aa27e1
/////////////////////////////////////////////////////////////////////////////////////////////


Expand Down
4 changes: 2 additions & 2 deletions Dynastream/Fit/DeveloperField.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
// Transfer (FIT) Protocol License.
/////////////////////////////////////////////////////////////////////////////////////////////
// ****WARNING**** This file is auto-generated! Do NOT edit this file.
// Profile Version = 21.139.2Release
// Tag = production/release/21.139.2-0-g9eaea05
// Profile Version = 21.141.0Release
// Tag = production/release/21.141.0-0-g2aa27e1
/////////////////////////////////////////////////////////////////////////////////////////////

#endregion
Expand Down
4 changes: 2 additions & 2 deletions Dynastream/Fit/DeveloperFieldDefinition.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
// Transfer (FIT) Protocol License.
/////////////////////////////////////////////////////////////////////////////////////////////
// ****WARNING**** This file is auto-generated! Do NOT edit this file.
// Profile Version = 21.139.2Release
// Tag = production/release/21.139.2-0-g9eaea05
// Profile Version = 21.141.0Release
// Tag = production/release/21.141.0-0-g2aa27e1
/////////////////////////////////////////////////////////////////////////////////////////////

#endregion
Expand Down
4 changes: 2 additions & 2 deletions Dynastream/Fit/DeveloperFieldDescription.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
// Transfer (FIT) Protocol License.
/////////////////////////////////////////////////////////////////////////////////////////////
// ****WARNING**** This file is auto-generated! Do NOT edit this file.
// Profile Version = 21.139.2Release
// Tag = production/release/21.139.2-0-g9eaea05
// Profile Version = 21.141.0Release
// Tag = production/release/21.141.0-0-g2aa27e1
/////////////////////////////////////////////////////////////////////////////////////////////


Expand Down
4 changes: 2 additions & 2 deletions Dynastream/Fit/Encode.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
// Transfer (FIT) Protocol License.
/////////////////////////////////////////////////////////////////////////////////////////////
// ****WARNING**** This file is auto-generated! Do NOT edit this file.
// Profile Version = 21.139.2Release
// Tag = production/release/21.139.2-0-g9eaea05
// Profile Version = 21.141.0Release
// Tag = production/release/21.141.0-0-g2aa27e1
/////////////////////////////////////////////////////////////////////////////////////////////

#endregion
Expand Down
4 changes: 2 additions & 2 deletions Dynastream/Fit/Field.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
// Transfer (FIT) Protocol License.
/////////////////////////////////////////////////////////////////////////////////////////////
// ****WARNING**** This file is auto-generated! Do NOT edit this file.
// Profile Version = 21.139.2Release
// Tag = production/release/21.139.2-0-g9eaea05
// Profile Version = 21.141.0Release
// Tag = production/release/21.141.0-0-g2aa27e1
/////////////////////////////////////////////////////////////////////////////////////////////

#endregion
Expand Down
4 changes: 2 additions & 2 deletions Dynastream/Fit/FieldBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
// Transfer (FIT) Protocol License.
/////////////////////////////////////////////////////////////////////////////////////////////
// ****WARNING**** This file is auto-generated! Do NOT edit this file.
// Profile Version = 21.139.2Release
// Tag = production/release/21.139.2-0-g9eaea05
// Profile Version = 21.141.0Release
// Tag = production/release/21.141.0-0-g2aa27e1
/////////////////////////////////////////////////////////////////////////////////////////////

#endregion
Expand Down
4 changes: 2 additions & 2 deletions Dynastream/Fit/FieldComponent.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
// Transfer (FIT) Protocol License.
/////////////////////////////////////////////////////////////////////////////////////////////
// ****WARNING**** This file is auto-generated! Do NOT edit this file.
// Profile Version = 21.139.2Release
// Tag = production/release/21.139.2-0-g9eaea05
// Profile Version = 21.141.0Release
// Tag = production/release/21.141.0-0-g2aa27e1
/////////////////////////////////////////////////////////////////////////////////////////////

#endregion
Expand Down
4 changes: 2 additions & 2 deletions Dynastream/Fit/FieldDefinition.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
// Transfer (FIT) Protocol License.
/////////////////////////////////////////////////////////////////////////////////////////////
// ****WARNING**** This file is auto-generated! Do NOT edit this file.
// Profile Version = 21.139.2Release
// Tag = production/release/21.139.2-0-g9eaea05
// Profile Version = 21.141.0Release
// Tag = production/release/21.141.0-0-g2aa27e1
/////////////////////////////////////////////////////////////////////////////////////////////

#endregion
Expand Down
4 changes: 2 additions & 2 deletions Dynastream/Fit/FitException.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
// Transfer (FIT) Protocol License.
/////////////////////////////////////////////////////////////////////////////////////////////
// ****WARNING**** This file is auto-generated! Do NOT edit this file.
// Profile Version = 21.139.2Release
// Tag = production/release/21.139.2-0-g9eaea05
// Profile Version = 21.141.0Release
// Tag = production/release/21.141.0-0-g2aa27e1
/////////////////////////////////////////////////////////////////////////////////////////////

#endregion
Expand Down
7 changes: 5 additions & 2 deletions Dynastream/Fit/FitListener.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
// Transfer (FIT) Protocol License.
/////////////////////////////////////////////////////////////////////////////////////////////
// ****WARNING**** This file is auto-generated! Do NOT edit this file.
// Profile Version = 21.139.2Release
// Tag = production/release/21.139.2-0-g9eaea05
// Profile Version = 21.141.0Release
// Tag = production/release/21.141.0-0-g2aa27e1
/////////////////////////////////////////////////////////////////////////////////////////////

#endregion
Expand Down Expand Up @@ -383,6 +383,9 @@ public void OnMesg(object sender, MesgEventArgs e)
case (ushort)MesgNum.SleepAssessment:
FitMessages.sleepAssessmentMesgs.Add(new SleepAssessmentMesg(e.mesg));
break;
case (ushort)MesgNum.SkinTempOvernight:
FitMessages.skinTempOvernightMesgs.Add(new SkinTempOvernightMesg(e.mesg));
break;
case (ushort)MesgNum.Pad:
FitMessages.padMesgs.Add(new PadMesg(e.mesg));
break;
Expand Down
6 changes: 4 additions & 2 deletions Dynastream/Fit/FitMessages.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
// Transfer (FIT) Protocol License.
/////////////////////////////////////////////////////////////////////////////////////////////
// ****WARNING**** This file is auto-generated! Do NOT edit this file.
// Profile Version = 21.139.2Release
// Tag = production/release/21.139.2-0-g9eaea05
// Profile Version = 21.141.0Release
// Tag = production/release/21.141.0-0-g2aa27e1
/////////////////////////////////////////////////////////////////////////////////////////////

#endregion
Expand Down Expand Up @@ -140,6 +140,7 @@ public FitMessages() { }
protected internal List<TankUpdateMesg> tankUpdateMesgs = new List<TankUpdateMesg>();
protected internal List<TankSummaryMesg> tankSummaryMesgs = new List<TankSummaryMesg>();
protected internal List<SleepAssessmentMesg> sleepAssessmentMesgs = new List<SleepAssessmentMesg>();
protected internal List<SkinTempOvernightMesg> skinTempOvernightMesgs = new List<SkinTempOvernightMesg>();
protected internal List<PadMesg> padMesgs = new List<PadMesg>();


Expand Down Expand Up @@ -261,6 +262,7 @@ public FitMessages() { }
public ReadOnlyCollection<TankUpdateMesg> TankUpdateMesgs => new ReadOnlyCollection<TankUpdateMesg>(tankUpdateMesgs);
public ReadOnlyCollection<TankSummaryMesg> TankSummaryMesgs => new ReadOnlyCollection<TankSummaryMesg>(tankSummaryMesgs);
public ReadOnlyCollection<SleepAssessmentMesg> SleepAssessmentMesgs => new ReadOnlyCollection<SleepAssessmentMesg>(sleepAssessmentMesgs);
public ReadOnlyCollection<SkinTempOvernightMesg> SkinTempOvernightMesgs => new ReadOnlyCollection<SkinTempOvernightMesg>(skinTempOvernightMesgs);
public ReadOnlyCollection<PadMesg> PadMesgs => new ReadOnlyCollection<PadMesg>(padMesgs);
}
}
4 changes: 2 additions & 2 deletions Dynastream/Fit/Header.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
// Transfer (FIT) Protocol License.
/////////////////////////////////////////////////////////////////////////////////////////////
// ****WARNING**** This file is auto-generated! Do NOT edit this file.
// Profile Version = 21.139.2Release
// Tag = production/release/21.139.2-0-g9eaea05
// Profile Version = 21.141.0Release
// Tag = production/release/21.141.0-0-g2aa27e1
/////////////////////////////////////////////////////////////////////////////////////////////

#endregion
Expand Down
4 changes: 2 additions & 2 deletions Dynastream/Fit/IMesgBroadcastPlugin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
// Transfer (FIT) Protocol License.
/////////////////////////////////////////////////////////////////////////////////////////////
// ****WARNING**** This file is auto-generated! Do NOT edit this file.
// Profile Version = 21.139.2Release
// Tag = production/release/21.139.2-0-g9eaea05
// Profile Version = 21.141.0Release
// Tag = production/release/21.141.0-0-g2aa27e1
/////////////////////////////////////////////////////////////////////////////////////////////

#endregion
Expand Down
4 changes: 2 additions & 2 deletions Dynastream/Fit/Mesg.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
// Transfer (FIT) Protocol License.
/////////////////////////////////////////////////////////////////////////////////////////////
// ****WARNING**** This file is auto-generated! Do NOT edit this file.
// Profile Version = 21.139.2Release
// Tag = production/release/21.139.2-0-g9eaea05
// Profile Version = 21.141.0Release
// Tag = production/release/21.141.0-0-g2aa27e1
/////////////////////////////////////////////////////////////////////////////////////////////

#endregion
Expand Down
16 changes: 14 additions & 2 deletions Dynastream/Fit/MesgBroadcaster.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
// Transfer (FIT) Protocol License.
/////////////////////////////////////////////////////////////////////////////////////////////
// ****WARNING**** This file is auto-generated! Do NOT edit this file.
// Profile Version = 21.139.2Release
// Tag = production/release/21.139.2-0-g9eaea05
// Profile Version = 21.141.0Release
// Tag = production/release/21.141.0-0-g2aa27e1
/////////////////////////////////////////////////////////////////////////////////////////////

#endregion
Expand Down Expand Up @@ -303,6 +303,8 @@ public class MesgBroadcaster

public event MesgEventHandler SleepAssessmentMesgEvent;

public event MesgEventHandler SkinTempOvernightMesgEvent;

public event MesgEventHandler PadMesgEvent;


Expand Down Expand Up @@ -1497,6 +1499,16 @@ public void OnMesg(object sender, MesgEventArgs e)
}
break;

case (ushort)MesgNum.SkinTempOvernight:
if (SkinTempOvernightMesgEvent != null)
{
SkinTempOvernightMesg skinTempOvernightMesg = new SkinTempOvernightMesg(e.mesg);
MesgEventArgs mesgEventArgs = new MesgEventArgs();
mesgEventArgs.mesg = skinTempOvernightMesg;
SkinTempOvernightMesgEvent(sender, mesgEventArgs);
}
break;

case (ushort)MesgNum.Pad:
if (PadMesgEvent != null)
{
Expand Down
4 changes: 2 additions & 2 deletions Dynastream/Fit/MesgDefinition.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
// Transfer (FIT) Protocol License.
/////////////////////////////////////////////////////////////////////////////////////////////
// ****WARNING**** This file is auto-generated! Do NOT edit this file.
// Profile Version = 21.139.2Release
// Tag = production/release/21.139.2-0-g9eaea05
// Profile Version = 21.141.0Release
// Tag = production/release/21.141.0-0-g2aa27e1
/////////////////////////////////////////////////////////////////////////////////////////////

#endregion
Expand Down
27 changes: 25 additions & 2 deletions Dynastream/Fit/Profile.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
// Transfer (FIT) Protocol License.
/////////////////////////////////////////////////////////////////////////////////////////////
// ****WARNING**** This file is auto-generated! Do NOT edit this file.
// Profile Version = 21.139.2Release
// Tag = production/release/21.139.2-0-g9eaea05
// Profile Version = 21.141.0Release
// Tag = production/release/21.141.0-0-g2aa27e1
/////////////////////////////////////////////////////////////////////////////////////////////

#endregion
Expand Down Expand Up @@ -779,6 +779,10 @@ private static void InitMesg(ushort num)
newMesg = CreateSleepAssessmentMesg();
break;

case MesgNum.SkinTempOvernight:
newMesg = CreateSkinTempOvernightMesg();
break;

case MesgNum.Pad:
newMesg = CreatePadMesg();
break;
Expand Down Expand Up @@ -5094,6 +5098,25 @@ private static Mesg CreateSleepAssessmentMesg()
return newMesg;
}

private static Mesg CreateSkinTempOvernightMesg()
{
ushort fieldIndex, subfieldIndex;
Mesg newMesg = new Mesg("SkinTempOvernight", MesgNum.SkinTempOvernight);
fieldIndex = 0;
newMesg.SetField(new Field("Timestamp", 253, 134, 1, 0, "", false, Type.DateTime));
fieldIndex++;
newMesg.SetField(new Field("LocalTimestamp", 0, 134, 1, 0, "", false, Type.LocalDateTime));
fieldIndex++;
newMesg.SetField(new Field("AverageDeviation", 1, 136, 1, 0, "", false, Type.Float32));
fieldIndex++;
newMesg.SetField(new Field("Average7DayDeviation", 2, 136, 1, 0, "", false, Type.Float32));
fieldIndex++;
newMesg.SetField(new Field("NightlyValue", 4, 136, 1, 0, "", false, Type.Float32));
fieldIndex++;

return newMesg;
}

private static Mesg CreatePadMesg()
{
ushort fieldIndex, subfieldIndex;
Expand Down
4 changes: 2 additions & 2 deletions Dynastream/Fit/Profile/Mesgs/AadAccelFeaturesMesg.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
// Transfer (FIT) Protocol License.
/////////////////////////////////////////////////////////////////////////////////////////////
// ****WARNING**** This file is auto-generated! Do NOT edit this file.
// Profile Version = 21.139.2Release
// Tag = production/release/21.139.2-0-g9eaea05
// Profile Version = 21.141.0Release
// Tag = production/release/21.141.0-0-g2aa27e1
/////////////////////////////////////////////////////////////////////////////////////////////

#endregion
Expand Down
Loading

0 comments on commit b4f8a30

Please sign in to comment.