Skip to content

Commit 0d99fd0

Browse files
authored
Merge pull request #5 from garmin/production/akw/21.133.0_6
Garmin FIT SDK 21.133.0
2 parents 9cb3181 + 43e8754 commit 0d99fd0

File tree

489 files changed

+4744
-1352
lines changed

Some content is hidden

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

489 files changed

+4744
-1352
lines changed
Lines changed: 182 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,182 @@
1+
/////////////////////////////////////////////////////////////////////////////////////////////
2+
// Copyright 2024 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.133.0Release
9+
// Tag = production/release/21.133.0-0-g6002091
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+
}
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
/////////////////////////////////////////////////////////////////////////////////////////////
2+
// Copyright 2024 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.133.0Release
9+
// Tag = production/release/21.133.0-0-g6002091
10+
/////////////////////////////////////////////////////////////////////////////////////////////
11+
12+
13+
package com.garmin.fit;
14+
15+
public interface AadAccelFeaturesMesgListener {
16+
public void onMesg(AadAccelFeaturesMesg mesg);
17+
}

com/garmin/fit/AccelerometerDataMesg.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
/////////////////////////////////////////////////////////////////////////////////////////////
2-
// Copyright 2023 Garmin International, Inc.
2+
// Copyright 2024 Garmin International, Inc.
33
// Licensed under the Flexible and Interoperable Data Transfer (FIT) Protocol License; you
44
// may not use this file except in compliance with the Flexible and Interoperable Data
55
// Transfer (FIT) Protocol License.
66
/////////////////////////////////////////////////////////////////////////////////////////////
77
// ****WARNING**** This file is auto-generated! Do NOT edit this file.
8-
// Profile Version = 21.126.0Release
9-
// Tag = production/release/21.126.0-0-g0576dfe
8+
// Profile Version = 21.133.0Release
9+
// Tag = production/release/21.133.0-0-g6002091
1010
/////////////////////////////////////////////////////////////////////////////////////////////
1111

1212

com/garmin/fit/AccelerometerDataMesgListener.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
/////////////////////////////////////////////////////////////////////////////////////////////
2-
// Copyright 2023 Garmin International, Inc.
2+
// Copyright 2024 Garmin International, Inc.
33
// Licensed under the Flexible and Interoperable Data Transfer (FIT) Protocol License; you
44
// may not use this file except in compliance with the Flexible and Interoperable Data
55
// Transfer (FIT) Protocol License.
66
/////////////////////////////////////////////////////////////////////////////////////////////
77
// ****WARNING**** This file is auto-generated! Do NOT edit this file.
8-
// Profile Version = 21.126.0Release
9-
// Tag = production/release/21.126.0-0-g0576dfe
8+
// Profile Version = 21.133.0Release
9+
// Tag = production/release/21.133.0-0-g6002091
1010
/////////////////////////////////////////////////////////////////////////////////////////////
1111

1212

com/garmin/fit/Activity.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
/////////////////////////////////////////////////////////////////////////////////////////////
2-
// Copyright 2023 Garmin International, Inc.
2+
// Copyright 2024 Garmin International, Inc.
33
// Licensed under the Flexible and Interoperable Data Transfer (FIT) Protocol License; you
44
// may not use this file except in compliance with the Flexible and Interoperable Data
55
// Transfer (FIT) Protocol License.
66
/////////////////////////////////////////////////////////////////////////////////////////////
77
// ****WARNING**** This file is auto-generated! Do NOT edit this file.
8-
// Profile Version = 21.126.0Release
9-
// Tag = production/release/21.126.0-0-g0576dfe
8+
// Profile Version = 21.133.0Release
9+
// Tag = production/release/21.133.0-0-g6002091
1010
/////////////////////////////////////////////////////////////////////////////////////////////
1111

1212

