Skip to content

Commit

Permalink
Update to FitSDK 21.101
Browse files Browse the repository at this point in the history
  • Loading branch information
roznet committed Feb 11, 2023
1 parent 2e9fddf commit cf64038
Show file tree
Hide file tree
Showing 14 changed files with 907 additions and 318 deletions.
303 changes: 223 additions & 80 deletions Sources/FitFileParser/rzfit_swift_map.swift

Large diffs are not rendered by default.

263 changes: 261 additions & 2 deletions Sources/FitFileParser/rzfit_swift_reverse_map.swift

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions Sources/FitFileParserObjc/fit.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
// Copyright 2021 Garmin Canada Inc.
////////////////////////////////////////////////////////////////////////////////
// ****WARNING**** This file is auto-generated! Do NOT edit this file.
// Profile Version = 21.94Release
// Tag = production/akw/21.94.00-0-g0f668193
// Profile Version = 21.101Release
// Tag = production/release/21.101.00-0-gceb92d5
// Product = EXAMPLE
// Alignment = 4 bytes, padding disabled.
////////////////////////////////////////////////////////////////////////////////
Expand Down Expand Up @@ -60,7 +60,7 @@
#define FIT_PROTOCOL_VERSION_MAX FIT_PROTOCOL_VERSION_20

