Skip to content

Commit 9a2e01f

Browse files
committed
Update to FIT SDK 16.20
1 parent 4fe9559 commit 9a2e01f

File tree

6 files changed

+15
-11
lines changed

6 files changed

+15
-11
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ format designed for storing and sharing data from sport, fitness and health
1515
devices". Fit files are created by newer GPS enabled Garmin sport watches and
1616
cycling computers, such as the Forerunner/Edge/Fenix series.
1717

18-
**Current supported FIT SDK version:** 16.10
18+
**Current supported FIT SDK version:** 16.20
1919

2020
### Features
2121

consts.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const (
99

1010
profileVersion uint16 = ((profileMajorVersion * 100) + profileMinorVersion)
1111
profileMajorVersion = 16
12-
profileMinorVersion = 10
12+
profileMinorVersion = 20
1313

1414
headerTypeMask byte = 0xF0
1515
compressedHeaderMask = 0x80

messages.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// This file is auto-generated using the
22
// program found in 'cmd/fitgen/main.go'
33
// DO NOT EDIT.
4-
// SDK Version: 16.10
5-
// Generation time: Thu Oct 15 19:15:19 UTC 2015
4+
// SDK Version: 16.20
5+
// Generation time: Fri Oct 16 15:58:20 UTC 2015
66

77
package fit
88

profile.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// This file is auto-generated using the
22
// program found in 'cmd/fitgen/main.go'
33
// DO NOT EDIT.
4-
// SDK Version: 16.10
5-
// Generation time: Thu Oct 15 19:15:19 UTC 2015
4+
// SDK Version: 16.20
5+
// Generation time: Fri Oct 16 15:58:20 UTC 2015
66

77
package fit
88

types.go

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// This file is auto-generated using the
22
// program found in 'cmd/fitgen/main.go'
33
// DO NOT EDIT.
4-
// SDK Version: 16.10
5-
// Generation time: Thu Oct 15 19:15:19 UTC 2015
4+
// SDK Version: 16.20
5+
// Generation time: Fri Oct 16 15:58:20 UTC 2015
66

77
package fit
88

@@ -903,6 +903,10 @@ const (
903903
ManufacturerInsideRideTechnologies Manufacturer = 93
904904
ManufacturerSoundOfMotion Manufacturer = 94
905905
ManufacturerStryd Manufacturer = 95
906+
ManufacturerIcg Manufacturer = 96 // Indoorcycling Group
907+
ManufacturerMiPulse Manufacturer = 97
908+
ManufacturerBsxAthletics Manufacturer = 98
909+
ManufacturerLook Manufacturer = 99
906910
ManufacturerDevelopment Manufacturer = 255
907911
ManufacturerHealthandlife Manufacturer = 257
908912
ManufacturerLezyne Manufacturer = 258

types_string.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1147,7 +1147,7 @@ func (i LengthType) String() string {
11471147
const (
11481148
_Manufacturer_name_0 = "GarminGarminFr405AntfsZephyrDaytonIdtSrmQuarqIbikeSarisSparkHkTanitaEchowellDynastreamOemNautilusDynastreamTimexMetrigearXelicBeurerCardiosportAAndDHmmSuuntoThitaElektronikGpulseCleanMobilePedalBrainPeakswareSaxonarLemondFitnessDexcomWahooFitnessOctaneFitnessArchinoeticsTheHurtBoxCitizenSystemsMagellanOsynceHoluxConcept2"
11491149
_Manufacturer_name_1 = "OneGiantLeapAceSensorBrimBrothersXplovaPerceptionDigitalBf1systemsPioneerSpantecMetalogics4iiiisSeikoEpsonSeikoEpsonOemIforPowellMaxwellGuiderStarTracBreakawayAlatechTechnologyLtdMioTechnologyEuropeRotorGeonauteIdBikeSpecializedWtekPhysicalEnterprisesNorthPoleEngineeringBkoolCateyeStagesCyclingSigmasportTomtomPeripedalWattbike"
1150-
_Manufacturer_name_2 = "MoxyCiclosportPowerbahnAcornProjectsApsLifebeamBontragerWellgoScoscheMaguraWoodwayEliteNielsenKellermanDkCityTacxDirectionTechnologyMagtonic1partcarbonInsideRideTechnologiesSoundOfMotionStryd"
1150+
_Manufacturer_name_2 = "MoxyCiclosportPowerbahnAcornProjectsApsLifebeamBontragerWellgoScoscheMaguraWoodwayEliteNielsenKellermanDkCityTacxDirectionTechnologyMagtonic1partcarbonInsideRideTechnologiesSoundOfMotionStrydIcgMiPulseBsxAthleticsLook"
11511151
_Manufacturer_name_3 = "Development"
11521152
_Manufacturer_name_4 = "HealthandlifeLezyneScribeLabsZwiftWatteamReconFaveroElectronicsDynoveloStrava"
11531153
_Manufacturer_name_5 = "Actigraphcorp"
@@ -1157,7 +1157,7 @@ const (
11571157
var (
11581158
_Manufacturer_index_0 = [...]uint16{0, 6, 22, 28, 34, 37, 40, 45, 50, 55, 62, 68, 76, 89, 97, 107, 112, 121, 126, 132, 143, 148, 151, 157, 172, 178, 189, 199, 208, 215, 228, 234, 246, 259, 271, 281, 295, 303, 309, 314, 322}
11591159
_Manufacturer_index_1 = [...]uint16{0, 12, 21, 33, 39, 56, 66, 73, 80, 90, 96, 106, 119, 129, 142, 150, 159, 179, 198, 203, 211, 217, 228, 232, 251, 271, 276, 282, 295, 305, 311, 320, 328}
1160-
_Manufacturer_index_2 = [...]uint8{0, 4, 14, 23, 39, 47, 56, 62, 69, 75, 82, 87, 103, 109, 113, 132, 140, 151, 173, 186, 191}
1160+
_Manufacturer_index_2 = [...]uint8{0, 4, 14, 23, 39, 47, 56, 62, 69, 75, 82, 87, 103, 109, 113, 132, 140, 151, 173, 186, 191, 194, 201, 213, 217}
11611161
_Manufacturer_index_3 = [...]uint8{0, 11}
11621162
_Manufacturer_index_4 = [...]uint8{0, 13, 19, 29, 34, 41, 46, 63, 71, 77}
11631163
_Manufacturer_index_5 = [...]uint8{0, 13}
@@ -1172,7 +1172,7 @@ func (i Manufacturer) String() string {
11721172
case 42 <= i && i <= 73:
11731173
i -= 42
11741174
return _Manufacturer_name_1[_Manufacturer_index_1[i]:_Manufacturer_index_1[i+1]]
1175-
case 76 <= i && i <= 95:
1175+
case 76 <= i && i <= 99:
11761176
i -= 76
11771177
return _Manufacturer_name_2[_Manufacturer_index_2[i]:_Manufacturer_index_2[i+1]]
11781178
case i == 255:

0 commit comments

Comments
 (0)