com/garmin/fit/ActivityClass.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
/////////////////////////////////////////////////////////////////////////////////////////////
2-
// Copyright 2023 Garmin International, Inc.
2+
// Copyright 2024 Garmin International, Inc.
33
// Licensed under the Flexible and Interoperable Data Transfer (FIT) Protocol License; you
44
// may not use this file except in compliance with the Flexible and Interoperable Data
55
// Transfer (FIT) Protocol License.
66
/////////////////////////////////////////////////////////////////////////////////////////////
77
// ****WARNING**** This file is auto-generated! Do NOT edit this file.
8-
// Profile Version = 21.126.0Release
9-
// Tag = production/release/21.126.0-0-g0576dfe
8+
// Profile Version = 21.133.0Release
9+
// Tag = production/release/21.133.0-0-g6002091
1010
/////////////////////////////////////////////////////////////////////////////////////////////
1111

1212

com/garmin/fit/ActivityLevel.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
/////////////////////////////////////////////////////////////////////////////////////////////
2-
// Copyright 2023 Garmin International, Inc.
2+
// Copyright 2024 Garmin International, Inc.
33
// Licensed under the Flexible and Interoperable Data Transfer (FIT) Protocol License; you
44
// may not use this file except in compliance with the Flexible and Interoperable Data
55
// Transfer (FIT) Protocol License.
66
/////////////////////////////////////////////////////////////////////////////////////////////
77
// ****WARNING**** This file is auto-generated! Do NOT edit this file.
8-
// Profile Version = 21.126.0Release
9-
// Tag = production/release/21.126.0-0-g0576dfe
8+
// Profile Version = 21.133.0Release
9+
// Tag = production/release/21.133.0-0-g6002091
1010
/////////////////////////////////////////////////////////////////////////////////////////////
1111

1212

com/garmin/fit/ActivityMesg.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
/////////////////////////////////////////////////////////////////////////////////////////////
2-
// Copyright 2023 Garmin International, Inc.
2+
// Copyright 2024 Garmin International, Inc.
33
// Licensed under the Flexible and Interoperable Data Transfer (FIT) Protocol License; you
44
// may not use this file except in compliance with the Flexible and Interoperable Data
55
// Transfer (FIT) Protocol License.
66
/////////////////////////////////////////////////////////////////////////////////////////////
77
// ****WARNING**** This file is auto-generated! Do NOT edit this file.
8-
// Profile Version = 21.126.0Release
9-
// Tag = production/release/21.126.0-0-g0576dfe
8+
// Profile Version = 21.133.0Release
9+
// Tag = production/release/21.133.0-0-g6002091
1010
/////////////////////////////////////////////////////////////////////////////////////////////
1111

1212

com/garmin/fit/ActivityMesgListener.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
/////////////////////////////////////////////////////////////////////////////////////////////
2-
// Copyright 2023 Garmin International, Inc.
2+
// Copyright 2024 Garmin International, Inc.
33
// Licensed under the Flexible and Interoperable Data Transfer (FIT) Protocol License; you
44
// may not use this file except in compliance with the Flexible and Interoperable Data
55
// Transfer (FIT) Protocol License.
66
/////////////////////////////////////////////////////////////////////////////////////////////
77
// ****WARNING**** This file is auto-generated! Do NOT edit this file.
8-
// Profile Version = 21.126.0Release
9-
// Tag = production/release/21.126.0-0-g0576dfe
8+
// Profile Version = 21.133.0Release
9+
// Tag = production/release/21.133.0-0-g6002091
1010
/////////////////////////////////////////////////////////////////////////////////////////////
1111

1212

com/garmin/fit/ActivitySubtype.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
/////////////////////////////////////////////////////////////////////////////////////////////
2-
// Copyright 2023 Garmin International, Inc.
2+
// Copyright 2024 Garmin International, Inc.
33
// Licensed under the Flexible and Interoperable Data Transfer (FIT) Protocol License; you
44
// may not use this file except in compliance with the Flexible and Interoperable Data
55
// Transfer (FIT) Protocol License.
66
/////////////////////////////////////////////////////////////////////////////////////////////
77
// ****WARNING**** This file is auto-generated! Do NOT edit this file.
8-
// Profile Version = 21.126.0Release
9-
// Tag = production/release/21.126.0-0-g0576dfe
8+
// Profile Version = 21.133.0Release
9+
// Tag = production/release/21.133.0-0-g6002091
1010
/////////////////////////////////////////////////////////////////////////////////////////////
1111

1212

0 commit comments

Comments
 (0)