Skip to content

Commit 2c128c6

Browse files
authored
Merge pull request #16 from garmin/production/awk/21.188.0_50
Garmin FIT SDK 21.188.0
2 parents 8d7031e + 19f6dbd commit 2c128c6

File tree

524 files changed

+84600
-84554
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

524 files changed

+84600
-84554
lines changed

.DS_Store

6 KB
Binary file not shown.

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<modelVersion>4.0.0</modelVersion>
66
<groupId>com.garmin</groupId>
77
<artifactId>fit</artifactId>
8-
<version>21.176.0</version>
8+
<version>21.188.0</version>
99
<packaging>jar</packaging>
1010
<name>FIT SDK</name>
1111
<description>The Official Garmin FIT SDK</description>
Lines changed: 182 additions & 182 deletions
Original file line numberDiff line numberDiff line change
@@ -1,182 +1,182 @@
1-
/////////////////////////////////////////////////////////////////////////////////////////////
2-
// Copyright 2025 Garmin International, Inc.
3-
// Licensed under the Flexible and Interoperable Data Transfer (FIT) Protocol License; you
4-
// may not use this file except in compliance with the Flexible and Interoperable Data
5-
// Transfer (FIT) Protocol License.
6-
/////////////////////////////////////////////////////////////////////////////////////////////
7-
// ****WARNING**** This file is auto-generated! Do NOT edit this file.
8-
// Profile Version = 21.176.0Release
9-
// Tag = production/release/21.176.0-0-ga30c8ed
10-
/////////////////////////////////////////////////////////////////////////////////////////////
11-
12-
13-
package com.garmin.fit;
14-
15-
16-
17-
public class AadAccelFeaturesMesg extends Mesg {
18-
19-
20-
public static final int TimestampFieldNum = 253;
21-
22-
public static final int TimeFieldNum = 0;
23-
24-
public static final int EnergyTotalFieldNum = 1;
25-
26-
public static final int ZeroCrossCntFieldNum = 2;
27-
28-
public static final int InstanceFieldNum = 3;
29-
30-
public static final int TimeAboveThresholdFieldNum = 4;
31-
32-
33-
protected static final Mesg aadAccelFeaturesMesg;
34-
static {
35-
// aad_accel_features
36-
aadAccelFeaturesMesg = new Mesg("aad_accel_features", MesgNum.AAD_ACCEL_FEATURES);
37-
aadAccelFeaturesMesg.addField(new Field("timestamp", TimestampFieldNum, 134, 1, 0, "", false, Profile.Type.DATE_TIME));
38-
39-
aadAccelFeaturesMesg.addField(new Field("time", TimeFieldNum, 132, 1, 0, "s", false, Profile.Type.UINT16));
40-
41-
aadAccelFeaturesMesg.addField(new Field("energy_total", EnergyTotalFieldNum, 134, 1, 0, "", false, Profile.Type.UINT32));
42-
43-
aadAccelFeaturesMesg.addField(new Field("zero_cross_cnt", ZeroCrossCntFieldNum, 132, 1, 0, "", false, Profile.Type.UINT16));
44-
45-
aadAccelFeaturesMesg.addField(new Field("instance", InstanceFieldNum, 2, 1, 0, "", false, Profile.Type.UINT8));
46-
47-
aadAccelFeaturesMesg.addField(new Field("time_above_threshold", TimeAboveThresholdFieldNum, 132, 25, 0, "s", false, Profile.Type.UINT16));
48-
49-
}
50-
51-
public AadAccelFeaturesMesg() {
52-
super(Factory.createMesg(MesgNum.AAD_ACCEL_FEATURES));
53-
}
54-
55-
public AadAccelFeaturesMesg(final Mesg mesg) {
56-
super(mesg);
57-
}
58-
59-
60-
/**
61-
* Get timestamp field
62-
*
63-
* @return timestamp
64-
*/
65-
public DateTime getTimestamp() {
66-
return timestampToDateTime(getFieldLongValue(253, 0, Fit.SUBFIELD_INDEX_MAIN_FIELD));
67-
}
68-
69-
/**
70-
* Set timestamp field
71-
*
72-
* @param timestamp The new timestamp value to be set
73-
*/
74-
public void setTimestamp(DateTime timestamp) {
75-
setFieldValue(253, 0, timestamp.getTimestamp(), Fit.SUBFIELD_INDEX_MAIN_FIELD);
76-
}
77-
78-
/**
79-
* Get time field
80-
* Units: s
81-
* Comment: Time interval length in seconds
82-
*
83-
* @return time
84-
*/
85-
public Integer getTime() {
86-
return getFieldIntegerValue(0, 0, Fit.SUBFIELD_INDEX_MAIN_FIELD);
87-
}
88-
89-
/**
90-
* Set time field
91-
* Units: s
92-
* Comment: Time interval length in seconds
93-
*
94-
* @param time The new time value to be set
95-
*/
96-
public void setTime(Integer time) {
97-
setFieldValue(0, 0, time, Fit.SUBFIELD_INDEX_MAIN_FIELD);
98-
}
99-
100-
/**
101-
* Get energy_total field
102-
* Comment: Total accelerometer energy in the interval
103-
*
104-
* @return energy_total
105-
*/
106-
public Long getEnergyTotal() {
107-
return getFieldLongValue(1, 0, Fit.SUBFIELD_INDEX_MAIN_FIELD);
108-
}
109-
110-
/**
111-
* Set energy_total field
112-
* Comment: Total accelerometer energy in the interval
113-
*
114-
* @param energyTotal The new energyTotal value to be set
115-
*/
116-
public void setEnergyTotal(Long energyTotal) {
117-
setFieldValue(1, 0, energyTotal, Fit.SUBFIELD_INDEX_MAIN_FIELD);
118-
}
119-
120-
/**
121-
* Get zero_cross_cnt field
122-
* Comment: Count of zero crossings
123-
*
124-
* @return zero_cross_cnt
125-
*/
126-
public Integer getZeroCrossCnt() {
127-
return getFieldIntegerValue(2, 0, Fit.SUBFIELD_INDEX_MAIN_FIELD);
128-
}
129-
130-
/**
131-
* Set zero_cross_cnt field
132-
* Comment: Count of zero crossings
133-
*
134-
* @param zeroCrossCnt The new zeroCrossCnt value to be set
135-
*/
136-
public void setZeroCrossCnt(Integer zeroCrossCnt) {
137-
setFieldValue(2, 0, zeroCrossCnt, Fit.SUBFIELD_INDEX_MAIN_FIELD);
138-
}
139-
140-
/**
141-
* Get instance field
142-
* Comment: Instance ID of zero crossing algorithm
143-
*
144-
* @return instance
145-
*/
146-
public Short getInstance() {
147-
return getFieldShortValue(3, 0, Fit.SUBFIELD_INDEX_MAIN_FIELD);
148-
}
149-
150-
/**
151-
* Set instance field
152-
* Comment: Instance ID of zero crossing algorithm
153-
*
154-
* @param instance The new instance value to be set
155-
*/
156-
public void setInstance(Short instance) {
157-
setFieldValue(3, 0, instance, Fit.SUBFIELD_INDEX_MAIN_FIELD);
158-
}
159-
160-
/**
161-
* Get time_above_threshold field
162-
* Units: s
163-
* Comment: Total accelerometer time above threshold in the interval
164-
*
165-
* @return time_above_threshold
166-
*/
167-
public Float getTimeAboveThreshold() {
168-
return getFieldFloatValue(4, 0, Fit.SUBFIELD_INDEX_MAIN_FIELD);
169-
}
170-
171-
/**
172-
* Set time_above_threshold field
173-
* Units: s
174-
* Comment: Total accelerometer time above threshold in the interval
175-
*
176-
* @param timeAboveThreshold The new timeAboveThreshold value to be set
177-
*/
178-
public void setTimeAboveThreshold(Float timeAboveThreshold) {
179-
setFieldValue(4, 0, timeAboveThreshold, Fit.SUBFIELD_INDEX_MAIN_FIELD);
180-
}
181-
182-
}
1+
/////////////////////////////////////////////////////////////////////////////////////////////
2+
// Copyright 2025 Garmin International, Inc.
3+
// Licensed under the Flexible and Interoperable Data Transfer (FIT) Protocol License; you
4+
// may not use this file except in compliance with the Flexible and Interoperable Data
5+
// Transfer (FIT) Protocol License.
6+
/////////////////////////////////////////////////////////////////////////////////////////////
7+
// ****WARNING**** This file is auto-generated! Do NOT edit this file.
8+
// Profile Version = 21.188.0Release
9+
// Tag = production/release/21.188.0-0-g55050f8
10+
/////////////////////////////////////////////////////////////////////////////////////////////
11+
12+
13+
package com.garmin.fit;
14+
15+
16+
17+
public class AadAccelFeaturesMesg extends Mesg {
18+
19+
20+
public static final int TimestampFieldNum = 253;
21+
22+
public static final int TimeFieldNum = 0;
23+
24+
public static final int EnergyTotalFieldNum = 1;
25+
26+
public static final int ZeroCrossCntFieldNum = 2;
27+
28+
public static final int InstanceFieldNum = 3;
29+
30+
public static final int TimeAboveThresholdFieldNum = 4;
31+
32+
33+
protected static final Mesg aadAccelFeaturesMesg;
34+
static {
35+
// aad_accel_features
36+
aadAccelFeaturesMesg = new Mesg("aad_accel_features", MesgNum.AAD_ACCEL_FEATURES);
37+
aadAccelFeaturesMesg.addField(new Field("timestamp", TimestampFieldNum, 134, 1, 0, "", false, Profile.Type.DATE_TIME));
38+
39+
aadAccelFeaturesMesg.addField(new Field("time", TimeFieldNum, 132, 1, 0, "s", false, Profile.Type.UINT16));
40+
41+
aadAccelFeaturesMesg.addField(new Field("energy_total", EnergyTotalFieldNum, 134, 1, 0, "", false, Profile.Type.UINT32));
42+
43+
aadAccelFeaturesMesg.addField(new Field("zero_cross_cnt", ZeroCrossCntFieldNum, 132, 1, 0, "", false, Profile.Type.UINT16));
44+
45+
aadAccelFeaturesMesg.addField(new Field("instance", InstanceFieldNum, 2, 1, 0, "", false, Profile.Type.UINT8));
46+
47+
aadAccelFeaturesMesg.addField(new Field("time_above_threshold", TimeAboveThresholdFieldNum, 132, 25, 0, "s", false, Profile.Type.UINT16));
48+
49+
}
50+
51+
public AadAccelFeaturesMesg() {
52+
super(Factory.createMesg(MesgNum.AAD_ACCEL_FEATURES));
53+
}
54+
55+
public AadAccelFeaturesMesg(final Mesg mesg) {
56+
super(mesg);
57+
}
58+
59+
60+
/**
61+
* Get timestamp field
62+
*
63+
* @return timestamp
64+
*/
65+
public DateTime getTimestamp() {
66+
return timestampToDateTime(getFieldLongValue(253, 0, Fit.SUBFIELD_INDEX_MAIN_FIELD));
67+
}
68+
69+
/**
70+
* Set timestamp field
71+
*
72+
* @param timestamp The new timestamp value to be set
73+
*/
74+
public void setTimestamp(DateTime timestamp) {
75+
setFieldValue(253, 0, timestamp.getTimestamp(), Fit.SUBFIELD_INDEX_MAIN_FIELD);
76+
}
77+
78+
/**
79+
* Get time field
80+
* Units: s
81+
* Comment: Time interval length in seconds
82+
*
83+
* @return time
84+
*/
85+
public Integer getTime() {
86+
return getFieldIntegerValue(0, 0, Fit.SUBFIELD_INDEX_MAIN_FIELD);
87+
}
88+
89+
/**
90+
* Set time field
91+
* Units: s
92+
* Comment: Time interval length in seconds
93+
*
94+
* @param time The new time value to be set
95+
*/
96+
public void setTime(Integer time) {
97+
setFieldValue(0, 0, time, Fit.SUBFIELD_INDEX_MAIN_FIELD);
98+
}
99+
100+
/**
101+
* Get energy_total field
102+
* Comment: Total accelerometer energy in the interval
103+
*
104+
* @return energy_total
105+
*/
106+
public Long getEnergyTotal() {
107+
return getFieldLongValue(1, 0, Fit.SUBFIELD_INDEX_MAIN_FIELD);
108+
}
109+
110+
/**
111+
* Set energy_total field
112+
* Comment: Total accelerometer energy in the interval
113+
*
114+
* @param energyTotal The new energyTotal value to be set
115+
*/
116+
public void setEnergyTotal(Long energyTotal) {
117+
setFieldValue(1, 0, energyTotal, Fit.SUBFIELD_INDEX_MAIN_FIELD);
118+
}
119+
120+
/**
121+
* Get zero_cross_cnt field
122+
* Comment: Count of zero crossings
123+
*
124+
* @return zero_cross_cnt
125+
*/
126+
public Integer getZeroCrossCnt() {
127+
return getFieldIntegerValue(2, 0, Fit.SUBFIELD_INDEX_MAIN_FIELD);
128+
}
129+
130+
/**
131+
* Set zero_cross_cnt field
132+
* Comment: Count of zero crossings
133+
*
134+
* @param zeroCrossCnt The new zeroCrossCnt value to be set
135+
*/
136+
public void setZeroCrossCnt(Integer zeroCrossCnt) {
137+
setFieldValue(2, 0, zeroCrossCnt, Fit.SUBFIELD_INDEX_MAIN_FIELD);
138+
}
139+
140+
/**
141+
* Get instance field
142+
* Comment: Instance ID of zero crossing algorithm
143+
*
144+
* @return instance
145+
*/
146+
public Short getInstance() {
147+
return getFieldShortValue(3, 0, Fit.SUBFIELD_INDEX_MAIN_FIELD);
148+
}
149+
150+
/**
151+
* Set instance field
152+
* Comment: Instance ID of zero crossing algorithm
153+
*
154+
* @param instance The new instance value to be set
155+
*/
156+
public void setInstance(Short instance) {
157+
setFieldValue(3, 0, instance, Fit.SUBFIELD_INDEX_MAIN_FIELD);
158+
}
159+
160+
/**
161+
* Get time_above_threshold field
162+
* Units: s
163+
* Comment: Total accelerometer time above threshold in the interval
164+
*
165+
* @return time_above_threshold
166+
*/
167+
public Float getTimeAboveThreshold() {
168+
return getFieldFloatValue(4, 0, Fit.SUBFIELD_INDEX_MAIN_FIELD);
169+
}
170+
171+
/**
172+
* Set time_above_threshold field
173+
* Units: s
174+
* Comment: Total accelerometer time above threshold in the interval
175+
*
176+
* @param timeAboveThreshold The new timeAboveThreshold value to be set
177+
*/
178+
public void setTimeAboveThreshold(Float timeAboveThreshold) {
179+
setFieldValue(4, 0, timeAboveThreshold, Fit.SUBFIELD_INDEX_MAIN_FIELD);
180+
}
181+
182+
}

0 commit comments

Comments
 (0)