#define FIT_PROFILE_VERSION_MAJOR 21
#define FIT_PROFILE_VERSION_MINOR 94
#define FIT_PROFILE_VERSION_MINOR 101
#define FIT_PROFILE_VERSION_SCALE 100
#define FIT_PROFILE_VERSION ((FIT_UINT16) (FIT_PROFILE_VERSION_MAJOR * 100 + FIT_PROFILE_VERSION_MINOR))
#endif // !defined(FIT_CPP_INCLUDE_C)
Expand Down
4 changes: 2 additions & 2 deletions Sources/FitFileParserObjc/fit.m
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
// Copyright 2021 Garmin Canada Inc.
////////////////////////////////////////////////////////////////////////////////
// ****WARNING**** This file is auto-generated! Do NOT edit this file.
// Profile Version = 21.94Release
// Tag = production/akw/21.94.00-0-g0f668193
// Profile Version = 21.101Release
// Tag = production/release/21.101.00-0-gceb92d5
// Product = EXAMPLE
// Alignment = 4 bytes, padding disabled.
////////////////////////////////////////////////////////////////////////////////
Expand Down
4 changes: 2 additions & 2 deletions Sources/FitFileParserObjc/fit_convert.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
// Copyright 2021 Garmin Canada Inc.
////////////////////////////////////////////////////////////////////////////////
// ****WARNING**** This file is auto-generated! Do NOT edit this file.
// Profile Version = 21.94Release
// Tag = production/akw/21.94.00-0-g0f668193
// Profile Version = 21.101Release
// Tag = production/release/21.101.00-0-gceb92d5
// Product = EXAMPLE
// Alignment = 4 bytes, padding disabled.
////////////////////////////////////////////////////////////////////////////////
Expand Down
4 changes: 2 additions & 2 deletions Sources/FitFileParserObjc/fit_convert.m
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
// Copyright 2021 Garmin Canada Inc.
////////////////////////////////////////////////////////////////////////////////
// ****WARNING**** This file is auto-generated! Do NOT edit this file.
// Profile Version = 21.94Release
// Tag = production/akw/21.94.00-0-g0f668193
// Profile Version = 21.101Release
// Tag = production/release/21.101.00-0-gceb92d5
// Product = EXAMPLE
// Alignment = 4 bytes, padding disabled.
////////////////////////////////////////////////////////////////////////////////
Expand Down
4 changes: 2 additions & 2 deletions Sources/FitFileParserObjc/fit_crc.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
// Copyright 2021 Garmin Canada Inc.
////////////////////////////////////////////////////////////////////////////////
// ****WARNING**** This file is auto-generated! Do NOT edit this file.
// Profile Version = 21.94Release
// Tag = production/akw/21.94.00-0-g0f668193
// Profile Version = 21.101Release
// Tag = production/release/21.101.00-0-gceb92d5
// Product = EXAMPLE
// Alignment = 4 bytes, padding disabled.
////////////////////////////////////////////////////////////////////////////////
Expand Down
4 changes: 2 additions & 2 deletions Sources/FitFileParserObjc/fit_crc.m
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
// Copyright 2021 Garmin Canada Inc.
////////////////////////////////////////////////////////////////////////////////
// ****WARNING**** This file is auto-generated! Do NOT edit this file.
// Profile Version = 21.94Release
// Tag = production/akw/21.94.00-0-g0f668193
// Profile Version = 21.101Release
// Tag = production/release/21.101.00-0-gceb92d5
// Product = EXAMPLE
// Alignment = 4 bytes, padding disabled.
////////////////////////////////////////////////////////////////////////////////
Expand Down
4 changes: 2 additions & 2 deletions Sources/FitFileParserObjc/fit_product.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
// Copyright 2021 Garmin Canada Inc.
////////////////////////////////////////////////////////////////////////////////
// ****WARNING**** This file is auto-generated! Do NOT edit this file.
// Profile Version = 21.94Release
// Tag = production/akw/21.94.00-0-g0f668193
// Profile Version = 21.101Release
// Tag = production/release/21.101.00-0-gceb92d5
// Product = EXAMPLE
// Alignment = 4 bytes, padding disabled.
////////////////////////////////////////////////////////////////////////////////
Expand Down
624 changes: 405 additions & 219 deletions Sources/FitFileParserObjc/rzfit_objc_map.m

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions Sources/FitFileParserObjc/rzfit_objc_reference_mesg.h
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ typedef FIT_UINT16 FIT_MESG_NUM;
#define FIT_MESG_NUM_MAGNETOMETER_DATA ((FIT_MESG_NUM)208)
#define FIT_MESG_NUM_BAROMETER_DATA ((FIT_MESG_NUM)209)
#define FIT_MESG_NUM_ONE_D_SENSOR_CALIBRATION ((FIT_MESG_NUM)210)
#define FIT_MESG_NUM_TIME_IN_ZONE ((FIT_MESG_NUM)216)
#define FIT_MESG_NUM_SET ((FIT_MESG_NUM)225)
#define FIT_MESG_NUM_STRESS_LEVEL ((FIT_MESG_NUM)227)
#define FIT_MESG_NUM_DIVE_SETTINGS ((FIT_MESG_NUM)258)
Expand All @@ -94,6 +95,7 @@ typedef FIT_UINT16 FIT_MESG_NUM;
#define FIT_MESG_NUM_EXERCISE_TITLE ((FIT_MESG_NUM)264)
#define FIT_MESG_NUM_DIVE_SUMMARY ((FIT_MESG_NUM)268)
#define FIT_MESG_NUM_JUMP ((FIT_MESG_NUM)285)
#define FIT_MESG_NUM_SPLIT ((FIT_MESG_NUM)312)
#define FIT_MESG_NUM_CLIMB_PRO ((FIT_MESG_NUM)317)
#define FIT_MESG_NUM_DEVICE_AUX_BATTERY_INFO ((FIT_MESG_NUM)375)
#define FIT_MESG_NUM_MFG_RANGE_MIN ((FIT_MESG_NUM)0xFF00)
Expand Down
Binary file modified python/Profile.xlsx
Binary file not shown.
1 change: 0 additions & 1 deletion python/fitsdkparser.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,6 @@ def __init__(self,name, base_type, type_num,annotate=False):
def fit_type(self):
return 'FIT_{}'.format( self.name.upper() )


def is_string(self):
return not self.is_masked_value and not self.is_offset_value

Expand Down
2 changes: 1 addition & 1 deletion python/fitsdkversion.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
21.94
21.101

0 comments on commit cf64038

Please sign in to comment.