From a1d46c50f26a2b9c6796d6e1710c1ca19a1a3283 Mon Sep 17 00:00:00 2001 From: Jenkins Date: Wed, 9 Apr 2025 12:39:08 -0500 Subject: [PATCH] Garmin FIT SDK 21.170.0 Change-Id: Ia776c17f1a5484e3d5d59b4a3ab5656a3e438354 --- package.json | 2 +- src/accumulator.js | 4 +- src/bit-stream.js | 4 +- src/crc-calculator.js | 4 +- src/decoder.js | 4 +- src/encoder.js | 20 +- src/fit.js | 13 +- src/index.js | 4 +- src/mesg-definition.js | 6 +- src/output-stream.js | 4 +- src/profile.js | 2876 +++++++++++++-------------- src/stream.js | 4 +- src/utils-hr-mesg.js | 4 +- src/utils-internal.js | 4 +- src/utils-memo-glob.js | 4 +- src/utils.js | 34 +- test/encode-activity-recipe.test.js | 4 +- test/encoder.test.js | 36 +- 18 files changed, 1482 insertions(+), 1549 deletions(-) diff --git a/package.json b/package.json index 1a9378e..fb40cfe 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@garmin/fitsdk", - "version": "21.169.0", + "version": "21.170.0", "description": "FIT JavaScript SDK", "main": "src/index.js", "type": "module", diff --git a/src/accumulator.js b/src/accumulator.js index e4d4c01..fbadad6 100644 --- a/src/accumulator.js +++ b/src/accumulator.js @@ -5,8 +5,8 @@ // Transfer (FIT) Protocol License. ///////////////////////////////////////////////////////////////////////////////////////////// // ****WARNING**** This file is auto-generated! Do NOT edit this file. -// Profile Version = 21.169.0Release -// Tag = production/release/21.169.0-0-g7105132 +// Profile Version = 21.170.0Release +// Tag = production/release/21.170.0-0-g5991e72 ///////////////////////////////////////////////////////////////////////////////////////////// diff --git a/src/bit-stream.js b/src/bit-stream.js index 15b169f..b9e22c3 100644 --- a/src/bit-stream.js +++ b/src/bit-stream.js @@ -5,8 +5,8 @@ // Transfer (FIT) Protocol License. ///////////////////////////////////////////////////////////////////////////////////////////// // ****WARNING**** This file is auto-generated! Do NOT edit this file. -// Profile Version = 21.169.0Release -// Tag = production/release/21.169.0-0-g7105132 +// Profile Version = 21.170.0Release +// Tag = production/release/21.170.0-0-g5991e72 ///////////////////////////////////////////////////////////////////////////////////////////// diff --git a/src/crc-calculator.js b/src/crc-calculator.js index 01a9d71..5472fdd 100644 --- a/src/crc-calculator.js +++ b/src/crc-calculator.js @@ -5,8 +5,8 @@ // Transfer (FIT) Protocol License. ///////////////////////////////////////////////////////////////////////////////////////////// // ****WARNING**** This file is auto-generated! Do NOT edit this file. -// Profile Version = 21.169.0Release -// Tag = production/release/21.169.0-0-g7105132 +// Profile Version = 21.170.0Release +// Tag = production/release/21.170.0-0-g5991e72 ///////////////////////////////////////////////////////////////////////////////////////////// diff --git a/src/decoder.js b/src/decoder.js index 15ea69c..89305d3 100644 --- a/src/decoder.js +++ b/src/decoder.js @@ -5,8 +5,8 @@ // Transfer (FIT) Protocol License. ///////////////////////////////////////////////////////////////////////////////////////////// // ****WARNING**** This file is auto-generated! Do NOT edit this file. -// Profile Version = 21.169.0Release -// Tag = production/release/21.169.0-0-g7105132 +// Profile Version = 21.170.0Release +// Tag = production/release/21.170.0-0-g5991e72 ///////////////////////////////////////////////////////////////////////////////////////////// diff --git a/src/encoder.js b/src/encoder.js index 1a0f764..2d18fce 100644 --- a/src/encoder.js +++ b/src/encoder.js @@ -5,8 +5,8 @@ // Transfer (FIT) Protocol License. ///////////////////////////////////////////////////////////////////////////////////////////// // ****WARNING**** This file is auto-generated! Do NOT edit this file. -// Profile Version = 21.169.0Release -// Tag = production/release/21.169.0-0-g7105132 +// Profile Version = 21.170.0Release +// Tag = production/release/21.170.0-0-g5991e72 ///////////////////////////////////////////////////////////////////////////////////////////// @@ -20,6 +20,9 @@ import Utils from "./utils.js"; const HEADER_WITH_CRC_SIZE = 14; const HEADER_WITHOUT_CRC_SIZE = 12; +const FIELD_DEFAULT_SCALE = 1; +const FIELD_DEFAULT_OFFSET = 0; + /** * A class for encoding FIT files. * @class @@ -212,10 +215,17 @@ class Encoder { throw new Error(); } - const scale = fieldDefinition.components.length > 1 ? 1 : fieldDefinition.scale; - const offset = fieldDefinition.components.length > 1 ? 0 : fieldDefinition.offset; + const scale = fieldDefinition.components.length > 1 ? FIELD_DEFAULT_SCALE : fieldDefinition.scale; + const offset = fieldDefinition.components.length > 1 ? FIELD_DEFAULT_OFFSET : fieldDefinition.offset; + const hasScaleOrOffset = (scale != FIELD_DEFAULT_SCALE || offset != FIELD_DEFAULT_OFFSET); + + if (hasScaleOrOffset) { + const scaledValue = (value + offset) * scale; - return (value + offset) * scale; + return FIT.FloatingPointFieldTypes.includes(fieldDefinition.type) ? scaledValue : Math.round(scaledValue); + } + + return value; } // Is this a date_time field? diff --git a/src/fit.js b/src/fit.js index 7cebc7f..16bd3e9 100644 --- a/src/fit.js +++ b/src/fit.js @@ -5,11 +5,14 @@ // Transfer (FIT) Protocol License. ///////////////////////////////////////////////////////////////////////////////////////////// // ****WARNING**** This file is auto-generated! Do NOT edit this file. -// Profile Version = 21.169.0Release -// Tag = production/release/21.169.0-0-g7105132 +// Profile Version = 21.170.0Release +// Tag = production/release/21.170.0-0-g5991e72 ///////////////////////////////////////////////////////////////////////////////////////////// +/** + * FIT Base Type enum + */ const BaseType = { ENUM: 0x00, SINT8: 0x01, @@ -68,6 +71,11 @@ const NumericFieldTypes = [ "uint64z" ]; +const FloatingPointFieldTypes = [ + "float32", + "float64", +]; + const FieldTypeToBaseType = { "enum": BaseType.UINT8, "sint8": BaseType.SINT8, @@ -152,6 +160,7 @@ export default { BaseType, BaseTypeDefinitions, NumericFieldTypes, + FloatingPointFieldTypes, FieldTypeToBaseType, BaseTypeToFieldType, isNullOrUndefined, diff --git a/src/index.js b/src/index.js index acb2c04..800670f 100644 --- a/src/index.js +++ b/src/index.js @@ -5,8 +5,8 @@ // Transfer (FIT) Protocol License. ///////////////////////////////////////////////////////////////////////////////////////////// // ****WARNING**** This file is auto-generated! Do NOT edit this file. -// Profile Version = 21.169.0Release -// Tag = production/release/21.169.0-0-g7105132 +// Profile Version = 21.170.0Release +// Tag = production/release/21.170.0-0-g5991e72 ///////////////////////////////////////////////////////////////////////////////////////////// diff --git a/src/mesg-definition.js b/src/mesg-definition.js index b944378..3e1c474 100644 --- a/src/mesg-definition.js +++ b/src/mesg-definition.js @@ -5,8 +5,8 @@ // Transfer (FIT) Protocol License. ///////////////////////////////////////////////////////////////////////////////////////////// // ****WARNING**** This file is auto-generated! Do NOT edit this file. -// Profile Version = 21.169.0Release -// Tag = production/release/21.169.0-0-g7105132 +// Profile Version = 21.170.0Release +// Tag = production/release/21.170.0-0-g5991e72 ///////////////////////////////////////////////////////////////////////////////////////////// @@ -147,7 +147,7 @@ class MesgDefinition { } equals(other) { - if (this.globalMesgNumber !== other.globalMesgNumber + if (this.globalMessageNumber !== other.globalMessageNumber || this.fieldDefinitions.length !== other.fieldDefinitions.length || this.developerFieldDefinitions.length !== other.developerFieldDefinitions.length) { return false; diff --git a/src/output-stream.js b/src/output-stream.js index 861939b..fb42536 100644 --- a/src/output-stream.js +++ b/src/output-stream.js @@ -5,8 +5,8 @@ // Transfer (FIT) Protocol License. ///////////////////////////////////////////////////////////////////////////////////////////// // ****WARNING**** This file is auto-generated! Do NOT edit this file. -// Profile Version = 21.169.0Release -// Tag = production/release/21.169.0-0-g7105132 +// Profile Version = 21.170.0Release +// Tag = production/release/21.170.0-0-g5991e72 ///////////////////////////////////////////////////////////////////////////////////////////// diff --git a/src/profile.js b/src/profile.js index 5e65fb6..03226ca 100644 --- a/src/profile.js +++ b/src/profile.js @@ -5,15 +5,15 @@ // Transfer (FIT) Protocol License. ///////////////////////////////////////////////////////////////////////////////////////////// // ****WARNING**** This file is auto-generated! Do NOT edit this file. -// Profile Version = 21.169.0Release -// Tag = production/release/21.169.0-0-g7105132 +// Profile Version = 21.170.0Release +// Tag = production/release/21.170.0-0-g5991e72 ///////////////////////////////////////////////////////////////////////////////////////////// const Profile = { version: { major: 21, - minor: 169, + minor: 170, patch: 0, type: "Release" }, @@ -33,7 +33,7 @@ const Profile = { name: "type", type: "file", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -48,7 +48,7 @@ const Profile = { name: "manufacturer", type: "manufacturer", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -63,7 +63,7 @@ const Profile = { name: "product", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -75,7 +75,6 @@ const Profile = { name: "faveroProduct", type: "faveroProduct", baseType: "uint16", - array: "", scale: 1, offset: 0, units: "", @@ -90,7 +89,6 @@ const Profile = { name: "garminProduct", type: "garminProduct", baseType: "uint16", - array: "", scale: 1, offset: 0, units: "", @@ -111,7 +109,7 @@ const Profile = { name: "serialNumber", type: "uint32z", baseType: "uint32z", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -126,7 +124,7 @@ const Profile = { name: "timeCreated", type: "dateTime", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -141,7 +139,7 @@ const Profile = { name: "number", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -156,7 +154,7 @@ const Profile = { name: "productName", type: "string", baseType: "string", - array: "true", + array: true, scale: 1, offset: 0, units: "", @@ -178,7 +176,7 @@ const Profile = { name: "softwareVersion", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -193,7 +191,7 @@ const Profile = { name: "hardwareVersion", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -215,7 +213,7 @@ const Profile = { name: "timestamp", type: "dateTime", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "s", @@ -230,7 +228,7 @@ const Profile = { name: "fractionalTimestamp", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 32768, offset: 0, units: "s", @@ -245,7 +243,7 @@ const Profile = { name: "systemTimestamp", type: "dateTime", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "s", @@ -260,7 +258,7 @@ const Profile = { name: "fractionalSystemTimestamp", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 32768, offset: 0, units: "s", @@ -275,7 +273,7 @@ const Profile = { name: "localTimestamp", type: "localDateTime", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "s", @@ -290,7 +288,7 @@ const Profile = { name: "timestampMs", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "ms", @@ -305,7 +303,7 @@ const Profile = { name: "systemTimestampMs", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "ms", @@ -327,7 +325,7 @@ const Profile = { name: "messageIndex", type: "messageIndex", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -342,7 +340,7 @@ const Profile = { name: "version", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 100, offset: 0, units: "", @@ -357,7 +355,7 @@ const Profile = { name: "partNumber", type: "string", baseType: "string", - array: "true", + array: true, scale: 1, offset: 0, units: "", @@ -379,7 +377,7 @@ const Profile = { name: "manufacturer", type: "manufacturer", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -394,7 +392,7 @@ const Profile = { name: "product", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -406,7 +404,6 @@ const Profile = { name: "faveroProduct", type: "faveroProduct", baseType: "uint16", - array: "", scale: 1, offset: 0, units: "", @@ -421,7 +418,6 @@ const Profile = { name: "garminProduct", type: "garminProduct", baseType: "uint16", - array: "", scale: 1, offset: 0, units: "", @@ -449,7 +445,7 @@ const Profile = { name: "languages", type: "uint8z", baseType: "uint8z", - array: "true", + array: true, scale: 1, offset: 0, units: "", @@ -464,7 +460,7 @@ const Profile = { name: "sports", type: "sportBits0", baseType: "uint8z", - array: "true", + array: true, scale: 1, offset: 0, units: "", @@ -479,7 +475,7 @@ const Profile = { name: "workoutsSupported", type: "workoutCapabilities", baseType: "uint32z", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -494,7 +490,7 @@ const Profile = { name: "connectivitySupported", type: "connectivityCapabilities", baseType: "uint32z", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -516,7 +512,7 @@ const Profile = { name: "messageIndex", type: "messageIndex", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -531,7 +527,7 @@ const Profile = { name: "type", type: "file", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -546,7 +542,7 @@ const Profile = { name: "flags", type: "fileFlags", baseType: "uint8z", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -561,7 +557,7 @@ const Profile = { name: "directory", type: "string", baseType: "string", - array: "true", + array: true, scale: 1, offset: 0, units: "", @@ -576,7 +572,7 @@ const Profile = { name: "maxCount", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -591,7 +587,7 @@ const Profile = { name: "maxSize", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "bytes", @@ -613,7 +609,7 @@ const Profile = { name: "messageIndex", type: "messageIndex", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -628,7 +624,7 @@ const Profile = { name: "file", type: "file", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -643,7 +639,7 @@ const Profile = { name: "mesgNum", type: "mesgNum", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -658,7 +654,7 @@ const Profile = { name: "countType", type: "mesgCount", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -673,7 +669,7 @@ const Profile = { name: "count", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -685,7 +681,6 @@ const Profile = { name: "numPerFile", type: "uint16", baseType: "uint16", - array: "", scale: 1, offset: 0, units: "", @@ -700,7 +695,6 @@ const Profile = { name: "maxPerFile", type: "uint16", baseType: "uint16", - array: "", scale: 1, offset: 0, units: "", @@ -715,7 +709,6 @@ const Profile = { name: "maxPerFileType", type: "uint16", baseType: "uint16", - array: "", scale: 1, offset: 0, units: "", @@ -740,7 +733,7 @@ const Profile = { name: "messageIndex", type: "messageIndex", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -755,7 +748,7 @@ const Profile = { name: "file", type: "file", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -770,7 +763,7 @@ const Profile = { name: "mesgNum", type: "mesgNum", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -785,7 +778,7 @@ const Profile = { name: "fieldNum", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -800,7 +793,7 @@ const Profile = { name: "count", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -822,7 +815,7 @@ const Profile = { name: "activeTimeZone", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -837,7 +830,7 @@ const Profile = { name: "utcOffset", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -852,7 +845,7 @@ const Profile = { name: "timeOffset", type: "uint32", baseType: "uint32", - array: "true", + array: true, scale: 1, offset: 0, units: "s", @@ -867,7 +860,7 @@ const Profile = { name: "timeMode", type: "timeMode", baseType: "enum", - array: "true", + array: true, scale: 1, offset: 0, units: "", @@ -882,7 +875,7 @@ const Profile = { name: "timeZoneOffset", type: "sint8", baseType: "sint8", - array: "true", + array: true, scale: 4, offset: 0, units: "hr", @@ -897,7 +890,7 @@ const Profile = { name: "backlightMode", type: "backlightMode", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -912,7 +905,7 @@ const Profile = { name: "activityTrackerEnabled", type: "bool", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -927,7 +920,7 @@ const Profile = { name: "clockTime", type: "dateTime", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -942,7 +935,7 @@ const Profile = { name: "pagesEnabled", type: "uint16", baseType: "uint16", - array: "true", + array: true, scale: 1, offset: 0, units: "", @@ -957,7 +950,7 @@ const Profile = { name: "moveAlertEnabled", type: "bool", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -972,7 +965,7 @@ const Profile = { name: "dateMode", type: "dateMode", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -987,7 +980,7 @@ const Profile = { name: "displayOrientation", type: "displayOrientation", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -1002,7 +995,7 @@ const Profile = { name: "mountingSide", type: "side", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -1017,7 +1010,7 @@ const Profile = { name: "defaultPage", type: "uint16", baseType: "uint16", - array: "true", + array: true, scale: 1, offset: 0, units: "", @@ -1032,7 +1025,7 @@ const Profile = { name: "autosyncMinSteps", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "steps", @@ -1047,7 +1040,7 @@ const Profile = { name: "autosyncMinTime", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "minutes", @@ -1062,7 +1055,7 @@ const Profile = { name: "lactateThresholdAutodetectEnabled", type: "bool", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -1077,7 +1070,7 @@ const Profile = { name: "bleAutoUploadEnabled", type: "bool", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -1092,7 +1085,7 @@ const Profile = { name: "autoSyncFrequency", type: "autoSyncFrequency", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -1107,7 +1100,7 @@ const Profile = { name: "autoActivityDetect", type: "autoActivityDetect", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -1122,7 +1115,7 @@ const Profile = { name: "numberOfScreens", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -1137,7 +1130,7 @@ const Profile = { name: "smartNotificationDisplayOrientation", type: "displayOrientation", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -1152,7 +1145,7 @@ const Profile = { name: "tapInterface", type: "switch", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -1167,7 +1160,7 @@ const Profile = { name: "tapSensitivity", type: "tapSensitivity", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -1189,7 +1182,7 @@ const Profile = { name: "messageIndex", type: "messageIndex", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -1204,7 +1197,7 @@ const Profile = { name: "friendlyName", type: "string", baseType: "string", - array: "true", + array: true, scale: 1, offset: 0, units: "", @@ -1219,7 +1212,7 @@ const Profile = { name: "gender", type: "gender", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -1234,7 +1227,7 @@ const Profile = { name: "age", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "years", @@ -1249,7 +1242,7 @@ const Profile = { name: "height", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 100, offset: 0, units: "m", @@ -1264,7 +1257,7 @@ const Profile = { name: "weight", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 10, offset: 0, units: "kg", @@ -1279,7 +1272,7 @@ const Profile = { name: "language", type: "language", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -1294,7 +1287,7 @@ const Profile = { name: "elevSetting", type: "displayMeasure", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -1309,7 +1302,7 @@ const Profile = { name: "weightSetting", type: "displayMeasure", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -1324,7 +1317,7 @@ const Profile = { name: "restingHeartRate", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "bpm", @@ -1339,7 +1332,7 @@ const Profile = { name: "defaultMaxRunningHeartRate", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "bpm", @@ -1354,7 +1347,7 @@ const Profile = { name: "defaultMaxBikingHeartRate", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "bpm", @@ -1369,7 +1362,7 @@ const Profile = { name: "defaultMaxHeartRate", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "bpm", @@ -1384,7 +1377,7 @@ const Profile = { name: "hrSetting", type: "displayHeart", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -1399,7 +1392,7 @@ const Profile = { name: "speedSetting", type: "displayMeasure", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -1414,7 +1407,7 @@ const Profile = { name: "distSetting", type: "displayMeasure", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -1429,7 +1422,7 @@ const Profile = { name: "powerSetting", type: "displayPower", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -1444,7 +1437,7 @@ const Profile = { name: "activityClass", type: "activityClass", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -1459,7 +1452,7 @@ const Profile = { name: "positionSetting", type: "displayPosition", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -1474,7 +1467,7 @@ const Profile = { name: "temperatureSetting", type: "displayMeasure", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -1489,7 +1482,7 @@ const Profile = { name: "localId", type: "userLocalId", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -1504,7 +1497,7 @@ const Profile = { name: "globalId", type: "byte", baseType: "byte", - array: "true", + array: true, scale: 1, offset: 0, units: "", @@ -1519,7 +1512,7 @@ const Profile = { name: "wakeTime", type: "localtimeIntoDay", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -1534,7 +1527,7 @@ const Profile = { name: "sleepTime", type: "localtimeIntoDay", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -1549,7 +1542,7 @@ const Profile = { name: "heightSetting", type: "displayMeasure", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -1564,7 +1557,7 @@ const Profile = { name: "userRunningStepLength", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1000, offset: 0, units: "m", @@ -1579,7 +1572,7 @@ const Profile = { name: "userWalkingStepLength", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1000, offset: 0, units: "m", @@ -1594,7 +1587,7 @@ const Profile = { name: "depthSetting", type: "displayMeasure", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -1609,7 +1602,7 @@ const Profile = { name: "diveCount", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -1631,7 +1624,7 @@ const Profile = { name: "messageIndex", type: "messageIndex", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -1646,7 +1639,7 @@ const Profile = { name: "enabled", type: "bool", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -1661,7 +1654,7 @@ const Profile = { name: "hrmAntId", type: "uint16z", baseType: "uint16z", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -1676,7 +1669,7 @@ const Profile = { name: "logHrv", type: "bool", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -1691,7 +1684,7 @@ const Profile = { name: "hrmAntIdTransType", type: "uint8z", baseType: "uint8z", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -1713,7 +1706,7 @@ const Profile = { name: "messageIndex", type: "messageIndex", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -1728,7 +1721,7 @@ const Profile = { name: "enabled", type: "bool", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -1743,7 +1736,7 @@ const Profile = { name: "sdmAntId", type: "uint16z", baseType: "uint16z", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -1758,7 +1751,7 @@ const Profile = { name: "sdmCalFactor", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 10, offset: 0, units: "%", @@ -1773,7 +1766,7 @@ const Profile = { name: "odometer", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 100, offset: 0, units: "m", @@ -1788,7 +1781,7 @@ const Profile = { name: "speedSource", type: "bool", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -1803,7 +1796,7 @@ const Profile = { name: "sdmAntIdTransType", type: "uint8z", baseType: "uint8z", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -1818,7 +1811,7 @@ const Profile = { name: "odometerRollover", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -1840,7 +1833,7 @@ const Profile = { name: "messageIndex", type: "messageIndex", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -1855,7 +1848,7 @@ const Profile = { name: "name", type: "string", baseType: "string", - array: "true", + array: true, scale: 1, offset: 0, units: "", @@ -1870,7 +1863,7 @@ const Profile = { name: "sport", type: "sport", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -1885,7 +1878,7 @@ const Profile = { name: "subSport", type: "subSport", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -1900,7 +1893,7 @@ const Profile = { name: "odometer", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 100, offset: 0, units: "m", @@ -1915,7 +1908,7 @@ const Profile = { name: "bikeSpdAntId", type: "uint16z", baseType: "uint16z", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -1930,7 +1923,7 @@ const Profile = { name: "bikeCadAntId", type: "uint16z", baseType: "uint16z", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -1945,7 +1938,7 @@ const Profile = { name: "bikeSpdcadAntId", type: "uint16z", baseType: "uint16z", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -1960,7 +1953,7 @@ const Profile = { name: "bikePowerAntId", type: "uint16z", baseType: "uint16z", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -1975,7 +1968,7 @@ const Profile = { name: "customWheelsize", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1000, offset: 0, units: "m", @@ -1990,7 +1983,7 @@ const Profile = { name: "autoWheelsize", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1000, offset: 0, units: "m", @@ -2005,7 +1998,7 @@ const Profile = { name: "bikeWeight", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 10, offset: 0, units: "kg", @@ -2020,7 +2013,7 @@ const Profile = { name: "powerCalFactor", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 10, offset: 0, units: "%", @@ -2035,7 +2028,7 @@ const Profile = { name: "autoWheelCal", type: "bool", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -2050,7 +2043,7 @@ const Profile = { name: "autoPowerZero", type: "bool", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -2065,7 +2058,7 @@ const Profile = { name: "id", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -2080,7 +2073,7 @@ const Profile = { name: "spdEnabled", type: "bool", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -2095,7 +2088,7 @@ const Profile = { name: "cadEnabled", type: "bool", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -2110,7 +2103,7 @@ const Profile = { name: "spdcadEnabled", type: "bool", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -2125,7 +2118,7 @@ const Profile = { name: "powerEnabled", type: "bool", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -2140,7 +2133,7 @@ const Profile = { name: "crankLength", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 2, offset: -110, units: "mm", @@ -2155,7 +2148,7 @@ const Profile = { name: "enabled", type: "bool", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -2170,7 +2163,7 @@ const Profile = { name: "bikeSpdAntIdTransType", type: "uint8z", baseType: "uint8z", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -2185,7 +2178,7 @@ const Profile = { name: "bikeCadAntIdTransType", type: "uint8z", baseType: "uint8z", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -2200,7 +2193,7 @@ const Profile = { name: "bikeSpdcadAntIdTransType", type: "uint8z", baseType: "uint8z", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -2215,7 +2208,7 @@ const Profile = { name: "bikePowerAntIdTransType", type: "uint8z", baseType: "uint8z", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -2230,7 +2223,7 @@ const Profile = { name: "odometerRollover", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -2245,7 +2238,7 @@ const Profile = { name: "frontGearNum", type: "uint8z", baseType: "uint8z", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -2260,7 +2253,7 @@ const Profile = { name: "frontGear", type: "uint8z", baseType: "uint8z", - array: "true", + array: true, scale: 1, offset: 0, units: "", @@ -2275,7 +2268,7 @@ const Profile = { name: "rearGearNum", type: "uint8z", baseType: "uint8z", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -2290,7 +2283,7 @@ const Profile = { name: "rearGear", type: "uint8z", baseType: "uint8z", - array: "true", + array: true, scale: 1, offset: 0, units: "", @@ -2305,7 +2298,7 @@ const Profile = { name: "shimanoDi2Enabled", type: "bool", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -2327,7 +2320,7 @@ const Profile = { name: "bluetoothEnabled", type: "bool", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -2342,7 +2335,7 @@ const Profile = { name: "bluetoothLeEnabled", type: "bool", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -2357,7 +2350,7 @@ const Profile = { name: "antEnabled", type: "bool", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -2372,7 +2365,7 @@ const Profile = { name: "name", type: "string", baseType: "string", - array: "true", + array: true, scale: 1, offset: 0, units: "", @@ -2387,7 +2380,7 @@ const Profile = { name: "liveTrackingEnabled", type: "bool", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -2402,7 +2395,7 @@ const Profile = { name: "weatherConditionsEnabled", type: "bool", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -2417,7 +2410,7 @@ const Profile = { name: "weatherAlertsEnabled", type: "bool", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -2432,7 +2425,7 @@ const Profile = { name: "autoActivityUploadEnabled", type: "bool", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -2447,7 +2440,7 @@ const Profile = { name: "courseDownloadEnabled", type: "bool", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -2462,7 +2455,7 @@ const Profile = { name: "workoutDownloadEnabled", type: "bool", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -2477,7 +2470,7 @@ const Profile = { name: "gpsEphemerisDownloadEnabled", type: "bool", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -2492,7 +2485,7 @@ const Profile = { name: "incidentDetectionEnabled", type: "bool", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -2507,7 +2500,7 @@ const Profile = { name: "grouptrackEnabled", type: "bool", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -2529,7 +2522,7 @@ const Profile = { name: "messageIndex", type: "messageIndex", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -2544,7 +2537,7 @@ const Profile = { name: "mode", type: "watchfaceMode", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -2559,7 +2552,7 @@ const Profile = { name: "layout", type: "byte", baseType: "byte", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -2571,7 +2564,6 @@ const Profile = { name: "digitalLayout", type: "digitalWatchfaceLayout", baseType: "enum", - array: "", scale: 1, offset: 0, units: "", @@ -2586,7 +2578,6 @@ const Profile = { name: "analogLayout", type: "analogWatchfaceLayout", baseType: "enum", - array: "", scale: 1, offset: 0, units: "", @@ -2611,7 +2602,7 @@ const Profile = { name: "timestamp", type: "dateTime", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "s", @@ -2626,7 +2617,7 @@ const Profile = { name: "enabled", type: "switch", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -2648,7 +2639,7 @@ const Profile = { name: "timestamp", type: "dateTime", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "s", @@ -2663,7 +2654,7 @@ const Profile = { name: "referenceMesg", type: "mesgNum", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -2678,7 +2669,7 @@ const Profile = { name: "referenceIndex", type: "messageIndex", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -2693,7 +2684,7 @@ const Profile = { name: "timeInHrZone", type: "uint32", baseType: "uint32", - array: "true", + array: true, scale: 1000, offset: 0, units: "s", @@ -2708,7 +2699,7 @@ const Profile = { name: "timeInSpeedZone", type: "uint32", baseType: "uint32", - array: "true", + array: true, scale: 1000, offset: 0, units: "s", @@ -2723,7 +2714,7 @@ const Profile = { name: "timeInCadenceZone", type: "uint32", baseType: "uint32", - array: "true", + array: true, scale: 1000, offset: 0, units: "s", @@ -2738,7 +2729,7 @@ const Profile = { name: "timeInPowerZone", type: "uint32", baseType: "uint32", - array: "true", + array: true, scale: 1000, offset: 0, units: "s", @@ -2753,7 +2744,7 @@ const Profile = { name: "hrZoneHighBoundary", type: "uint8", baseType: "uint8", - array: "true", + array: true, scale: 1, offset: 0, units: "bpm", @@ -2768,7 +2759,7 @@ const Profile = { name: "speedZoneHighBoundary", type: "uint16", baseType: "uint16", - array: "true", + array: true, scale: 1000, offset: 0, units: "m/s", @@ -2783,7 +2774,7 @@ const Profile = { name: "cadenceZoneHighBondary", type: "uint8", baseType: "uint8", - array: "true", + array: true, scale: 1, offset: 0, units: "rpm", @@ -2798,7 +2789,7 @@ const Profile = { name: "powerZoneHighBoundary", type: "uint16", baseType: "uint16", - array: "true", + array: true, scale: 1, offset: 0, units: "watts", @@ -2813,7 +2804,7 @@ const Profile = { name: "hrCalcType", type: "hrZoneCalc", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -2828,7 +2819,7 @@ const Profile = { name: "maxHeartRate", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -2843,7 +2834,7 @@ const Profile = { name: "restingHeartRate", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -2858,7 +2849,7 @@ const Profile = { name: "thresholdHeartRate", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -2873,7 +2864,7 @@ const Profile = { name: "pwrCalcType", type: "pwrZoneCalc", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -2888,7 +2879,7 @@ const Profile = { name: "functionalThresholdPower", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -2910,7 +2901,7 @@ const Profile = { name: "maxHeartRate", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -2925,7 +2916,7 @@ const Profile = { name: "thresholdHeartRate", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -2940,7 +2931,7 @@ const Profile = { name: "functionalThresholdPower", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -2955,7 +2946,7 @@ const Profile = { name: "hrCalcType", type: "hrZoneCalc", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -2970,7 +2961,7 @@ const Profile = { name: "pwrCalcType", type: "pwrZoneCalc", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -2992,7 +2983,7 @@ const Profile = { name: "sport", type: "sport", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -3007,7 +2998,7 @@ const Profile = { name: "subSport", type: "subSport", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -3022,7 +3013,7 @@ const Profile = { name: "name", type: "string", baseType: "string", - array: "true", + array: true, scale: 1, offset: 0, units: "", @@ -3044,7 +3035,7 @@ const Profile = { name: "messageIndex", type: "messageIndex", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -3059,7 +3050,7 @@ const Profile = { name: "highBpm", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "bpm", @@ -3074,7 +3065,7 @@ const Profile = { name: "name", type: "string", baseType: "string", - array: "true", + array: true, scale: 1, offset: 0, units: "", @@ -3096,7 +3087,7 @@ const Profile = { name: "messageIndex", type: "messageIndex", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -3111,7 +3102,7 @@ const Profile = { name: "highValue", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1000, offset: 0, units: "m/s", @@ -3126,7 +3117,7 @@ const Profile = { name: "name", type: "string", baseType: "string", - array: "true", + array: true, scale: 1, offset: 0, units: "", @@ -3148,7 +3139,7 @@ const Profile = { name: "messageIndex", type: "messageIndex", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -3163,7 +3154,7 @@ const Profile = { name: "highValue", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "rpm", @@ -3178,7 +3169,7 @@ const Profile = { name: "name", type: "string", baseType: "string", - array: "true", + array: true, scale: 1, offset: 0, units: "", @@ -3200,7 +3191,7 @@ const Profile = { name: "messageIndex", type: "messageIndex", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -3215,7 +3206,7 @@ const Profile = { name: "highValue", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "watts", @@ -3230,7 +3221,7 @@ const Profile = { name: "name", type: "string", baseType: "string", - array: "true", + array: true, scale: 1, offset: 0, units: "", @@ -3252,7 +3243,7 @@ const Profile = { name: "messageIndex", type: "messageIndex", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -3267,7 +3258,7 @@ const Profile = { name: "highBpm", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -3282,7 +3273,7 @@ const Profile = { name: "calories", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 10, offset: 0, units: "kcal / min", @@ -3297,7 +3288,7 @@ const Profile = { name: "fatCalories", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 10, offset: 0, units: "kcal / min", @@ -3319,7 +3310,7 @@ const Profile = { name: "targetDistance", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 100, offset: 0, units: "m", @@ -3334,7 +3325,7 @@ const Profile = { name: "targetSpeed", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1000, offset: 0, units: "m/s", @@ -3349,7 +3340,7 @@ const Profile = { name: "targetTime", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "s", @@ -3364,7 +3355,7 @@ const Profile = { name: "preciseTargetSpeed", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 1000000, offset: 0, units: "m/s", @@ -3386,7 +3377,7 @@ const Profile = { name: "timestamp", type: "dateTime", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -3401,7 +3392,7 @@ const Profile = { name: "messageIndex", type: "messageIndex", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -3416,7 +3407,7 @@ const Profile = { name: "name", type: "string", baseType: "string", - array: "true", + array: true, scale: 1, offset: 0, units: "", @@ -3431,7 +3422,7 @@ const Profile = { name: "model", type: "tissueModelType", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -3446,7 +3437,7 @@ const Profile = { name: "gfLow", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "percent", @@ -3461,7 +3452,7 @@ const Profile = { name: "gfHigh", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "percent", @@ -3476,7 +3467,7 @@ const Profile = { name: "waterType", type: "waterType", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -3491,7 +3482,7 @@ const Profile = { name: "waterDensity", type: "float32", baseType: "float32", - array: "false", + array: false, scale: 1, offset: 0, units: "kg/m^3", @@ -3506,7 +3497,7 @@ const Profile = { name: "po2Warn", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 100, offset: 0, units: "percent", @@ -3521,7 +3512,7 @@ const Profile = { name: "po2Critical", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 100, offset: 0, units: "percent", @@ -3536,7 +3527,7 @@ const Profile = { name: "po2Deco", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 100, offset: 0, units: "percent", @@ -3551,7 +3542,7 @@ const Profile = { name: "safetyStopEnabled", type: "bool", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -3566,7 +3557,7 @@ const Profile = { name: "bottomDepth", type: "float32", baseType: "float32", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -3581,7 +3572,7 @@ const Profile = { name: "bottomTime", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -3596,7 +3587,7 @@ const Profile = { name: "apneaCountdownEnabled", type: "bool", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -3611,7 +3602,7 @@ const Profile = { name: "apneaCountdownTime", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -3626,7 +3617,7 @@ const Profile = { name: "backlightMode", type: "diveBacklightMode", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -3641,7 +3632,7 @@ const Profile = { name: "backlightBrightness", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -3656,7 +3647,7 @@ const Profile = { name: "backlightTimeout", type: "backlightTimeout", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -3671,7 +3662,7 @@ const Profile = { name: "repeatDiveInterval", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "s", @@ -3686,7 +3677,7 @@ const Profile = { name: "safetyStopTime", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "s", @@ -3701,7 +3692,7 @@ const Profile = { name: "heartRateSourceType", type: "sourceType", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -3716,7 +3707,7 @@ const Profile = { name: "heartRateSource", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -3728,7 +3719,6 @@ const Profile = { name: "heartRateAntplusDeviceType", type: "antplusDeviceType", baseType: "uint8", - array: "", scale: 1, offset: 0, units: "", @@ -3743,7 +3733,6 @@ const Profile = { name: "heartRateLocalDeviceType", type: "localDeviceType", baseType: "uint8", - array: "", scale: 1, offset: 0, units: "", @@ -3761,7 +3750,7 @@ const Profile = { name: "travelGas", type: "messageIndex", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -3776,7 +3765,7 @@ const Profile = { name: "ccrLowSetpointSwitchMode", type: "ccrSetpointSwitchMode", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -3791,7 +3780,7 @@ const Profile = { name: "ccrLowSetpoint", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 100, offset: 0, units: "percent", @@ -3806,7 +3795,7 @@ const Profile = { name: "ccrLowSetpointDepth", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 1000, offset: 0, units: "m", @@ -3821,7 +3810,7 @@ const Profile = { name: "ccrHighSetpointSwitchMode", type: "ccrSetpointSwitchMode", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -3836,7 +3825,7 @@ const Profile = { name: "ccrHighSetpoint", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 100, offset: 0, units: "percent", @@ -3851,7 +3840,7 @@ const Profile = { name: "ccrHighSetpointDepth", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 1000, offset: 0, units: "m", @@ -3866,7 +3855,7 @@ const Profile = { name: "gasConsumptionDisplay", type: "gasConsumptionRateType", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -3881,7 +3870,7 @@ const Profile = { name: "upKeyEnabled", type: "bool", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -3896,7 +3885,7 @@ const Profile = { name: "diveSounds", type: "tone", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -3911,7 +3900,7 @@ const Profile = { name: "lastStopMultiple", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 10, offset: 0, units: "", @@ -3926,7 +3915,7 @@ const Profile = { name: "noFlyTimeMode", type: "noFlyTimeMode", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -3948,7 +3937,7 @@ const Profile = { name: "messageIndex", type: "messageIndex", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -3963,7 +3952,7 @@ const Profile = { name: "depth", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 1000, offset: 0, units: "m", @@ -3978,7 +3967,7 @@ const Profile = { name: "time", type: "sint32", baseType: "sint32", - array: "false", + array: false, scale: 1, offset: 0, units: "s", @@ -3993,7 +3982,7 @@ const Profile = { name: "enabled", type: "bool", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -4008,7 +3997,7 @@ const Profile = { name: "alarmType", type: "diveAlarmType", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -4023,7 +4012,7 @@ const Profile = { name: "sound", type: "tone", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -4038,7 +4027,7 @@ const Profile = { name: "diveTypes", type: "subSport", baseType: "enum", - array: "true", + array: true, scale: 1, offset: 0, units: "", @@ -4053,7 +4042,7 @@ const Profile = { name: "id", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -4068,7 +4057,7 @@ const Profile = { name: "popupEnabled", type: "bool", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -4083,7 +4072,7 @@ const Profile = { name: "triggerOnDescent", type: "bool", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -4098,7 +4087,7 @@ const Profile = { name: "triggerOnAscent", type: "bool", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -4113,7 +4102,7 @@ const Profile = { name: "repeating", type: "bool", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -4128,7 +4117,7 @@ const Profile = { name: "speed", type: "sint32", baseType: "sint32", - array: "false", + array: false, scale: 1000, offset: 0, units: "mps", @@ -4150,7 +4139,7 @@ const Profile = { name: "messageIndex", type: "messageIndex", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -4165,7 +4154,7 @@ const Profile = { name: "depth", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 1000, offset: 0, units: "m", @@ -4180,7 +4169,7 @@ const Profile = { name: "time", type: "sint32", baseType: "sint32", - array: "false", + array: false, scale: 1, offset: 0, units: "s", @@ -4195,7 +4184,7 @@ const Profile = { name: "enabled", type: "bool", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -4210,7 +4199,7 @@ const Profile = { name: "alarmType", type: "diveAlarmType", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -4225,7 +4214,7 @@ const Profile = { name: "sound", type: "tone", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -4240,7 +4229,7 @@ const Profile = { name: "diveTypes", type: "subSport", baseType: "enum", - array: "true", + array: true, scale: 1, offset: 0, units: "", @@ -4255,7 +4244,7 @@ const Profile = { name: "id", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -4270,7 +4259,7 @@ const Profile = { name: "popupEnabled", type: "bool", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -4285,7 +4274,7 @@ const Profile = { name: "triggerOnDescent", type: "bool", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -4300,7 +4289,7 @@ const Profile = { name: "triggerOnAscent", type: "bool", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -4315,7 +4304,7 @@ const Profile = { name: "repeating", type: "bool", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -4330,7 +4319,7 @@ const Profile = { name: "speed", type: "sint32", baseType: "sint32", - array: "false", + array: false, scale: 1000, offset: 0, units: "mps", @@ -4352,7 +4341,7 @@ const Profile = { name: "messageIndex", type: "messageIndex", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -4367,7 +4356,7 @@ const Profile = { name: "heliumContent", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "percent", @@ -4382,7 +4371,7 @@ const Profile = { name: "oxygenContent", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "percent", @@ -4397,7 +4386,7 @@ const Profile = { name: "status", type: "diveGasStatus", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -4412,7 +4401,7 @@ const Profile = { name: "mode", type: "diveGasMode", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -4434,7 +4423,7 @@ const Profile = { name: "messageIndex", type: "messageIndex", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -4449,7 +4438,7 @@ const Profile = { name: "sport", type: "sport", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -4464,7 +4453,7 @@ const Profile = { name: "subSport", type: "subSport", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -4479,7 +4468,7 @@ const Profile = { name: "startDate", type: "dateTime", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -4494,7 +4483,7 @@ const Profile = { name: "endDate", type: "dateTime", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -4509,7 +4498,7 @@ const Profile = { name: "type", type: "goal", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -4524,7 +4513,7 @@ const Profile = { name: "value", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -4539,7 +4528,7 @@ const Profile = { name: "repeat", type: "bool", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -4554,7 +4543,7 @@ const Profile = { name: "targetValue", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -4569,7 +4558,7 @@ const Profile = { name: "recurrence", type: "goalRecurrence", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -4584,7 +4573,7 @@ const Profile = { name: "recurrenceValue", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -4599,7 +4588,7 @@ const Profile = { name: "enabled", type: "bool", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -4614,7 +4603,7 @@ const Profile = { name: "source", type: "goalSource", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -4636,7 +4625,7 @@ const Profile = { name: "timestamp", type: "dateTime", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -4651,7 +4640,7 @@ const Profile = { name: "totalTimerTime", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 1000, offset: 0, units: "s", @@ -4666,7 +4655,7 @@ const Profile = { name: "numSessions", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -4681,7 +4670,7 @@ const Profile = { name: "type", type: "activity", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -4696,7 +4685,7 @@ const Profile = { name: "event", type: "event", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -4711,7 +4700,7 @@ const Profile = { name: "eventType", type: "eventType", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -4726,7 +4715,7 @@ const Profile = { name: "localTimestamp", type: "localDateTime", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -4741,7 +4730,7 @@ const Profile = { name: "eventGroup", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -4763,7 +4752,7 @@ const Profile = { name: "messageIndex", type: "messageIndex", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -4778,7 +4767,7 @@ const Profile = { name: "timestamp", type: "dateTime", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "s", @@ -4793,7 +4782,7 @@ const Profile = { name: "event", type: "event", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -4808,7 +4797,7 @@ const Profile = { name: "eventType", type: "eventType", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -4823,7 +4812,7 @@ const Profile = { name: "startTime", type: "dateTime", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -4838,7 +4827,7 @@ const Profile = { name: "startPositionLat", type: "sint32", baseType: "sint32", - array: "false", + array: false, scale: 1, offset: 0, units: "semicircles", @@ -4853,7 +4842,7 @@ const Profile = { name: "startPositionLong", type: "sint32", baseType: "sint32", - array: "false", + array: false, scale: 1, offset: 0, units: "semicircles", @@ -4868,7 +4857,7 @@ const Profile = { name: "sport", type: "sport", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -4883,7 +4872,7 @@ const Profile = { name: "subSport", type: "subSport", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -4898,7 +4887,7 @@ const Profile = { name: "totalElapsedTime", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 1000, offset: 0, units: "s", @@ -4913,7 +4902,7 @@ const Profile = { name: "totalTimerTime", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 1000, offset: 0, units: "s", @@ -4928,7 +4917,7 @@ const Profile = { name: "totalDistance", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 100, offset: 0, units: "m", @@ -4943,7 +4932,7 @@ const Profile = { name: "totalCycles", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "cycles", @@ -4955,7 +4944,6 @@ const Profile = { name: "totalStrides", type: "uint32", baseType: "uint32", - array: "", scale: 1, offset: 0, units: "strides", @@ -4971,7 +4959,6 @@ const Profile = { name: "totalStrokes", type: "uint32", baseType: "uint32", - array: "", scale: 1, offset: 0, units: "strokes", @@ -4992,7 +4979,7 @@ const Profile = { name: "totalCalories", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "kcal", @@ -5007,7 +4994,7 @@ const Profile = { name: "totalFatCalories", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "kcal", @@ -5022,7 +5009,7 @@ const Profile = { name: "avgSpeed", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: [1000, ], offset: [0, ], units: ["m/s", ], @@ -5037,7 +5024,7 @@ const Profile = { name: "maxSpeed", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: [1000, ], offset: [0, ], units: ["m/s", ], @@ -5052,7 +5039,7 @@ const Profile = { name: "avgHeartRate", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "bpm", @@ -5067,7 +5054,7 @@ const Profile = { name: "maxHeartRate", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "bpm", @@ -5082,7 +5069,7 @@ const Profile = { name: "avgCadence", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "rpm", @@ -5094,7 +5081,6 @@ const Profile = { name: "avgRunningCadence", type: "uint8", baseType: "uint8", - array: "", scale: 1, offset: 0, units: "strides/min", @@ -5112,7 +5098,7 @@ const Profile = { name: "maxCadence", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "rpm", @@ -5124,7 +5110,6 @@ const Profile = { name: "maxRunningCadence", type: "uint8", baseType: "uint8", - array: "", scale: 1, offset: 0, units: "strides/min", @@ -5142,7 +5127,7 @@ const Profile = { name: "avgPower", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "watts", @@ -5157,7 +5142,7 @@ const Profile = { name: "maxPower", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "watts", @@ -5172,7 +5157,7 @@ const Profile = { name: "totalAscent", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "m", @@ -5187,7 +5172,7 @@ const Profile = { name: "totalDescent", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "m", @@ -5202,7 +5187,7 @@ const Profile = { name: "totalTrainingEffect", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 10, offset: 0, units: "", @@ -5217,7 +5202,7 @@ const Profile = { name: "firstLapIndex", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -5232,7 +5217,7 @@ const Profile = { name: "numLaps", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -5247,7 +5232,7 @@ const Profile = { name: "eventGroup", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -5262,7 +5247,7 @@ const Profile = { name: "trigger", type: "sessionTrigger", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -5277,7 +5262,7 @@ const Profile = { name: "necLat", type: "sint32", baseType: "sint32", - array: "false", + array: false, scale: 1, offset: 0, units: "semicircles", @@ -5292,7 +5277,7 @@ const Profile = { name: "necLong", type: "sint32", baseType: "sint32", - array: "false", + array: false, scale: 1, offset: 0, units: "semicircles", @@ -5307,7 +5292,7 @@ const Profile = { name: "swcLat", type: "sint32", baseType: "sint32", - array: "false", + array: false, scale: 1, offset: 0, units: "semicircles", @@ -5322,7 +5307,7 @@ const Profile = { name: "swcLong", type: "sint32", baseType: "sint32", - array: "false", + array: false, scale: 1, offset: 0, units: "semicircles", @@ -5337,7 +5322,7 @@ const Profile = { name: "numLengths", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "lengths", @@ -5352,7 +5337,7 @@ const Profile = { name: "normalizedPower", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "watts", @@ -5367,7 +5352,7 @@ const Profile = { name: "trainingStressScore", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 10, offset: 0, units: "tss", @@ -5382,7 +5367,7 @@ const Profile = { name: "intensityFactor", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1000, offset: 0, units: "if", @@ -5397,7 +5382,7 @@ const Profile = { name: "leftRightBalance", type: "leftRightBalance100", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -5412,7 +5397,7 @@ const Profile = { name: "endPositionLat", type: "sint32", baseType: "sint32", - array: "false", + array: false, scale: 1, offset: 0, units: "semicircles", @@ -5427,7 +5412,7 @@ const Profile = { name: "endPositionLong", type: "sint32", baseType: "sint32", - array: "false", + array: false, scale: 1, offset: 0, units: "semicircles", @@ -5442,7 +5427,7 @@ const Profile = { name: "avgStrokeCount", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 10, offset: 0, units: "strokes/lap", @@ -5457,7 +5442,7 @@ const Profile = { name: "avgStrokeDistance", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 100, offset: 0, units: "m", @@ -5472,7 +5457,7 @@ const Profile = { name: "swimStroke", type: "swimStroke", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "swim_stroke", @@ -5487,7 +5472,7 @@ const Profile = { name: "poolLength", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 100, offset: 0, units: "m", @@ -5502,7 +5487,7 @@ const Profile = { name: "thresholdPower", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "watts", @@ -5517,7 +5502,7 @@ const Profile = { name: "poolLengthUnit", type: "displayMeasure", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -5532,7 +5517,7 @@ const Profile = { name: "numActiveLengths", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "lengths", @@ -5547,7 +5532,7 @@ const Profile = { name: "totalWork", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "J", @@ -5562,7 +5547,7 @@ const Profile = { name: "avgAltitude", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: [5, ], offset: [500, ], units: ["m", ], @@ -5577,7 +5562,7 @@ const Profile = { name: "maxAltitude", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: [5, ], offset: [500, ], units: ["m", ], @@ -5592,7 +5577,7 @@ const Profile = { name: "gpsAccuracy", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "m", @@ -5607,7 +5592,7 @@ const Profile = { name: "avgGrade", type: "sint16", baseType: "sint16", - array: "false", + array: false, scale: 100, offset: 0, units: "%", @@ -5622,7 +5607,7 @@ const Profile = { name: "avgPosGrade", type: "sint16", baseType: "sint16", - array: "false", + array: false, scale: 100, offset: 0, units: "%", @@ -5637,7 +5622,7 @@ const Profile = { name: "avgNegGrade", type: "sint16", baseType: "sint16", - array: "false", + array: false, scale: 100, offset: 0, units: "%", @@ -5652,7 +5637,7 @@ const Profile = { name: "maxPosGrade", type: "sint16", baseType: "sint16", - array: "false", + array: false, scale: 100, offset: 0, units: "%", @@ -5667,7 +5652,7 @@ const Profile = { name: "maxNegGrade", type: "sint16", baseType: "sint16", - array: "false", + array: false, scale: 100, offset: 0, units: "%", @@ -5682,7 +5667,7 @@ const Profile = { name: "avgTemperature", type: "sint8", baseType: "sint8", - array: "false", + array: false, scale: 1, offset: 0, units: "C", @@ -5697,7 +5682,7 @@ const Profile = { name: "maxTemperature", type: "sint8", baseType: "sint8", - array: "false", + array: false, scale: 1, offset: 0, units: "C", @@ -5712,7 +5697,7 @@ const Profile = { name: "totalMovingTime", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 1000, offset: 0, units: "s", @@ -5727,7 +5712,7 @@ const Profile = { name: "avgPosVerticalSpeed", type: "sint16", baseType: "sint16", - array: "false", + array: false, scale: 1000, offset: 0, units: "m/s", @@ -5742,7 +5727,7 @@ const Profile = { name: "avgNegVerticalSpeed", type: "sint16", baseType: "sint16", - array: "false", + array: false, scale: 1000, offset: 0, units: "m/s", @@ -5757,7 +5742,7 @@ const Profile = { name: "maxPosVerticalSpeed", type: "sint16", baseType: "sint16", - array: "false", + array: false, scale: 1000, offset: 0, units: "m/s", @@ -5772,7 +5757,7 @@ const Profile = { name: "maxNegVerticalSpeed", type: "sint16", baseType: "sint16", - array: "false", + array: false, scale: 1000, offset: 0, units: "m/s", @@ -5787,7 +5772,7 @@ const Profile = { name: "minHeartRate", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "bpm", @@ -5802,7 +5787,7 @@ const Profile = { name: "timeInHrZone", type: "uint32", baseType: "uint32", - array: "true", + array: true, scale: 1000, offset: 0, units: "s", @@ -5817,7 +5802,7 @@ const Profile = { name: "timeInSpeedZone", type: "uint32", baseType: "uint32", - array: "true", + array: true, scale: 1000, offset: 0, units: "s", @@ -5832,7 +5817,7 @@ const Profile = { name: "timeInCadenceZone", type: "uint32", baseType: "uint32", - array: "true", + array: true, scale: 1000, offset: 0, units: "s", @@ -5847,7 +5832,7 @@ const Profile = { name: "timeInPowerZone", type: "uint32", baseType: "uint32", - array: "true", + array: true, scale: 1000, offset: 0, units: "s", @@ -5862,7 +5847,7 @@ const Profile = { name: "avgLapTime", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 1000, offset: 0, units: "s", @@ -5877,7 +5862,7 @@ const Profile = { name: "bestLapIndex", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -5892,7 +5877,7 @@ const Profile = { name: "minAltitude", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: [5, ], offset: [500, ], units: ["m", ], @@ -5907,7 +5892,7 @@ const Profile = { name: "playerScore", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -5922,7 +5907,7 @@ const Profile = { name: "opponentScore", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -5937,7 +5922,7 @@ const Profile = { name: "opponentName", type: "string", baseType: "string", - array: "true", + array: true, scale: 1, offset: 0, units: "", @@ -5952,7 +5937,7 @@ const Profile = { name: "strokeCount", type: "uint16", baseType: "uint16", - array: "true", + array: true, scale: 1, offset: 0, units: "counts", @@ -5967,7 +5952,7 @@ const Profile = { name: "zoneCount", type: "uint16", baseType: "uint16", - array: "true", + array: true, scale: 1, offset: 0, units: "counts", @@ -5982,7 +5967,7 @@ const Profile = { name: "maxBallSpeed", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 100, offset: 0, units: "m/s", @@ -5997,7 +5982,7 @@ const Profile = { name: "avgBallSpeed", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 100, offset: 0, units: "m/s", @@ -6012,7 +5997,7 @@ const Profile = { name: "avgVerticalOscillation", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 10, offset: 0, units: "mm", @@ -6027,7 +6012,7 @@ const Profile = { name: "avgStanceTimePercent", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 100, offset: 0, units: "percent", @@ -6042,7 +6027,7 @@ const Profile = { name: "avgStanceTime", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 10, offset: 0, units: "ms", @@ -6057,7 +6042,7 @@ const Profile = { name: "avgFractionalCadence", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 128, offset: 0, units: "rpm", @@ -6072,7 +6057,7 @@ const Profile = { name: "maxFractionalCadence", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 128, offset: 0, units: "rpm", @@ -6087,7 +6072,7 @@ const Profile = { name: "totalFractionalCycles", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 128, offset: 0, units: "cycles", @@ -6102,7 +6087,7 @@ const Profile = { name: "avgTotalHemoglobinConc", type: "uint16", baseType: "uint16", - array: "true", + array: true, scale: 100, offset: 0, units: "g/dL", @@ -6117,7 +6102,7 @@ const Profile = { name: "minTotalHemoglobinConc", type: "uint16", baseType: "uint16", - array: "true", + array: true, scale: 100, offset: 0, units: "g/dL", @@ -6132,7 +6117,7 @@ const Profile = { name: "maxTotalHemoglobinConc", type: "uint16", baseType: "uint16", - array: "true", + array: true, scale: 100, offset: 0, units: "g/dL", @@ -6147,7 +6132,7 @@ const Profile = { name: "avgSaturatedHemoglobinPercent", type: "uint16", baseType: "uint16", - array: "true", + array: true, scale: 10, offset: 0, units: "%", @@ -6162,7 +6147,7 @@ const Profile = { name: "minSaturatedHemoglobinPercent", type: "uint16", baseType: "uint16", - array: "true", + array: true, scale: 10, offset: 0, units: "%", @@ -6177,7 +6162,7 @@ const Profile = { name: "maxSaturatedHemoglobinPercent", type: "uint16", baseType: "uint16", - array: "true", + array: true, scale: 10, offset: 0, units: "%", @@ -6192,7 +6177,7 @@ const Profile = { name: "avgLeftTorqueEffectiveness", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 2, offset: 0, units: "percent", @@ -6207,7 +6192,7 @@ const Profile = { name: "avgRightTorqueEffectiveness", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 2, offset: 0, units: "percent", @@ -6222,7 +6207,7 @@ const Profile = { name: "avgLeftPedalSmoothness", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 2, offset: 0, units: "percent", @@ -6237,7 +6222,7 @@ const Profile = { name: "avgRightPedalSmoothness", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 2, offset: 0, units: "percent", @@ -6252,7 +6237,7 @@ const Profile = { name: "avgCombinedPedalSmoothness", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 2, offset: 0, units: "percent", @@ -6267,7 +6252,7 @@ const Profile = { name: "sportProfileName", type: "string", baseType: "string", - array: "true", + array: true, scale: 1, offset: 0, units: "", @@ -6282,7 +6267,7 @@ const Profile = { name: "sportIndex", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -6297,7 +6282,7 @@ const Profile = { name: "timeStanding", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 1000, offset: 0, units: "s", @@ -6312,7 +6297,7 @@ const Profile = { name: "standCount", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -6327,7 +6312,7 @@ const Profile = { name: "avgLeftPco", type: "sint8", baseType: "sint8", - array: "false", + array: false, scale: 1, offset: 0, units: "mm", @@ -6342,7 +6327,7 @@ const Profile = { name: "avgRightPco", type: "sint8", baseType: "sint8", - array: "false", + array: false, scale: 1, offset: 0, units: "mm", @@ -6357,7 +6342,7 @@ const Profile = { name: "avgLeftPowerPhase", type: "uint8", baseType: "uint8", - array: "true", + array: true, scale: 0.7111111, offset: 0, units: "degrees", @@ -6372,7 +6357,7 @@ const Profile = { name: "avgLeftPowerPhasePeak", type: "uint8", baseType: "uint8", - array: "true", + array: true, scale: 0.7111111, offset: 0, units: "degrees", @@ -6387,7 +6372,7 @@ const Profile = { name: "avgRightPowerPhase", type: "uint8", baseType: "uint8", - array: "true", + array: true, scale: 0.7111111, offset: 0, units: "degrees", @@ -6402,7 +6387,7 @@ const Profile = { name: "avgRightPowerPhasePeak", type: "uint8", baseType: "uint8", - array: "true", + array: true, scale: 0.7111111, offset: 0, units: "degrees", @@ -6417,7 +6402,7 @@ const Profile = { name: "avgPowerPosition", type: "uint16", baseType: "uint16", - array: "true", + array: true, scale: 1, offset: 0, units: "watts", @@ -6432,7 +6417,7 @@ const Profile = { name: "maxPowerPosition", type: "uint16", baseType: "uint16", - array: "true", + array: true, scale: 1, offset: 0, units: "watts", @@ -6447,7 +6432,7 @@ const Profile = { name: "avgCadencePosition", type: "uint8", baseType: "uint8", - array: "true", + array: true, scale: 1, offset: 0, units: "rpm", @@ -6462,7 +6447,7 @@ const Profile = { name: "maxCadencePosition", type: "uint8", baseType: "uint8", - array: "true", + array: true, scale: 1, offset: 0, units: "rpm", @@ -6477,7 +6462,7 @@ const Profile = { name: "enhancedAvgSpeed", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 1000, offset: 0, units: "m/s", @@ -6492,7 +6477,7 @@ const Profile = { name: "enhancedMaxSpeed", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 1000, offset: 0, units: "m/s", @@ -6507,7 +6492,7 @@ const Profile = { name: "enhancedAvgAltitude", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 5, offset: 500, units: "m", @@ -6522,7 +6507,7 @@ const Profile = { name: "enhancedMinAltitude", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 5, offset: 500, units: "m", @@ -6537,7 +6522,7 @@ const Profile = { name: "enhancedMaxAltitude", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 5, offset: 500, units: "m", @@ -6552,7 +6537,7 @@ const Profile = { name: "avgLevMotorPower", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "watts", @@ -6567,7 +6552,7 @@ const Profile = { name: "maxLevMotorPower", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "watts", @@ -6582,7 +6567,7 @@ const Profile = { name: "levBatteryConsumption", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 2, offset: 0, units: "percent", @@ -6597,7 +6582,7 @@ const Profile = { name: "avgVerticalRatio", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 100, offset: 0, units: "percent", @@ -6612,7 +6597,7 @@ const Profile = { name: "avgStanceTimeBalance", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 100, offset: 0, units: "percent", @@ -6627,7 +6612,7 @@ const Profile = { name: "avgStepLength", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 10, offset: 0, units: "mm", @@ -6642,7 +6627,7 @@ const Profile = { name: "totalAnaerobicTrainingEffect", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 10, offset: 0, units: "", @@ -6657,7 +6642,7 @@ const Profile = { name: "avgVam", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1000, offset: 0, units: "m/s", @@ -6672,7 +6657,7 @@ const Profile = { name: "avgDepth", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 1000, offset: 0, units: "m", @@ -6687,7 +6672,7 @@ const Profile = { name: "maxDepth", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 1000, offset: 0, units: "m", @@ -6702,7 +6687,7 @@ const Profile = { name: "surfaceInterval", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "s", @@ -6717,7 +6702,7 @@ const Profile = { name: "startCns", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "percent", @@ -6732,7 +6717,7 @@ const Profile = { name: "endCns", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "percent", @@ -6747,7 +6732,7 @@ const Profile = { name: "startN2", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "percent", @@ -6762,7 +6747,7 @@ const Profile = { name: "endN2", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "percent", @@ -6777,7 +6762,7 @@ const Profile = { name: "avgRespirationRate", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: [1, ], offset: [0, ], units: ["", ], @@ -6792,7 +6777,7 @@ const Profile = { name: "maxRespirationRate", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: [1, ], offset: [0, ], units: ["", ], @@ -6807,7 +6792,7 @@ const Profile = { name: "minRespirationRate", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: [1, ], offset: [0, ], units: ["", ], @@ -6822,7 +6807,7 @@ const Profile = { name: "minTemperature", type: "sint8", baseType: "sint8", - array: "false", + array: false, scale: 1, offset: 0, units: "C", @@ -6837,7 +6822,7 @@ const Profile = { name: "o2Toxicity", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "OTUs", @@ -6852,7 +6837,7 @@ const Profile = { name: "diveNumber", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -6867,7 +6852,7 @@ const Profile = { name: "trainingLoadPeak", type: "sint32", baseType: "sint32", - array: "false", + array: false, scale: 65536, offset: 0, units: "", @@ -6882,7 +6867,7 @@ const Profile = { name: "enhancedAvgRespirationRate", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 100, offset: 0, units: "Breaths/min", @@ -6897,7 +6882,7 @@ const Profile = { name: "enhancedMaxRespirationRate", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 100, offset: 0, units: "Breaths/min", @@ -6912,7 +6897,7 @@ const Profile = { name: "enhancedMinRespirationRate", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 100, offset: 0, units: "", @@ -6927,7 +6912,7 @@ const Profile = { name: "totalGrit", type: "float32", baseType: "float32", - array: "false", + array: false, scale: 1, offset: 0, units: "kGrit", @@ -6942,7 +6927,7 @@ const Profile = { name: "totalFlow", type: "float32", baseType: "float32", - array: "false", + array: false, scale: 1, offset: 0, units: "Flow", @@ -6957,7 +6942,7 @@ const Profile = { name: "jumpCount", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -6972,7 +6957,7 @@ const Profile = { name: "avgGrit", type: "float32", baseType: "float32", - array: "false", + array: false, scale: 1, offset: 0, units: "kGrit", @@ -6987,7 +6972,7 @@ const Profile = { name: "avgFlow", type: "float32", baseType: "float32", - array: "false", + array: false, scale: 1, offset: 0, units: "Flow", @@ -7002,7 +6987,7 @@ const Profile = { name: "workoutFeel", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -7017,7 +7002,7 @@ const Profile = { name: "workoutRpe", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -7032,7 +7017,7 @@ const Profile = { name: "avgSpo2", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "percent", @@ -7047,7 +7032,7 @@ const Profile = { name: "avgStress", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "percent", @@ -7062,7 +7047,7 @@ const Profile = { name: "sdrrHrv", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "mS", @@ -7077,7 +7062,7 @@ const Profile = { name: "rmssdHrv", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "mS", @@ -7092,7 +7077,7 @@ const Profile = { name: "totalFractionalAscent", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 100, offset: 0, units: "m", @@ -7107,7 +7092,7 @@ const Profile = { name: "totalFractionalDescent", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 100, offset: 0, units: "m", @@ -7122,7 +7107,7 @@ const Profile = { name: "avgCoreTemperature", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 100, offset: 0, units: "C", @@ -7137,7 +7122,7 @@ const Profile = { name: "minCoreTemperature", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 100, offset: 0, units: "C", @@ -7152,7 +7137,7 @@ const Profile = { name: "maxCoreTemperature", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 100, offset: 0, units: "C", @@ -7174,7 +7159,7 @@ const Profile = { name: "messageIndex", type: "messageIndex", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -7189,7 +7174,7 @@ const Profile = { name: "timestamp", type: "dateTime", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "s", @@ -7204,7 +7189,7 @@ const Profile = { name: "event", type: "event", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -7219,7 +7204,7 @@ const Profile = { name: "eventType", type: "eventType", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -7234,7 +7219,7 @@ const Profile = { name: "startTime", type: "dateTime", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -7249,7 +7234,7 @@ const Profile = { name: "startPositionLat", type: "sint32", baseType: "sint32", - array: "false", + array: false, scale: 1, offset: 0, units: "semicircles", @@ -7264,7 +7249,7 @@ const Profile = { name: "startPositionLong", type: "sint32", baseType: "sint32", - array: "false", + array: false, scale: 1, offset: 0, units: "semicircles", @@ -7279,7 +7264,7 @@ const Profile = { name: "endPositionLat", type: "sint32", baseType: "sint32", - array: "false", + array: false, scale: 1, offset: 0, units: "semicircles", @@ -7294,7 +7279,7 @@ const Profile = { name: "endPositionLong", type: "sint32", baseType: "sint32", - array: "false", + array: false, scale: 1, offset: 0, units: "semicircles", @@ -7309,7 +7294,7 @@ const Profile = { name: "totalElapsedTime", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 1000, offset: 0, units: "s", @@ -7324,7 +7309,7 @@ const Profile = { name: "totalTimerTime", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 1000, offset: 0, units: "s", @@ -7339,7 +7324,7 @@ const Profile = { name: "totalDistance", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 100, offset: 0, units: "m", @@ -7354,7 +7339,7 @@ const Profile = { name: "totalCycles", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "cycles", @@ -7366,7 +7351,6 @@ const Profile = { name: "totalStrides", type: "uint32", baseType: "uint32", - array: "", scale: 1, offset: 0, units: "strides", @@ -7382,7 +7366,6 @@ const Profile = { name: "totalStrokes", type: "uint32", baseType: "uint32", - array: "", scale: 1, offset: 0, units: "strokes", @@ -7403,7 +7386,7 @@ const Profile = { name: "totalCalories", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "kcal", @@ -7418,7 +7401,7 @@ const Profile = { name: "totalFatCalories", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "kcal", @@ -7433,7 +7416,7 @@ const Profile = { name: "avgSpeed", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: [1000, ], offset: [0, ], units: ["m/s", ], @@ -7448,7 +7431,7 @@ const Profile = { name: "maxSpeed", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: [1000, ], offset: [0, ], units: ["m/s", ], @@ -7463,7 +7446,7 @@ const Profile = { name: "avgHeartRate", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "bpm", @@ -7478,7 +7461,7 @@ const Profile = { name: "maxHeartRate", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "bpm", @@ -7493,7 +7476,7 @@ const Profile = { name: "avgCadence", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "rpm", @@ -7505,7 +7488,6 @@ const Profile = { name: "avgRunningCadence", type: "uint8", baseType: "uint8", - array: "", scale: 1, offset: 0, units: "strides/min", @@ -7523,7 +7505,7 @@ const Profile = { name: "maxCadence", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "rpm", @@ -7535,7 +7517,6 @@ const Profile = { name: "maxRunningCadence", type: "uint8", baseType: "uint8", - array: "", scale: 1, offset: 0, units: "strides/min", @@ -7553,7 +7534,7 @@ const Profile = { name: "avgPower", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "watts", @@ -7568,7 +7549,7 @@ const Profile = { name: "maxPower", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "watts", @@ -7583,7 +7564,7 @@ const Profile = { name: "totalAscent", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "m", @@ -7598,7 +7579,7 @@ const Profile = { name: "totalDescent", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "m", @@ -7613,7 +7594,7 @@ const Profile = { name: "intensity", type: "intensity", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -7628,7 +7609,7 @@ const Profile = { name: "lapTrigger", type: "lapTrigger", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -7643,7 +7624,7 @@ const Profile = { name: "sport", type: "sport", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -7658,7 +7639,7 @@ const Profile = { name: "eventGroup", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -7673,7 +7654,7 @@ const Profile = { name: "numLengths", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "lengths", @@ -7688,7 +7669,7 @@ const Profile = { name: "normalizedPower", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "watts", @@ -7703,7 +7684,7 @@ const Profile = { name: "leftRightBalance", type: "leftRightBalance100", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -7718,7 +7699,7 @@ const Profile = { name: "firstLengthIndex", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -7733,7 +7714,7 @@ const Profile = { name: "avgStrokeDistance", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 100, offset: 0, units: "m", @@ -7748,7 +7729,7 @@ const Profile = { name: "swimStroke", type: "swimStroke", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -7763,7 +7744,7 @@ const Profile = { name: "subSport", type: "subSport", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -7778,7 +7759,7 @@ const Profile = { name: "numActiveLengths", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "lengths", @@ -7793,7 +7774,7 @@ const Profile = { name: "totalWork", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "J", @@ -7808,7 +7789,7 @@ const Profile = { name: "avgAltitude", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: [5, ], offset: [500, ], units: ["m", ], @@ -7823,7 +7804,7 @@ const Profile = { name: "maxAltitude", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: [5, ], offset: [500, ], units: ["m", ], @@ -7838,7 +7819,7 @@ const Profile = { name: "gpsAccuracy", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "m", @@ -7853,7 +7834,7 @@ const Profile = { name: "avgGrade", type: "sint16", baseType: "sint16", - array: "false", + array: false, scale: 100, offset: 0, units: "%", @@ -7868,7 +7849,7 @@ const Profile = { name: "avgPosGrade", type: "sint16", baseType: "sint16", - array: "false", + array: false, scale: 100, offset: 0, units: "%", @@ -7883,7 +7864,7 @@ const Profile = { name: "avgNegGrade", type: "sint16", baseType: "sint16", - array: "false", + array: false, scale: 100, offset: 0, units: "%", @@ -7898,7 +7879,7 @@ const Profile = { name: "maxPosGrade", type: "sint16", baseType: "sint16", - array: "false", + array: false, scale: 100, offset: 0, units: "%", @@ -7913,7 +7894,7 @@ const Profile = { name: "maxNegGrade", type: "sint16", baseType: "sint16", - array: "false", + array: false, scale: 100, offset: 0, units: "%", @@ -7928,7 +7909,7 @@ const Profile = { name: "avgTemperature", type: "sint8", baseType: "sint8", - array: "false", + array: false, scale: 1, offset: 0, units: "C", @@ -7943,7 +7924,7 @@ const Profile = { name: "maxTemperature", type: "sint8", baseType: "sint8", - array: "false", + array: false, scale: 1, offset: 0, units: "C", @@ -7958,7 +7939,7 @@ const Profile = { name: "totalMovingTime", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 1000, offset: 0, units: "s", @@ -7973,7 +7954,7 @@ const Profile = { name: "avgPosVerticalSpeed", type: "sint16", baseType: "sint16", - array: "false", + array: false, scale: 1000, offset: 0, units: "m/s", @@ -7988,7 +7969,7 @@ const Profile = { name: "avgNegVerticalSpeed", type: "sint16", baseType: "sint16", - array: "false", + array: false, scale: 1000, offset: 0, units: "m/s", @@ -8003,7 +7984,7 @@ const Profile = { name: "maxPosVerticalSpeed", type: "sint16", baseType: "sint16", - array: "false", + array: false, scale: 1000, offset: 0, units: "m/s", @@ -8018,7 +7999,7 @@ const Profile = { name: "maxNegVerticalSpeed", type: "sint16", baseType: "sint16", - array: "false", + array: false, scale: 1000, offset: 0, units: "m/s", @@ -8033,7 +8014,7 @@ const Profile = { name: "timeInHrZone", type: "uint32", baseType: "uint32", - array: "true", + array: true, scale: 1000, offset: 0, units: "s", @@ -8048,7 +8029,7 @@ const Profile = { name: "timeInSpeedZone", type: "uint32", baseType: "uint32", - array: "true", + array: true, scale: 1000, offset: 0, units: "s", @@ -8063,7 +8044,7 @@ const Profile = { name: "timeInCadenceZone", type: "uint32", baseType: "uint32", - array: "true", + array: true, scale: 1000, offset: 0, units: "s", @@ -8078,7 +8059,7 @@ const Profile = { name: "timeInPowerZone", type: "uint32", baseType: "uint32", - array: "true", + array: true, scale: 1000, offset: 0, units: "s", @@ -8093,7 +8074,7 @@ const Profile = { name: "repetitionNum", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -8108,7 +8089,7 @@ const Profile = { name: "minAltitude", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: [5, ], offset: [500, ], units: ["m", ], @@ -8123,7 +8104,7 @@ const Profile = { name: "minHeartRate", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "bpm", @@ -8138,7 +8119,7 @@ const Profile = { name: "wktStepIndex", type: "messageIndex", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -8153,7 +8134,7 @@ const Profile = { name: "opponentScore", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -8168,7 +8149,7 @@ const Profile = { name: "strokeCount", type: "uint16", baseType: "uint16", - array: "true", + array: true, scale: 1, offset: 0, units: "counts", @@ -8183,7 +8164,7 @@ const Profile = { name: "zoneCount", type: "uint16", baseType: "uint16", - array: "true", + array: true, scale: 1, offset: 0, units: "counts", @@ -8198,7 +8179,7 @@ const Profile = { name: "avgVerticalOscillation", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 10, offset: 0, units: "mm", @@ -8213,7 +8194,7 @@ const Profile = { name: "avgStanceTimePercent", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 100, offset: 0, units: "percent", @@ -8228,7 +8209,7 @@ const Profile = { name: "avgStanceTime", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 10, offset: 0, units: "ms", @@ -8243,7 +8224,7 @@ const Profile = { name: "avgFractionalCadence", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 128, offset: 0, units: "rpm", @@ -8258,7 +8239,7 @@ const Profile = { name: "maxFractionalCadence", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 128, offset: 0, units: "rpm", @@ -8273,7 +8254,7 @@ const Profile = { name: "totalFractionalCycles", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 128, offset: 0, units: "cycles", @@ -8288,7 +8269,7 @@ const Profile = { name: "playerScore", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -8303,7 +8284,7 @@ const Profile = { name: "avgTotalHemoglobinConc", type: "uint16", baseType: "uint16", - array: "true", + array: true, scale: 100, offset: 0, units: "g/dL", @@ -8318,7 +8299,7 @@ const Profile = { name: "minTotalHemoglobinConc", type: "uint16", baseType: "uint16", - array: "true", + array: true, scale: 100, offset: 0, units: "g/dL", @@ -8333,7 +8314,7 @@ const Profile = { name: "maxTotalHemoglobinConc", type: "uint16", baseType: "uint16", - array: "true", + array: true, scale: 100, offset: 0, units: "g/dL", @@ -8348,7 +8329,7 @@ const Profile = { name: "avgSaturatedHemoglobinPercent", type: "uint16", baseType: "uint16", - array: "true", + array: true, scale: 10, offset: 0, units: "%", @@ -8363,7 +8344,7 @@ const Profile = { name: "minSaturatedHemoglobinPercent", type: "uint16", baseType: "uint16", - array: "true", + array: true, scale: 10, offset: 0, units: "%", @@ -8378,7 +8359,7 @@ const Profile = { name: "maxSaturatedHemoglobinPercent", type: "uint16", baseType: "uint16", - array: "true", + array: true, scale: 10, offset: 0, units: "%", @@ -8393,7 +8374,7 @@ const Profile = { name: "avgLeftTorqueEffectiveness", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 2, offset: 0, units: "percent", @@ -8408,7 +8389,7 @@ const Profile = { name: "avgRightTorqueEffectiveness", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 2, offset: 0, units: "percent", @@ -8423,7 +8404,7 @@ const Profile = { name: "avgLeftPedalSmoothness", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 2, offset: 0, units: "percent", @@ -8438,7 +8419,7 @@ const Profile = { name: "avgRightPedalSmoothness", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 2, offset: 0, units: "percent", @@ -8453,7 +8434,7 @@ const Profile = { name: "avgCombinedPedalSmoothness", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 2, offset: 0, units: "percent", @@ -8468,7 +8449,7 @@ const Profile = { name: "timeStanding", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 1000, offset: 0, units: "s", @@ -8483,7 +8464,7 @@ const Profile = { name: "standCount", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -8498,7 +8479,7 @@ const Profile = { name: "avgLeftPco", type: "sint8", baseType: "sint8", - array: "false", + array: false, scale: 1, offset: 0, units: "mm", @@ -8513,7 +8494,7 @@ const Profile = { name: "avgRightPco", type: "sint8", baseType: "sint8", - array: "false", + array: false, scale: 1, offset: 0, units: "mm", @@ -8528,7 +8509,7 @@ const Profile = { name: "avgLeftPowerPhase", type: "uint8", baseType: "uint8", - array: "true", + array: true, scale: 0.7111111, offset: 0, units: "degrees", @@ -8543,7 +8524,7 @@ const Profile = { name: "avgLeftPowerPhasePeak", type: "uint8", baseType: "uint8", - array: "true", + array: true, scale: 0.7111111, offset: 0, units: "degrees", @@ -8558,7 +8539,7 @@ const Profile = { name: "avgRightPowerPhase", type: "uint8", baseType: "uint8", - array: "true", + array: true, scale: 0.7111111, offset: 0, units: "degrees", @@ -8573,7 +8554,7 @@ const Profile = { name: "avgRightPowerPhasePeak", type: "uint8", baseType: "uint8", - array: "true", + array: true, scale: 0.7111111, offset: 0, units: "degrees", @@ -8588,7 +8569,7 @@ const Profile = { name: "avgPowerPosition", type: "uint16", baseType: "uint16", - array: "true", + array: true, scale: 1, offset: 0, units: "watts", @@ -8603,7 +8584,7 @@ const Profile = { name: "maxPowerPosition", type: "uint16", baseType: "uint16", - array: "true", + array: true, scale: 1, offset: 0, units: "watts", @@ -8618,7 +8599,7 @@ const Profile = { name: "avgCadencePosition", type: "uint8", baseType: "uint8", - array: "true", + array: true, scale: 1, offset: 0, units: "rpm", @@ -8633,7 +8614,7 @@ const Profile = { name: "maxCadencePosition", type: "uint8", baseType: "uint8", - array: "true", + array: true, scale: 1, offset: 0, units: "rpm", @@ -8648,7 +8629,7 @@ const Profile = { name: "enhancedAvgSpeed", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 1000, offset: 0, units: "m/s", @@ -8663,7 +8644,7 @@ const Profile = { name: "enhancedMaxSpeed", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 1000, offset: 0, units: "m/s", @@ -8678,7 +8659,7 @@ const Profile = { name: "enhancedAvgAltitude", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 5, offset: 500, units: "m", @@ -8693,7 +8674,7 @@ const Profile = { name: "enhancedMinAltitude", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 5, offset: 500, units: "m", @@ -8708,7 +8689,7 @@ const Profile = { name: "enhancedMaxAltitude", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 5, offset: 500, units: "m", @@ -8723,7 +8704,7 @@ const Profile = { name: "avgLevMotorPower", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "watts", @@ -8738,7 +8719,7 @@ const Profile = { name: "maxLevMotorPower", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "watts", @@ -8753,7 +8734,7 @@ const Profile = { name: "levBatteryConsumption", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 2, offset: 0, units: "percent", @@ -8768,7 +8749,7 @@ const Profile = { name: "avgVerticalRatio", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 100, offset: 0, units: "percent", @@ -8783,7 +8764,7 @@ const Profile = { name: "avgStanceTimeBalance", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 100, offset: 0, units: "percent", @@ -8798,7 +8779,7 @@ const Profile = { name: "avgStepLength", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 10, offset: 0, units: "mm", @@ -8813,7 +8794,7 @@ const Profile = { name: "avgVam", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1000, offset: 0, units: "m/s", @@ -8828,7 +8809,7 @@ const Profile = { name: "avgDepth", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 1000, offset: 0, units: "m", @@ -8843,7 +8824,7 @@ const Profile = { name: "maxDepth", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 1000, offset: 0, units: "m", @@ -8858,7 +8839,7 @@ const Profile = { name: "minTemperature", type: "sint8", baseType: "sint8", - array: "false", + array: false, scale: 1, offset: 0, units: "C", @@ -8873,7 +8854,7 @@ const Profile = { name: "enhancedAvgRespirationRate", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 100, offset: 0, units: "Breaths/min", @@ -8888,7 +8869,7 @@ const Profile = { name: "enhancedMaxRespirationRate", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 100, offset: 0, units: "Breaths/min", @@ -8903,7 +8884,7 @@ const Profile = { name: "avgRespirationRate", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: [1, ], offset: [0, ], units: ["", ], @@ -8918,7 +8899,7 @@ const Profile = { name: "maxRespirationRate", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: [1, ], offset: [0, ], units: ["", ], @@ -8933,7 +8914,7 @@ const Profile = { name: "totalGrit", type: "float32", baseType: "float32", - array: "false", + array: false, scale: 1, offset: 0, units: "kGrit", @@ -8948,7 +8929,7 @@ const Profile = { name: "totalFlow", type: "float32", baseType: "float32", - array: "false", + array: false, scale: 1, offset: 0, units: "Flow", @@ -8963,7 +8944,7 @@ const Profile = { name: "jumpCount", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -8978,7 +8959,7 @@ const Profile = { name: "avgGrit", type: "float32", baseType: "float32", - array: "false", + array: false, scale: 1, offset: 0, units: "kGrit", @@ -8993,7 +8974,7 @@ const Profile = { name: "avgFlow", type: "float32", baseType: "float32", - array: "false", + array: false, scale: 1, offset: 0, units: "Flow", @@ -9008,7 +8989,7 @@ const Profile = { name: "totalFractionalAscent", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 100, offset: 0, units: "m", @@ -9023,7 +9004,7 @@ const Profile = { name: "totalFractionalDescent", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 100, offset: 0, units: "m", @@ -9038,7 +9019,7 @@ const Profile = { name: "avgCoreTemperature", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 100, offset: 0, units: "C", @@ -9053,7 +9034,7 @@ const Profile = { name: "minCoreTemperature", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 100, offset: 0, units: "C", @@ -9068,7 +9049,7 @@ const Profile = { name: "maxCoreTemperature", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 100, offset: 0, units: "C", @@ -9090,7 +9071,7 @@ const Profile = { name: "messageIndex", type: "messageIndex", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -9105,7 +9086,7 @@ const Profile = { name: "timestamp", type: "dateTime", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -9120,7 +9101,7 @@ const Profile = { name: "event", type: "event", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -9135,7 +9116,7 @@ const Profile = { name: "eventType", type: "eventType", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -9150,7 +9131,7 @@ const Profile = { name: "startTime", type: "dateTime", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -9165,7 +9146,7 @@ const Profile = { name: "totalElapsedTime", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 1000, offset: 0, units: "s", @@ -9180,7 +9161,7 @@ const Profile = { name: "totalTimerTime", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 1000, offset: 0, units: "s", @@ -9195,7 +9176,7 @@ const Profile = { name: "totalStrokes", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "strokes", @@ -9210,7 +9191,7 @@ const Profile = { name: "avgSpeed", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1000, offset: 0, units: "m/s", @@ -9225,7 +9206,7 @@ const Profile = { name: "swimStroke", type: "swimStroke", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "swim_stroke", @@ -9240,7 +9221,7 @@ const Profile = { name: "avgSwimmingCadence", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "strokes/min", @@ -9255,7 +9236,7 @@ const Profile = { name: "eventGroup", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -9270,7 +9251,7 @@ const Profile = { name: "totalCalories", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "kcal", @@ -9285,7 +9266,7 @@ const Profile = { name: "lengthType", type: "lengthType", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -9300,7 +9281,7 @@ const Profile = { name: "playerScore", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -9315,7 +9296,7 @@ const Profile = { name: "opponentScore", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -9330,7 +9311,7 @@ const Profile = { name: "strokeCount", type: "uint16", baseType: "uint16", - array: "true", + array: true, scale: 1, offset: 0, units: "counts", @@ -9345,7 +9326,7 @@ const Profile = { name: "zoneCount", type: "uint16", baseType: "uint16", - array: "true", + array: true, scale: 1, offset: 0, units: "counts", @@ -9360,7 +9341,7 @@ const Profile = { name: "enhancedAvgRespirationRate", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 100, offset: 0, units: "Breaths/min", @@ -9375,7 +9356,7 @@ const Profile = { name: "enhancedMaxRespirationRate", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 100, offset: 0, units: "Breaths/min", @@ -9390,7 +9371,7 @@ const Profile = { name: "avgRespirationRate", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: [1, ], offset: [0, ], units: ["", ], @@ -9405,7 +9386,7 @@ const Profile = { name: "maxRespirationRate", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: [1, ], offset: [0, ], units: ["", ], @@ -9427,7 +9408,7 @@ const Profile = { name: "timestamp", type: "dateTime", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "s", @@ -9442,7 +9423,7 @@ const Profile = { name: "positionLat", type: "sint32", baseType: "sint32", - array: "false", + array: false, scale: 1, offset: 0, units: "semicircles", @@ -9457,7 +9438,7 @@ const Profile = { name: "positionLong", type: "sint32", baseType: "sint32", - array: "false", + array: false, scale: 1, offset: 0, units: "semicircles", @@ -9472,7 +9453,7 @@ const Profile = { name: "altitude", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: [5, ], offset: [500, ], units: ["m", ], @@ -9487,7 +9468,7 @@ const Profile = { name: "heartRate", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "bpm", @@ -9502,7 +9483,7 @@ const Profile = { name: "cadence", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "rpm", @@ -9517,7 +9498,7 @@ const Profile = { name: "distance", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 100, offset: 0, units: "m", @@ -9532,7 +9513,7 @@ const Profile = { name: "speed", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: [1000, ], offset: [0, ], units: ["m/s", ], @@ -9547,7 +9528,7 @@ const Profile = { name: "power", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "watts", @@ -9562,7 +9543,7 @@ const Profile = { name: "compressedSpeedDistance", type: "byte", baseType: "byte", - array: "true", + array: true, scale: [100, 16, ], offset: [0, 0, ], units: ["m/s", "m", ], @@ -9577,7 +9558,7 @@ const Profile = { name: "grade", type: "sint16", baseType: "sint16", - array: "false", + array: false, scale: 100, offset: 0, units: "%", @@ -9592,7 +9573,7 @@ const Profile = { name: "resistance", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -9607,7 +9588,7 @@ const Profile = { name: "timeFromCourse", type: "sint32", baseType: "sint32", - array: "false", + array: false, scale: 1000, offset: 0, units: "s", @@ -9622,7 +9603,7 @@ const Profile = { name: "cycleLength", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 100, offset: 0, units: "m", @@ -9637,7 +9618,7 @@ const Profile = { name: "temperature", type: "sint8", baseType: "sint8", - array: "false", + array: false, scale: 1, offset: 0, units: "C", @@ -9652,7 +9633,7 @@ const Profile = { name: "speed1s", type: "uint8", baseType: "uint8", - array: "true", + array: true, scale: 16, offset: 0, units: "m/s", @@ -9667,7 +9648,7 @@ const Profile = { name: "cycles", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: [1, ], offset: [0, ], units: ["cycles", ], @@ -9682,7 +9663,7 @@ const Profile = { name: "totalCycles", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "cycles", @@ -9697,7 +9678,7 @@ const Profile = { name: "compressedAccumulatedPower", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: [1, ], offset: [0, ], units: ["watts", ], @@ -9712,7 +9693,7 @@ const Profile = { name: "accumulatedPower", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "watts", @@ -9727,7 +9708,7 @@ const Profile = { name: "leftRightBalance", type: "leftRightBalance", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -9742,7 +9723,7 @@ const Profile = { name: "gpsAccuracy", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "m", @@ -9757,7 +9738,7 @@ const Profile = { name: "verticalSpeed", type: "sint16", baseType: "sint16", - array: "false", + array: false, scale: 1000, offset: 0, units: "m/s", @@ -9772,7 +9753,7 @@ const Profile = { name: "calories", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "kcal", @@ -9787,7 +9768,7 @@ const Profile = { name: "verticalOscillation", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 10, offset: 0, units: "mm", @@ -9802,7 +9783,7 @@ const Profile = { name: "stanceTimePercent", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 100, offset: 0, units: "percent", @@ -9817,7 +9798,7 @@ const Profile = { name: "stanceTime", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 10, offset: 0, units: "ms", @@ -9832,7 +9813,7 @@ const Profile = { name: "activityType", type: "activityType", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -9847,7 +9828,7 @@ const Profile = { name: "leftTorqueEffectiveness", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 2, offset: 0, units: "percent", @@ -9862,7 +9843,7 @@ const Profile = { name: "rightTorqueEffectiveness", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 2, offset: 0, units: "percent", @@ -9877,7 +9858,7 @@ const Profile = { name: "leftPedalSmoothness", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 2, offset: 0, units: "percent", @@ -9892,7 +9873,7 @@ const Profile = { name: "rightPedalSmoothness", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 2, offset: 0, units: "percent", @@ -9907,7 +9888,7 @@ const Profile = { name: "combinedPedalSmoothness", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 2, offset: 0, units: "percent", @@ -9922,7 +9903,7 @@ const Profile = { name: "time128", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 128, offset: 0, units: "s", @@ -9937,7 +9918,7 @@ const Profile = { name: "strokeType", type: "strokeType", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -9952,7 +9933,7 @@ const Profile = { name: "zone", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -9967,7 +9948,7 @@ const Profile = { name: "ballSpeed", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 100, offset: 0, units: "m/s", @@ -9982,7 +9963,7 @@ const Profile = { name: "cadence256", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 256, offset: 0, units: "rpm", @@ -9997,7 +9978,7 @@ const Profile = { name: "fractionalCadence", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 128, offset: 0, units: "rpm", @@ -10012,7 +9993,7 @@ const Profile = { name: "totalHemoglobinConc", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 100, offset: 0, units: "g/dL", @@ -10027,7 +10008,7 @@ const Profile = { name: "totalHemoglobinConcMin", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 100, offset: 0, units: "g/dL", @@ -10042,7 +10023,7 @@ const Profile = { name: "totalHemoglobinConcMax", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 100, offset: 0, units: "g/dL", @@ -10057,7 +10038,7 @@ const Profile = { name: "saturatedHemoglobinPercent", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 10, offset: 0, units: "%", @@ -10072,7 +10053,7 @@ const Profile = { name: "saturatedHemoglobinPercentMin", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 10, offset: 0, units: "%", @@ -10087,7 +10068,7 @@ const Profile = { name: "saturatedHemoglobinPercentMax", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 10, offset: 0, units: "%", @@ -10102,7 +10083,7 @@ const Profile = { name: "deviceIndex", type: "deviceIndex", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -10117,7 +10098,7 @@ const Profile = { name: "leftPco", type: "sint8", baseType: "sint8", - array: "false", + array: false, scale: 1, offset: 0, units: "mm", @@ -10132,7 +10113,7 @@ const Profile = { name: "rightPco", type: "sint8", baseType: "sint8", - array: "false", + array: false, scale: 1, offset: 0, units: "mm", @@ -10147,7 +10128,7 @@ const Profile = { name: "leftPowerPhase", type: "uint8", baseType: "uint8", - array: "true", + array: true, scale: 0.7111111, offset: 0, units: "degrees", @@ -10162,7 +10143,7 @@ const Profile = { name: "leftPowerPhasePeak", type: "uint8", baseType: "uint8", - array: "true", + array: true, scale: 0.7111111, offset: 0, units: "degrees", @@ -10177,7 +10158,7 @@ const Profile = { name: "rightPowerPhase", type: "uint8", baseType: "uint8", - array: "true", + array: true, scale: 0.7111111, offset: 0, units: "degrees", @@ -10192,7 +10173,7 @@ const Profile = { name: "rightPowerPhasePeak", type: "uint8", baseType: "uint8", - array: "true", + array: true, scale: 0.7111111, offset: 0, units: "degrees", @@ -10207,7 +10188,7 @@ const Profile = { name: "enhancedSpeed", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 1000, offset: 0, units: "m/s", @@ -10222,7 +10203,7 @@ const Profile = { name: "enhancedAltitude", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 5, offset: 500, units: "m", @@ -10237,7 +10218,7 @@ const Profile = { name: "batterySoc", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 2, offset: 0, units: "percent", @@ -10252,7 +10233,7 @@ const Profile = { name: "motorPower", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "watts", @@ -10267,7 +10248,7 @@ const Profile = { name: "verticalRatio", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 100, offset: 0, units: "percent", @@ -10282,7 +10263,7 @@ const Profile = { name: "stanceTimeBalance", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 100, offset: 0, units: "percent", @@ -10297,7 +10278,7 @@ const Profile = { name: "stepLength", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 10, offset: 0, units: "mm", @@ -10312,7 +10293,7 @@ const Profile = { name: "cycleLength16", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 100, offset: 0, units: "m", @@ -10327,7 +10308,7 @@ const Profile = { name: "absolutePressure", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "Pa", @@ -10342,7 +10323,7 @@ const Profile = { name: "depth", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 1000, offset: 0, units: "m", @@ -10357,7 +10338,7 @@ const Profile = { name: "nextStopDepth", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 1000, offset: 0, units: "m", @@ -10372,7 +10353,7 @@ const Profile = { name: "nextStopTime", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "s", @@ -10387,7 +10368,7 @@ const Profile = { name: "timeToSurface", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "s", @@ -10402,7 +10383,7 @@ const Profile = { name: "ndlTime", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "s", @@ -10417,7 +10398,7 @@ const Profile = { name: "cnsLoad", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "percent", @@ -10432,7 +10413,7 @@ const Profile = { name: "n2Load", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "percent", @@ -10447,7 +10428,7 @@ const Profile = { name: "respirationRate", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: [1, ], offset: [0, ], units: ["s", ], @@ -10462,7 +10443,7 @@ const Profile = { name: "enhancedRespirationRate", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 100, offset: 0, units: "Breaths/min", @@ -10477,7 +10458,7 @@ const Profile = { name: "grit", type: "float32", baseType: "float32", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -10492,7 +10473,7 @@ const Profile = { name: "flow", type: "float32", baseType: "float32", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -10507,7 +10488,7 @@ const Profile = { name: "currentStress", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 100, offset: 0, units: "", @@ -10522,7 +10503,7 @@ const Profile = { name: "ebikeTravelRange", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "km", @@ -10537,7 +10518,7 @@ const Profile = { name: "ebikeBatteryLevel", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "percent", @@ -10552,7 +10533,7 @@ const Profile = { name: "ebikeAssistMode", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "depends on sensor", @@ -10567,7 +10548,7 @@ const Profile = { name: "ebikeAssistLevelPercent", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "percent", @@ -10582,7 +10563,7 @@ const Profile = { name: "airTimeRemaining", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "s", @@ -10597,7 +10578,7 @@ const Profile = { name: "pressureSac", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 100, offset: 0, units: "bar/min", @@ -10612,7 +10593,7 @@ const Profile = { name: "volumeSac", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 100, offset: 0, units: "L/min", @@ -10627,7 +10608,7 @@ const Profile = { name: "rmv", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 100, offset: 0, units: "L/min", @@ -10642,7 +10623,7 @@ const Profile = { name: "ascentRate", type: "sint32", baseType: "sint32", - array: "false", + array: false, scale: 1000, offset: 0, units: "m/s", @@ -10657,7 +10638,7 @@ const Profile = { name: "po2", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 100, offset: 0, units: "percent", @@ -10672,7 +10653,7 @@ const Profile = { name: "coreTemperature", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 100, offset: 0, units: "C", @@ -10694,7 +10675,7 @@ const Profile = { name: "timestamp", type: "dateTime", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "s", @@ -10709,7 +10690,7 @@ const Profile = { name: "event", type: "event", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -10724,7 +10705,7 @@ const Profile = { name: "eventType", type: "eventType", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -10739,7 +10720,7 @@ const Profile = { name: "data16", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: [1, ], offset: [0, ], units: ["", ], @@ -10754,7 +10735,7 @@ const Profile = { name: "data", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -10766,7 +10747,6 @@ const Profile = { name: "timerTrigger", type: "timerTrigger", baseType: "enum", - array: "", scale: 1, offset: 0, units: "", @@ -10781,7 +10761,6 @@ const Profile = { name: "coursePointIndex", type: "messageIndex", baseType: "uint16", - array: "", scale: 1, offset: 0, units: "", @@ -10796,7 +10775,6 @@ const Profile = { name: "batteryLevel", type: "uint16", baseType: "uint16", - array: "", scale: 1000, offset: 0, units: "V", @@ -10811,7 +10789,6 @@ const Profile = { name: "virtualPartnerSpeed", type: "uint16", baseType: "uint16", - array: "", scale: 1000, offset: 0, units: "m/s", @@ -10826,7 +10803,6 @@ const Profile = { name: "hrHighAlert", type: "uint8", baseType: "uint8", - array: "", scale: 1, offset: 0, units: "bpm", @@ -10841,7 +10817,6 @@ const Profile = { name: "hrLowAlert", type: "uint8", baseType: "uint8", - array: "", scale: 1, offset: 0, units: "bpm", @@ -10856,7 +10831,6 @@ const Profile = { name: "speedHighAlert", type: "uint32", baseType: "uint32", - array: "", scale: 1000, offset: 0, units: "m/s", @@ -10871,7 +10845,6 @@ const Profile = { name: "speedLowAlert", type: "uint32", baseType: "uint32", - array: "", scale: 1000, offset: 0, units: "m/s", @@ -10886,7 +10859,6 @@ const Profile = { name: "cadHighAlert", type: "uint16", baseType: "uint16", - array: "", scale: 1, offset: 0, units: "rpm", @@ -10901,7 +10873,6 @@ const Profile = { name: "cadLowAlert", type: "uint16", baseType: "uint16", - array: "", scale: 1, offset: 0, units: "rpm", @@ -10916,7 +10887,6 @@ const Profile = { name: "powerHighAlert", type: "uint16", baseType: "uint16", - array: "", scale: 1, offset: 0, units: "watts", @@ -10931,7 +10901,6 @@ const Profile = { name: "powerLowAlert", type: "uint16", baseType: "uint16", - array: "", scale: 1, offset: 0, units: "watts", @@ -10946,7 +10915,6 @@ const Profile = { name: "timeDurationAlert", type: "uint32", baseType: "uint32", - array: "", scale: 1000, offset: 0, units: "s", @@ -10961,7 +10929,6 @@ const Profile = { name: "distanceDurationAlert", type: "uint32", baseType: "uint32", - array: "", scale: 100, offset: 0, units: "m", @@ -10976,7 +10943,6 @@ const Profile = { name: "calorieDurationAlert", type: "uint32", baseType: "uint32", - array: "", scale: 1, offset: 0, units: "calories", @@ -10991,7 +10957,6 @@ const Profile = { name: "fitnessEquipmentState", type: "fitnessEquipmentState", baseType: "enum", - array: "", scale: 1, offset: 0, units: "", @@ -11006,7 +10971,6 @@ const Profile = { name: "sportPoint", type: "uint32", baseType: "uint32", - array: "", scale: [1, 1, ], offset: [0, 0, ], units: ["", "", ], @@ -11021,7 +10985,6 @@ const Profile = { name: "gearChangeData", type: "uint32", baseType: "uint32", - array: "", scale: [1, 1, 1, 1, ], offset: [0, 0, 0, 0, ], units: ["", "", "", "", ], @@ -11037,7 +11000,6 @@ const Profile = { name: "riderPosition", // Indicates the rider position value. type: "riderPositionType", baseType: "enum", - array: "", scale: 1, offset: 0, units: "", @@ -11052,7 +11014,6 @@ const Profile = { name: "commTimeout", type: "commTimeoutType", baseType: "uint16", - array: "", scale: 1, offset: 0, units: "", @@ -11067,7 +11028,6 @@ const Profile = { name: "diveAlert", type: "diveAlert", baseType: "enum", - array: "", scale: 1, offset: 0, units: "", @@ -11082,7 +11042,6 @@ const Profile = { name: "autoActivityDetectDuration", type: "uint16", baseType: "uint16", - array: "", scale: 1, offset: 0, units: "min", @@ -11097,7 +11056,6 @@ const Profile = { name: "radarThreatAlert", // The first byte is the radar_threat_level_max, the second byte is the radar_threat_count, third bytes is the average approach speed, and the 4th byte is the max approach speed type: "uint32", baseType: "uint32", - array: "", scale: [1, 1, 10, 10, ], offset: [0, 0, 0, 0, ], units: ["", "", "", "", ], @@ -11115,7 +11073,7 @@ const Profile = { name: "eventGroup", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -11130,7 +11088,7 @@ const Profile = { name: "score", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -11145,7 +11103,7 @@ const Profile = { name: "opponentScore", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -11160,7 +11118,7 @@ const Profile = { name: "frontGearNum", type: "uint8z", baseType: "uint8z", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -11175,7 +11133,7 @@ const Profile = { name: "frontGear", type: "uint8z", baseType: "uint8z", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -11190,7 +11148,7 @@ const Profile = { name: "rearGearNum", type: "uint8z", baseType: "uint8z", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -11205,7 +11163,7 @@ const Profile = { name: "rearGear", type: "uint8z", baseType: "uint8z", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -11220,7 +11178,7 @@ const Profile = { name: "deviceIndex", type: "deviceIndex", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -11235,7 +11193,7 @@ const Profile = { name: "activityType", type: "activityType", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -11250,7 +11208,7 @@ const Profile = { name: "startTimestamp", type: "dateTime", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "s", @@ -11262,7 +11220,6 @@ const Profile = { name: "autoActivityDetectStartTimestamp", // Auto Activity Detect Start Timestamp. type: "dateTime", baseType: "uint32", - array: "", scale: 1, offset: 0, units: "s", @@ -11280,7 +11237,7 @@ const Profile = { name: "radarThreatLevelMax", type: "radarThreatLevelType", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -11295,7 +11252,7 @@ const Profile = { name: "radarThreatCount", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -11310,7 +11267,7 @@ const Profile = { name: "radarThreatAvgApproachSpeed", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 10, offset: 0, units: "m/s", @@ -11325,7 +11282,7 @@ const Profile = { name: "radarThreatMaxApproachSpeed", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 10, offset: 0, units: "m/s", @@ -11347,7 +11304,7 @@ const Profile = { name: "timestamp", type: "dateTime", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "s", @@ -11362,7 +11319,7 @@ const Profile = { name: "deviceIndex", type: "deviceIndex", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -11377,7 +11334,7 @@ const Profile = { name: "deviceType", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -11389,7 +11346,6 @@ const Profile = { name: "bleDeviceType", type: "bleDeviceType", baseType: "uint8", - array: "", scale: 1, offset: 0, units: "", @@ -11404,7 +11360,6 @@ const Profile = { name: "antplusDeviceType", type: "antplusDeviceType", baseType: "uint8", - array: "", scale: 1, offset: 0, units: "", @@ -11419,7 +11374,6 @@ const Profile = { name: "antDeviceType", type: "uint8", baseType: "uint8", - array: "", scale: 1, offset: 0, units: "", @@ -11434,7 +11388,6 @@ const Profile = { name: "localDeviceType", type: "localDeviceType", baseType: "uint8", - array: "", scale: 1, offset: 0, units: "", @@ -11452,7 +11405,7 @@ const Profile = { name: "manufacturer", type: "manufacturer", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -11467,7 +11420,7 @@ const Profile = { name: "serialNumber", type: "uint32z", baseType: "uint32z", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -11482,7 +11435,7 @@ const Profile = { name: "product", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -11494,7 +11447,6 @@ const Profile = { name: "faveroProduct", type: "faveroProduct", baseType: "uint16", - array: "", scale: 1, offset: 0, units: "", @@ -11509,7 +11461,6 @@ const Profile = { name: "garminProduct", type: "garminProduct", baseType: "uint16", - array: "", scale: 1, offset: 0, units: "", @@ -11530,7 +11481,7 @@ const Profile = { name: "softwareVersion", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 100, offset: 0, units: "", @@ -11545,7 +11496,7 @@ const Profile = { name: "hardwareVersion", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -11560,7 +11511,7 @@ const Profile = { name: "cumOperatingTime", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "s", @@ -11575,7 +11526,7 @@ const Profile = { name: "batteryVoltage", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 256, offset: 0, units: "V", @@ -11590,7 +11541,7 @@ const Profile = { name: "batteryStatus", type: "batteryStatus", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -11605,7 +11556,7 @@ const Profile = { name: "sensorPosition", type: "bodyLocation", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -11620,7 +11571,7 @@ const Profile = { name: "descriptor", type: "string", baseType: "string", - array: "true", + array: true, scale: 1, offset: 0, units: "", @@ -11635,7 +11586,7 @@ const Profile = { name: "antTransmissionType", type: "uint8z", baseType: "uint8z", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -11650,7 +11601,7 @@ const Profile = { name: "antDeviceNumber", type: "uint16z", baseType: "uint16z", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -11665,7 +11616,7 @@ const Profile = { name: "antNetwork", type: "antNetwork", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -11680,7 +11631,7 @@ const Profile = { name: "sourceType", type: "sourceType", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -11695,7 +11646,7 @@ const Profile = { name: "productName", type: "string", baseType: "string", - array: "true", + array: true, scale: 1, offset: 0, units: "", @@ -11710,7 +11661,7 @@ const Profile = { name: "batteryLevel", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "%", @@ -11732,7 +11683,7 @@ const Profile = { name: "timestamp", type: "dateTime", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -11747,7 +11698,7 @@ const Profile = { name: "deviceIndex", type: "deviceIndex", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -11762,7 +11713,7 @@ const Profile = { name: "batteryVoltage", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 256, offset: 0, units: "V", @@ -11777,7 +11728,7 @@ const Profile = { name: "batteryStatus", type: "batteryStatus", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -11792,7 +11743,7 @@ const Profile = { name: "batteryIdentifier", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -11814,7 +11765,7 @@ const Profile = { name: "timestamp", type: "dateTime", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -11829,7 +11780,7 @@ const Profile = { name: "type", type: "file", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -11844,7 +11795,7 @@ const Profile = { name: "manufacturer", type: "manufacturer", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -11859,7 +11810,7 @@ const Profile = { name: "product", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -11871,7 +11822,6 @@ const Profile = { name: "faveroProduct", type: "faveroProduct", baseType: "uint16", - array: "", scale: 1, offset: 0, units: "", @@ -11886,7 +11836,6 @@ const Profile = { name: "garminProduct", type: "garminProduct", baseType: "uint16", - array: "", scale: 1, offset: 0, units: "", @@ -11907,7 +11856,7 @@ const Profile = { name: "serialNumber", type: "uint32z", baseType: "uint32z", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -11922,7 +11871,7 @@ const Profile = { name: "timeCreated", type: "dateTime", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -11944,7 +11893,7 @@ const Profile = { name: "timestamp", type: "dateTime", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -11959,7 +11908,7 @@ const Profile = { name: "weatherReport", type: "weatherReport", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -11974,7 +11923,7 @@ const Profile = { name: "temperature", type: "sint8", baseType: "sint8", - array: "false", + array: false, scale: 1, offset: 0, units: "C", @@ -11989,7 +11938,7 @@ const Profile = { name: "condition", type: "weatherStatus", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -12004,7 +11953,7 @@ const Profile = { name: "windDirection", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "degrees", @@ -12019,7 +11968,7 @@ const Profile = { name: "windSpeed", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1000, offset: 0, units: "m/s", @@ -12034,7 +11983,7 @@ const Profile = { name: "precipitationProbability", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -12049,7 +11998,7 @@ const Profile = { name: "temperatureFeelsLike", type: "sint8", baseType: "sint8", - array: "false", + array: false, scale: 1, offset: 0, units: "C", @@ -12064,7 +12013,7 @@ const Profile = { name: "relativeHumidity", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -12079,7 +12028,7 @@ const Profile = { name: "location", type: "string", baseType: "string", - array: "true", + array: true, scale: 1, offset: 0, units: "", @@ -12094,7 +12043,7 @@ const Profile = { name: "observedAtTime", type: "dateTime", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -12109,7 +12058,7 @@ const Profile = { name: "observedLocationLat", type: "sint32", baseType: "sint32", - array: "false", + array: false, scale: 1, offset: 0, units: "semicircles", @@ -12124,7 +12073,7 @@ const Profile = { name: "observedLocationLong", type: "sint32", baseType: "sint32", - array: "false", + array: false, scale: 1, offset: 0, units: "semicircles", @@ -12139,7 +12088,7 @@ const Profile = { name: "dayOfWeek", type: "dayOfWeek", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -12154,7 +12103,7 @@ const Profile = { name: "highTemperature", type: "sint8", baseType: "sint8", - array: "false", + array: false, scale: 1, offset: 0, units: "C", @@ -12169,7 +12118,7 @@ const Profile = { name: "lowTemperature", type: "sint8", baseType: "sint8", - array: "false", + array: false, scale: 1, offset: 0, units: "C", @@ -12191,7 +12140,7 @@ const Profile = { name: "timestamp", type: "dateTime", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -12206,7 +12155,7 @@ const Profile = { name: "reportId", type: "string", baseType: "string", - array: "true", + array: true, scale: 1, offset: 0, units: "", @@ -12221,7 +12170,7 @@ const Profile = { name: "issueTime", type: "dateTime", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -12236,7 +12185,7 @@ const Profile = { name: "expireTime", type: "dateTime", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -12251,7 +12200,7 @@ const Profile = { name: "severity", type: "weatherSeverity", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -12266,7 +12215,7 @@ const Profile = { name: "type", type: "weatherSevereType", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -12288,7 +12237,7 @@ const Profile = { name: "timestamp", type: "dateTime", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "s", @@ -12303,7 +12252,7 @@ const Profile = { name: "timestampMs", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "ms", @@ -12318,7 +12267,7 @@ const Profile = { name: "positionLat", type: "sint32", baseType: "sint32", - array: "false", + array: false, scale: 1, offset: 0, units: "semicircles", @@ -12333,7 +12282,7 @@ const Profile = { name: "positionLong", type: "sint32", baseType: "sint32", - array: "false", + array: false, scale: 1, offset: 0, units: "semicircles", @@ -12348,7 +12297,7 @@ const Profile = { name: "enhancedAltitude", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 5, offset: 500, units: "m", @@ -12363,7 +12312,7 @@ const Profile = { name: "enhancedSpeed", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 1000, offset: 0, units: "m/s", @@ -12378,7 +12327,7 @@ const Profile = { name: "heading", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 100, offset: 0, units: "degrees", @@ -12393,7 +12342,7 @@ const Profile = { name: "utcTimestamp", type: "dateTime", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "s", @@ -12408,7 +12357,7 @@ const Profile = { name: "velocity", type: "sint16", baseType: "sint16", - array: "true", + array: true, scale: 100, offset: 0, units: "m/s", @@ -12430,7 +12379,7 @@ const Profile = { name: "timestamp", type: "dateTime", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "s", @@ -12445,7 +12394,7 @@ const Profile = { name: "timestampMs", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "ms", @@ -12460,7 +12409,7 @@ const Profile = { name: "cameraEventType", type: "cameraEventType", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -12475,7 +12424,7 @@ const Profile = { name: "cameraFileUuid", type: "string", baseType: "string", - array: "true", + array: true, scale: 1, offset: 0, units: "", @@ -12490,7 +12439,7 @@ const Profile = { name: "cameraOrientation", type: "cameraOrientationType", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -12512,7 +12461,7 @@ const Profile = { name: "timestamp", type: "dateTime", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "s", @@ -12527,7 +12476,7 @@ const Profile = { name: "timestampMs", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "ms", @@ -12542,7 +12491,7 @@ const Profile = { name: "sampleTimeOffset", type: "uint16", baseType: "uint16", - array: "true", + array: true, scale: 1, offset: 0, units: "ms", @@ -12557,7 +12506,7 @@ const Profile = { name: "gyroX", type: "uint16", baseType: "uint16", - array: "true", + array: true, scale: 1, offset: 0, units: "counts", @@ -12572,7 +12521,7 @@ const Profile = { name: "gyroY", type: "uint16", baseType: "uint16", - array: "true", + array: true, scale: 1, offset: 0, units: "counts", @@ -12587,7 +12536,7 @@ const Profile = { name: "gyroZ", type: "uint16", baseType: "uint16", - array: "true", + array: true, scale: 1, offset: 0, units: "counts", @@ -12602,7 +12551,7 @@ const Profile = { name: "calibratedGyroX", type: "float32", baseType: "float32", - array: "true", + array: true, scale: 1, offset: 0, units: "deg/s", @@ -12617,7 +12566,7 @@ const Profile = { name: "calibratedGyroY", type: "float32", baseType: "float32", - array: "true", + array: true, scale: 1, offset: 0, units: "deg/s", @@ -12632,7 +12581,7 @@ const Profile = { name: "calibratedGyroZ", type: "float32", baseType: "float32", - array: "true", + array: true, scale: 1, offset: 0, units: "deg/s", @@ -12654,7 +12603,7 @@ const Profile = { name: "timestamp", type: "dateTime", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "s", @@ -12669,7 +12618,7 @@ const Profile = { name: "timestampMs", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "ms", @@ -12684,7 +12633,7 @@ const Profile = { name: "sampleTimeOffset", type: "uint16", baseType: "uint16", - array: "true", + array: true, scale: 1, offset: 0, units: "ms", @@ -12699,7 +12648,7 @@ const Profile = { name: "accelX", type: "uint16", baseType: "uint16", - array: "true", + array: true, scale: 1, offset: 0, units: "counts", @@ -12714,7 +12663,7 @@ const Profile = { name: "accelY", type: "uint16", baseType: "uint16", - array: "true", + array: true, scale: 1, offset: 0, units: "counts", @@ -12729,7 +12678,7 @@ const Profile = { name: "accelZ", type: "uint16", baseType: "uint16", - array: "true", + array: true, scale: 1, offset: 0, units: "counts", @@ -12744,7 +12693,7 @@ const Profile = { name: "calibratedAccelX", type: "float32", baseType: "float32", - array: "true", + array: true, scale: 1, offset: 0, units: "g", @@ -12759,7 +12708,7 @@ const Profile = { name: "calibratedAccelY", type: "float32", baseType: "float32", - array: "true", + array: true, scale: 1, offset: 0, units: "g", @@ -12774,7 +12723,7 @@ const Profile = { name: "calibratedAccelZ", type: "float32", baseType: "float32", - array: "true", + array: true, scale: 1, offset: 0, units: "g", @@ -12789,7 +12738,7 @@ const Profile = { name: "compressedCalibratedAccelX", type: "sint16", baseType: "sint16", - array: "true", + array: true, scale: 1, offset: 0, units: "mG", @@ -12804,7 +12753,7 @@ const Profile = { name: "compressedCalibratedAccelY", type: "sint16", baseType: "sint16", - array: "true", + array: true, scale: 1, offset: 0, units: "mG", @@ -12819,7 +12768,7 @@ const Profile = { name: "compressedCalibratedAccelZ", type: "sint16", baseType: "sint16", - array: "true", + array: true, scale: 1, offset: 0, units: "mG", @@ -12841,7 +12790,7 @@ const Profile = { name: "timestamp", type: "dateTime", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "s", @@ -12856,7 +12805,7 @@ const Profile = { name: "timestampMs", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "ms", @@ -12871,7 +12820,7 @@ const Profile = { name: "sampleTimeOffset", type: "uint16", baseType: "uint16", - array: "true", + array: true, scale: 1, offset: 0, units: "ms", @@ -12886,7 +12835,7 @@ const Profile = { name: "magX", type: "uint16", baseType: "uint16", - array: "true", + array: true, scale: 1, offset: 0, units: "counts", @@ -12901,7 +12850,7 @@ const Profile = { name: "magY", type: "uint16", baseType: "uint16", - array: "true", + array: true, scale: 1, offset: 0, units: "counts", @@ -12916,7 +12865,7 @@ const Profile = { name: "magZ", type: "uint16", baseType: "uint16", - array: "true", + array: true, scale: 1, offset: 0, units: "counts", @@ -12931,7 +12880,7 @@ const Profile = { name: "calibratedMagX", type: "float32", baseType: "float32", - array: "true", + array: true, scale: 1, offset: 0, units: "G", @@ -12946,7 +12895,7 @@ const Profile = { name: "calibratedMagY", type: "float32", baseType: "float32", - array: "true", + array: true, scale: 1, offset: 0, units: "G", @@ -12961,7 +12910,7 @@ const Profile = { name: "calibratedMagZ", type: "float32", baseType: "float32", - array: "true", + array: true, scale: 1, offset: 0, units: "G", @@ -12983,7 +12932,7 @@ const Profile = { name: "timestamp", type: "dateTime", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "s", @@ -12998,7 +12947,7 @@ const Profile = { name: "timestampMs", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "ms", @@ -13013,7 +12962,7 @@ const Profile = { name: "sampleTimeOffset", type: "uint16", baseType: "uint16", - array: "true", + array: true, scale: 1, offset: 0, units: "ms", @@ -13028,7 +12977,7 @@ const Profile = { name: "baroPres", type: "uint32", baseType: "uint32", - array: "true", + array: true, scale: 1, offset: 0, units: "Pa", @@ -13050,7 +12999,7 @@ const Profile = { name: "timestamp", type: "dateTime", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "s", @@ -13065,7 +13014,7 @@ const Profile = { name: "sensorType", type: "sensorType", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -13080,7 +13029,7 @@ const Profile = { name: "calibrationFactor", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -13092,7 +13041,6 @@ const Profile = { name: "accelCalFactor", // Accelerometer calibration factor type: "uint32", baseType: "uint32", - array: "", scale: 1, offset: 0, units: "g", @@ -13107,7 +13055,6 @@ const Profile = { name: "gyroCalFactor", // Gyro calibration factor type: "uint32", baseType: "uint32", - array: "", scale: 1, offset: 0, units: "deg/s", @@ -13125,7 +13072,7 @@ const Profile = { name: "calibrationDivisor", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "counts", @@ -13140,7 +13087,7 @@ const Profile = { name: "levelShift", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -13155,7 +13102,7 @@ const Profile = { name: "offsetCal", type: "sint32", baseType: "sint32", - array: "true", + array: true, scale: 1, offset: 0, units: "", @@ -13170,7 +13117,7 @@ const Profile = { name: "orientationMatrix", type: "sint32", baseType: "sint32", - array: "true", + array: true, scale: 65535, offset: 0, units: "", @@ -13192,7 +13139,7 @@ const Profile = { name: "timestamp", type: "dateTime", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "s", @@ -13207,7 +13154,7 @@ const Profile = { name: "sensorType", type: "sensorType", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -13222,7 +13169,7 @@ const Profile = { name: "calibrationFactor", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -13234,7 +13181,6 @@ const Profile = { name: "baroCalFactor", // Barometer calibration factor type: "uint32", baseType: "uint32", - array: "", scale: 1, offset: 0, units: "Pa", @@ -13252,7 +13198,7 @@ const Profile = { name: "calibrationDivisor", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "counts", @@ -13267,7 +13213,7 @@ const Profile = { name: "levelShift", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -13282,7 +13228,7 @@ const Profile = { name: "offsetCal", type: "sint32", baseType: "sint32", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -13304,7 +13250,7 @@ const Profile = { name: "timestamp", type: "dateTime", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "s", @@ -13319,7 +13265,7 @@ const Profile = { name: "timestampMs", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "ms", @@ -13334,7 +13280,7 @@ const Profile = { name: "frameNumber", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -13356,7 +13302,7 @@ const Profile = { name: "timestamp", type: "dateTime", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "s", @@ -13371,7 +13317,7 @@ const Profile = { name: "timestampMs", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "ms", @@ -13386,7 +13332,7 @@ const Profile = { name: "timeOffset", type: "uint16", baseType: "uint16", - array: "true", + array: true, scale: 1, offset: 0, units: "ms", @@ -13401,7 +13347,7 @@ const Profile = { name: "pid", type: "byte", baseType: "byte", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -13416,7 +13362,7 @@ const Profile = { name: "rawData", type: "byte", baseType: "byte", - array: "true", + array: true, scale: 1, offset: 0, units: "", @@ -13431,7 +13377,7 @@ const Profile = { name: "pidDataSize", type: "uint8", baseType: "uint8", - array: "true", + array: true, scale: 1, offset: 0, units: "", @@ -13446,7 +13392,7 @@ const Profile = { name: "systemTime", type: "uint32", baseType: "uint32", - array: "true", + array: true, scale: 1, offset: 0, units: "", @@ -13461,7 +13407,7 @@ const Profile = { name: "startTimestamp", type: "dateTime", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -13476,7 +13422,7 @@ const Profile = { name: "startTimestampMs", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "ms", @@ -13498,7 +13444,7 @@ const Profile = { name: "timestamp", type: "dateTime", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "s", @@ -13513,7 +13459,7 @@ const Profile = { name: "timestampMs", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "ms", @@ -13528,7 +13474,7 @@ const Profile = { name: "sentence", type: "string", baseType: "string", - array: "true", + array: true, scale: 1, offset: 0, units: "", @@ -13550,7 +13496,7 @@ const Profile = { name: "timestamp", type: "dateTime", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "s", @@ -13565,7 +13511,7 @@ const Profile = { name: "timestampMs", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "ms", @@ -13580,7 +13526,7 @@ const Profile = { name: "systemTime", type: "uint32", baseType: "uint32", - array: "true", + array: true, scale: 1, offset: 0, units: "ms", @@ -13595,7 +13541,7 @@ const Profile = { name: "pitch", type: "sint16", baseType: "sint16", - array: "true", + array: true, scale: 10430.38, offset: 0, units: "radians", @@ -13610,7 +13556,7 @@ const Profile = { name: "roll", type: "sint16", baseType: "sint16", - array: "true", + array: true, scale: 10430.38, offset: 0, units: "radians", @@ -13625,7 +13571,7 @@ const Profile = { name: "accelLateral", type: "sint16", baseType: "sint16", - array: "true", + array: true, scale: 100, offset: 0, units: "m/s^2", @@ -13640,7 +13586,7 @@ const Profile = { name: "accelNormal", type: "sint16", baseType: "sint16", - array: "true", + array: true, scale: 100, offset: 0, units: "m/s^2", @@ -13655,7 +13601,7 @@ const Profile = { name: "turnRate", type: "sint16", baseType: "sint16", - array: "true", + array: true, scale: 1024, offset: 0, units: "radians/second", @@ -13670,7 +13616,7 @@ const Profile = { name: "stage", type: "attitudeStage", baseType: "enum", - array: "true", + array: true, scale: 1, offset: 0, units: "", @@ -13685,7 +13631,7 @@ const Profile = { name: "attitudeStageComplete", type: "uint8", baseType: "uint8", - array: "true", + array: true, scale: 1, offset: 0, units: "%", @@ -13700,7 +13646,7 @@ const Profile = { name: "track", type: "uint16", baseType: "uint16", - array: "true", + array: true, scale: 10430.38, offset: 0, units: "radians", @@ -13715,7 +13661,7 @@ const Profile = { name: "validity", type: "attitudeValidity", baseType: "uint16", - array: "true", + array: true, scale: 1, offset: 0, units: "", @@ -13737,7 +13683,7 @@ const Profile = { name: "url", type: "string", baseType: "string", - array: "true", + array: true, scale: 1, offset: 0, units: "", @@ -13752,7 +13698,7 @@ const Profile = { name: "hostingProvider", type: "string", baseType: "string", - array: "true", + array: true, scale: 1, offset: 0, units: "", @@ -13767,7 +13713,7 @@ const Profile = { name: "duration", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "ms", @@ -13789,7 +13735,7 @@ const Profile = { name: "messageIndex", type: "messageIndex", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -13804,7 +13750,7 @@ const Profile = { name: "messageCount", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -13819,7 +13765,7 @@ const Profile = { name: "text", type: "string", baseType: "string", - array: "true", + array: true, scale: 1, offset: 0, units: "", @@ -13841,7 +13787,7 @@ const Profile = { name: "messageIndex", type: "messageIndex", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -13856,7 +13802,7 @@ const Profile = { name: "messageCount", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -13871,7 +13817,7 @@ const Profile = { name: "text", type: "string", baseType: "string", - array: "true", + array: true, scale: 1, offset: 0, units: "", @@ -13893,7 +13839,7 @@ const Profile = { name: "clipNumber", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -13908,7 +13854,7 @@ const Profile = { name: "startTimestamp", type: "dateTime", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -13923,7 +13869,7 @@ const Profile = { name: "startTimestampMs", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -13938,7 +13884,7 @@ const Profile = { name: "endTimestamp", type: "dateTime", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -13953,7 +13899,7 @@ const Profile = { name: "endTimestampMs", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -13968,7 +13914,7 @@ const Profile = { name: "clipStart", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "ms", @@ -13983,7 +13929,7 @@ const Profile = { name: "clipEnd", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "ms", @@ -14005,7 +13951,7 @@ const Profile = { name: "timestamp", type: "dateTime", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -14020,7 +13966,7 @@ const Profile = { name: "duration", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 1000, offset: 0, units: "s", @@ -14035,7 +13981,7 @@ const Profile = { name: "repetitions", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -14050,7 +13996,7 @@ const Profile = { name: "weight", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 16, offset: 0, units: "kg", @@ -14065,7 +14011,7 @@ const Profile = { name: "setType", type: "setType", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -14080,7 +14026,7 @@ const Profile = { name: "startTime", type: "dateTime", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -14095,7 +14041,7 @@ const Profile = { name: "category", type: "exerciseCategory", baseType: "uint16", - array: "true", + array: true, scale: 1, offset: 0, units: "", @@ -14110,7 +14056,7 @@ const Profile = { name: "categorySubtype", type: "uint16", baseType: "uint16", - array: "true", + array: true, scale: 1, offset: 0, units: "", @@ -14125,7 +14071,7 @@ const Profile = { name: "weightDisplayUnit", type: "fitBaseUnit", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -14140,7 +14086,7 @@ const Profile = { name: "messageIndex", type: "messageIndex", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -14155,7 +14101,7 @@ const Profile = { name: "wktStepIndex", type: "messageIndex", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -14177,7 +14123,7 @@ const Profile = { name: "timestamp", type: "dateTime", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "s", @@ -14192,7 +14138,7 @@ const Profile = { name: "distance", type: "float32", baseType: "float32", - array: "false", + array: false, scale: 1, offset: 0, units: "m", @@ -14207,7 +14153,7 @@ const Profile = { name: "height", type: "float32", baseType: "float32", - array: "false", + array: false, scale: 1, offset: 0, units: "m", @@ -14222,7 +14168,7 @@ const Profile = { name: "rotations", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -14237,7 +14183,7 @@ const Profile = { name: "hangTime", type: "float32", baseType: "float32", - array: "false", + array: false, scale: 1, offset: 0, units: "s", @@ -14252,7 +14198,7 @@ const Profile = { name: "score", type: "float32", baseType: "float32", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -14267,7 +14213,7 @@ const Profile = { name: "positionLat", type: "sint32", baseType: "sint32", - array: "false", + array: false, scale: 1, offset: 0, units: "semicircles", @@ -14282,7 +14228,7 @@ const Profile = { name: "positionLong", type: "sint32", baseType: "sint32", - array: "false", + array: false, scale: 1, offset: 0, units: "semicircles", @@ -14297,7 +14243,7 @@ const Profile = { name: "speed", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: [1000, ], offset: [0, ], units: ["m/s", ], @@ -14312,7 +14258,7 @@ const Profile = { name: "enhancedSpeed", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 1000, offset: 0, units: "m/s", @@ -14334,7 +14280,7 @@ const Profile = { name: "messageIndex", type: "messageIndex", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -14349,7 +14295,7 @@ const Profile = { name: "splitType", type: "splitType", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -14364,7 +14310,7 @@ const Profile = { name: "totalElapsedTime", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 1000, offset: 0, units: "s", @@ -14379,7 +14325,7 @@ const Profile = { name: "totalTimerTime", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 1000, offset: 0, units: "s", @@ -14394,7 +14340,7 @@ const Profile = { name: "totalDistance", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 100, offset: 0, units: "m", @@ -14409,7 +14355,7 @@ const Profile = { name: "avgSpeed", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 1000, offset: 0, units: "m/s", @@ -14424,7 +14370,7 @@ const Profile = { name: "startTime", type: "dateTime", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -14439,7 +14385,7 @@ const Profile = { name: "totalAscent", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "m", @@ -14454,7 +14400,7 @@ const Profile = { name: "totalDescent", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "m", @@ -14469,7 +14415,7 @@ const Profile = { name: "startPositionLat", type: "sint32", baseType: "sint32", - array: "false", + array: false, scale: 1, offset: 0, units: "semicircles", @@ -14484,7 +14430,7 @@ const Profile = { name: "startPositionLong", type: "sint32", baseType: "sint32", - array: "false", + array: false, scale: 1, offset: 0, units: "semicircles", @@ -14499,7 +14445,7 @@ const Profile = { name: "endPositionLat", type: "sint32", baseType: "sint32", - array: "false", + array: false, scale: 1, offset: 0, units: "semicircles", @@ -14514,7 +14460,7 @@ const Profile = { name: "endPositionLong", type: "sint32", baseType: "sint32", - array: "false", + array: false, scale: 1, offset: 0, units: "semicircles", @@ -14529,7 +14475,7 @@ const Profile = { name: "maxSpeed", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 1000, offset: 0, units: "m/s", @@ -14544,7 +14490,7 @@ const Profile = { name: "avgVertSpeed", type: "sint32", baseType: "sint32", - array: "false", + array: false, scale: 1000, offset: 0, units: "m/s", @@ -14559,7 +14505,7 @@ const Profile = { name: "endTime", type: "dateTime", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -14574,7 +14520,7 @@ const Profile = { name: "totalCalories", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "kcal", @@ -14589,7 +14535,7 @@ const Profile = { name: "startElevation", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 5, offset: 500, units: "m", @@ -14604,7 +14550,7 @@ const Profile = { name: "totalMovingTime", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 1000, offset: 0, units: "s", @@ -14626,7 +14572,7 @@ const Profile = { name: "messageIndex", type: "messageIndex", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -14641,7 +14587,7 @@ const Profile = { name: "splitType", type: "splitType", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -14656,7 +14602,7 @@ const Profile = { name: "numSplits", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -14671,7 +14617,7 @@ const Profile = { name: "totalTimerTime", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 1000, offset: 0, units: "s", @@ -14686,7 +14632,7 @@ const Profile = { name: "totalDistance", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 100, offset: 0, units: "m", @@ -14701,7 +14647,7 @@ const Profile = { name: "avgSpeed", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 1000, offset: 0, units: "m/s", @@ -14716,7 +14662,7 @@ const Profile = { name: "maxSpeed", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 1000, offset: 0, units: "m/s", @@ -14731,7 +14677,7 @@ const Profile = { name: "totalAscent", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "m", @@ -14746,7 +14692,7 @@ const Profile = { name: "totalDescent", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "m", @@ -14761,7 +14707,7 @@ const Profile = { name: "avgHeartRate", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "bpm", @@ -14776,7 +14722,7 @@ const Profile = { name: "maxHeartRate", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "bpm", @@ -14791,7 +14737,7 @@ const Profile = { name: "avgVertSpeed", type: "sint32", baseType: "sint32", - array: "false", + array: false, scale: 1000, offset: 0, units: "m/s", @@ -14806,7 +14752,7 @@ const Profile = { name: "totalCalories", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "kcal", @@ -14821,7 +14767,7 @@ const Profile = { name: "totalMovingTime", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 1000, offset: 0, units: "s", @@ -14843,7 +14789,7 @@ const Profile = { name: "timestamp", type: "dateTime", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "s", @@ -14858,7 +14804,7 @@ const Profile = { name: "positionLat", type: "sint32", baseType: "sint32", - array: "false", + array: false, scale: 1, offset: 0, units: "semicircles", @@ -14873,7 +14819,7 @@ const Profile = { name: "positionLong", type: "sint32", baseType: "sint32", - array: "false", + array: false, scale: 1, offset: 0, units: "semicircles", @@ -14888,7 +14834,7 @@ const Profile = { name: "climbProEvent", type: "climbProEvent", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -14903,7 +14849,7 @@ const Profile = { name: "climbNumber", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -14918,7 +14864,7 @@ const Profile = { name: "climbCategory", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -14933,7 +14879,7 @@ const Profile = { name: "currentDist", type: "float32", baseType: "float32", - array: "false", + array: false, scale: 1, offset: 0, units: "m", @@ -14955,7 +14901,7 @@ const Profile = { name: "developerDataIndex", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -14970,7 +14916,7 @@ const Profile = { name: "fieldDefinitionNumber", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -14985,7 +14931,7 @@ const Profile = { name: "fitBaseTypeId", type: "fitBaseType", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -15000,7 +14946,7 @@ const Profile = { name: "fieldName", type: "string", baseType: "string", - array: "true", + array: true, scale: 1, offset: 0, units: "", @@ -15015,7 +14961,7 @@ const Profile = { name: "array", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -15030,7 +14976,7 @@ const Profile = { name: "components", type: "string", baseType: "string", - array: "true", + array: true, scale: 1, offset: 0, units: "", @@ -15045,7 +14991,7 @@ const Profile = { name: "scale", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -15060,7 +15006,7 @@ const Profile = { name: "offset", type: "sint8", baseType: "sint8", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -15075,7 +15021,7 @@ const Profile = { name: "units", type: "string", baseType: "string", - array: "true", + array: true, scale: 1, offset: 0, units: "", @@ -15090,7 +15036,7 @@ const Profile = { name: "bits", type: "string", baseType: "string", - array: "true", + array: true, scale: 1, offset: 0, units: "", @@ -15105,7 +15051,7 @@ const Profile = { name: "accumulate", type: "string", baseType: "string", - array: "true", + array: true, scale: 1, offset: 0, units: "", @@ -15120,7 +15066,7 @@ const Profile = { name: "fitBaseUnitId", type: "fitBaseUnit", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -15135,7 +15081,7 @@ const Profile = { name: "nativeMesgNum", type: "mesgNum", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -15150,7 +15096,7 @@ const Profile = { name: "nativeFieldNum", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -15172,7 +15118,7 @@ const Profile = { name: "developerId", type: "byte", baseType: "byte", - array: "true", + array: true, scale: 1, offset: 0, units: "", @@ -15187,7 +15133,7 @@ const Profile = { name: "applicationId", type: "byte", baseType: "byte", - array: "true", + array: true, scale: 1, offset: 0, units: "", @@ -15202,7 +15148,7 @@ const Profile = { name: "manufacturerId", type: "manufacturer", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -15217,7 +15163,7 @@ const Profile = { name: "developerDataIndex", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -15232,7 +15178,7 @@ const Profile = { name: "applicationVersion", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -15254,7 +15200,7 @@ const Profile = { name: "sport", type: "sport", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -15269,7 +15215,7 @@ const Profile = { name: "name", type: "string", baseType: "string", - array: "true", + array: true, scale: 1, offset: 0, units: "", @@ -15284,7 +15230,7 @@ const Profile = { name: "capabilities", type: "courseCapabilities", baseType: "uint32z", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -15299,7 +15245,7 @@ const Profile = { name: "subSport", type: "subSport", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -15321,7 +15267,7 @@ const Profile = { name: "messageIndex", type: "messageIndex", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -15336,7 +15282,7 @@ const Profile = { name: "timestamp", type: "dateTime", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -15351,7 +15297,7 @@ const Profile = { name: "positionLat", type: "sint32", baseType: "sint32", - array: "false", + array: false, scale: 1, offset: 0, units: "semicircles", @@ -15366,7 +15312,7 @@ const Profile = { name: "positionLong", type: "sint32", baseType: "sint32", - array: "false", + array: false, scale: 1, offset: 0, units: "semicircles", @@ -15381,7 +15327,7 @@ const Profile = { name: "distance", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 100, offset: 0, units: "m", @@ -15396,7 +15342,7 @@ const Profile = { name: "type", type: "coursePoint", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -15411,7 +15357,7 @@ const Profile = { name: "name", type: "string", baseType: "string", - array: "true", + array: true, scale: 1, offset: 0, units: "", @@ -15426,7 +15372,7 @@ const Profile = { name: "favorite", type: "bool", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -15448,7 +15394,7 @@ const Profile = { name: "name", type: "string", baseType: "string", - array: "true", + array: true, scale: 1, offset: 0, units: "", @@ -15463,7 +15409,7 @@ const Profile = { name: "uuid", type: "string", baseType: "string", - array: "true", + array: true, scale: 1, offset: 0, units: "", @@ -15478,7 +15424,7 @@ const Profile = { name: "sport", type: "sport", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -15493,7 +15439,7 @@ const Profile = { name: "enabled", type: "bool", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -15508,7 +15454,7 @@ const Profile = { name: "userProfilePrimaryKey", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -15523,7 +15469,7 @@ const Profile = { name: "deviceId", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -15538,7 +15484,7 @@ const Profile = { name: "defaultRaceLeader", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -15553,7 +15499,7 @@ const Profile = { name: "deleteStatus", type: "segmentDeleteStatus", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -15568,7 +15514,7 @@ const Profile = { name: "selectionType", type: "segmentSelectionType", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -15590,7 +15536,7 @@ const Profile = { name: "messageIndex", type: "messageIndex", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -15605,7 +15551,7 @@ const Profile = { name: "name", type: "string", baseType: "string", - array: "true", + array: true, scale: 1, offset: 0, units: "", @@ -15620,7 +15566,7 @@ const Profile = { name: "type", type: "segmentLeaderboardType", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -15635,7 +15581,7 @@ const Profile = { name: "groupPrimaryKey", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -15650,7 +15596,7 @@ const Profile = { name: "activityId", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -15665,7 +15611,7 @@ const Profile = { name: "segmentTime", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 1000, offset: 0, units: "s", @@ -15680,7 +15626,7 @@ const Profile = { name: "activityIdString", type: "string", baseType: "string", - array: "true", + array: true, scale: 1, offset: 0, units: "", @@ -15702,7 +15648,7 @@ const Profile = { name: "messageIndex", type: "messageIndex", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -15717,7 +15663,7 @@ const Profile = { name: "positionLat", type: "sint32", baseType: "sint32", - array: "false", + array: false, scale: 1, offset: 0, units: "semicircles", @@ -15732,7 +15678,7 @@ const Profile = { name: "positionLong", type: "sint32", baseType: "sint32", - array: "false", + array: false, scale: 1, offset: 0, units: "semicircles", @@ -15747,7 +15693,7 @@ const Profile = { name: "distance", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 100, offset: 0, units: "m", @@ -15762,7 +15708,7 @@ const Profile = { name: "altitude", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: [5, ], offset: [500, ], units: ["m", ], @@ -15777,7 +15723,7 @@ const Profile = { name: "leaderTime", type: "uint32", baseType: "uint32", - array: "true", + array: true, scale: 1000, offset: 0, units: "s", @@ -15792,7 +15738,7 @@ const Profile = { name: "enhancedAltitude", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 5, offset: 500, units: "m", @@ -15814,7 +15760,7 @@ const Profile = { name: "messageIndex", type: "messageIndex", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -15829,7 +15775,7 @@ const Profile = { name: "timestamp", type: "dateTime", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "s", @@ -15844,7 +15790,7 @@ const Profile = { name: "event", type: "event", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -15859,7 +15805,7 @@ const Profile = { name: "eventType", type: "eventType", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -15874,7 +15820,7 @@ const Profile = { name: "startTime", type: "dateTime", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -15889,7 +15835,7 @@ const Profile = { name: "startPositionLat", type: "sint32", baseType: "sint32", - array: "false", + array: false, scale: 1, offset: 0, units: "semicircles", @@ -15904,7 +15850,7 @@ const Profile = { name: "startPositionLong", type: "sint32", baseType: "sint32", - array: "false", + array: false, scale: 1, offset: 0, units: "semicircles", @@ -15919,7 +15865,7 @@ const Profile = { name: "endPositionLat", type: "sint32", baseType: "sint32", - array: "false", + array: false, scale: 1, offset: 0, units: "semicircles", @@ -15934,7 +15880,7 @@ const Profile = { name: "endPositionLong", type: "sint32", baseType: "sint32", - array: "false", + array: false, scale: 1, offset: 0, units: "semicircles", @@ -15949,7 +15895,7 @@ const Profile = { name: "totalElapsedTime", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 1000, offset: 0, units: "s", @@ -15964,7 +15910,7 @@ const Profile = { name: "totalTimerTime", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 1000, offset: 0, units: "s", @@ -15979,7 +15925,7 @@ const Profile = { name: "totalDistance", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 100, offset: 0, units: "m", @@ -15994,7 +15940,7 @@ const Profile = { name: "totalCycles", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "cycles", @@ -16006,7 +15952,6 @@ const Profile = { name: "totalStrokes", type: "uint32", baseType: "uint32", - array: "", scale: 1, offset: 0, units: "strokes", @@ -16024,7 +15969,7 @@ const Profile = { name: "totalCalories", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "kcal", @@ -16039,7 +15984,7 @@ const Profile = { name: "totalFatCalories", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "kcal", @@ -16054,7 +15999,7 @@ const Profile = { name: "avgSpeed", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1000, offset: 0, units: "m/s", @@ -16069,7 +16014,7 @@ const Profile = { name: "maxSpeed", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1000, offset: 0, units: "m/s", @@ -16084,7 +16029,7 @@ const Profile = { name: "avgHeartRate", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "bpm", @@ -16099,7 +16044,7 @@ const Profile = { name: "maxHeartRate", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "bpm", @@ -16114,7 +16059,7 @@ const Profile = { name: "avgCadence", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "rpm", @@ -16129,7 +16074,7 @@ const Profile = { name: "maxCadence", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "rpm", @@ -16144,7 +16089,7 @@ const Profile = { name: "avgPower", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "watts", @@ -16159,7 +16104,7 @@ const Profile = { name: "maxPower", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "watts", @@ -16174,7 +16119,7 @@ const Profile = { name: "totalAscent", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "m", @@ -16189,7 +16134,7 @@ const Profile = { name: "totalDescent", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "m", @@ -16204,7 +16149,7 @@ const Profile = { name: "sport", type: "sport", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -16219,7 +16164,7 @@ const Profile = { name: "eventGroup", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -16234,7 +16179,7 @@ const Profile = { name: "necLat", type: "sint32", baseType: "sint32", - array: "false", + array: false, scale: 1, offset: 0, units: "semicircles", @@ -16249,7 +16194,7 @@ const Profile = { name: "necLong", type: "sint32", baseType: "sint32", - array: "false", + array: false, scale: 1, offset: 0, units: "semicircles", @@ -16264,7 +16209,7 @@ const Profile = { name: "swcLat", type: "sint32", baseType: "sint32", - array: "false", + array: false, scale: 1, offset: 0, units: "semicircles", @@ -16279,7 +16224,7 @@ const Profile = { name: "swcLong", type: "sint32", baseType: "sint32", - array: "false", + array: false, scale: 1, offset: 0, units: "semicircles", @@ -16294,7 +16239,7 @@ const Profile = { name: "name", type: "string", baseType: "string", - array: "true", + array: true, scale: 1, offset: 0, units: "", @@ -16309,7 +16254,7 @@ const Profile = { name: "normalizedPower", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "watts", @@ -16324,7 +16269,7 @@ const Profile = { name: "leftRightBalance", type: "leftRightBalance100", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -16339,7 +16284,7 @@ const Profile = { name: "subSport", type: "subSport", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -16354,7 +16299,7 @@ const Profile = { name: "totalWork", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "J", @@ -16369,7 +16314,7 @@ const Profile = { name: "avgAltitude", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: [5, ], offset: [500, ], units: ["m", ], @@ -16384,7 +16329,7 @@ const Profile = { name: "maxAltitude", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: [5, ], offset: [500, ], units: ["m", ], @@ -16399,7 +16344,7 @@ const Profile = { name: "gpsAccuracy", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "m", @@ -16414,7 +16359,7 @@ const Profile = { name: "avgGrade", type: "sint16", baseType: "sint16", - array: "false", + array: false, scale: 100, offset: 0, units: "%", @@ -16429,7 +16374,7 @@ const Profile = { name: "avgPosGrade", type: "sint16", baseType: "sint16", - array: "false", + array: false, scale: 100, offset: 0, units: "%", @@ -16444,7 +16389,7 @@ const Profile = { name: "avgNegGrade", type: "sint16", baseType: "sint16", - array: "false", + array: false, scale: 100, offset: 0, units: "%", @@ -16459,7 +16404,7 @@ const Profile = { name: "maxPosGrade", type: "sint16", baseType: "sint16", - array: "false", + array: false, scale: 100, offset: 0, units: "%", @@ -16474,7 +16419,7 @@ const Profile = { name: "maxNegGrade", type: "sint16", baseType: "sint16", - array: "false", + array: false, scale: 100, offset: 0, units: "%", @@ -16489,7 +16434,7 @@ const Profile = { name: "avgTemperature", type: "sint8", baseType: "sint8", - array: "false", + array: false, scale: 1, offset: 0, units: "C", @@ -16504,7 +16449,7 @@ const Profile = { name: "maxTemperature", type: "sint8", baseType: "sint8", - array: "false", + array: false, scale: 1, offset: 0, units: "C", @@ -16519,7 +16464,7 @@ const Profile = { name: "totalMovingTime", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 1000, offset: 0, units: "s", @@ -16534,7 +16479,7 @@ const Profile = { name: "avgPosVerticalSpeed", type: "sint16", baseType: "sint16", - array: "false", + array: false, scale: 1000, offset: 0, units: "m/s", @@ -16549,7 +16494,7 @@ const Profile = { name: "avgNegVerticalSpeed", type: "sint16", baseType: "sint16", - array: "false", + array: false, scale: 1000, offset: 0, units: "m/s", @@ -16564,7 +16509,7 @@ const Profile = { name: "maxPosVerticalSpeed", type: "sint16", baseType: "sint16", - array: "false", + array: false, scale: 1000, offset: 0, units: "m/s", @@ -16579,7 +16524,7 @@ const Profile = { name: "maxNegVerticalSpeed", type: "sint16", baseType: "sint16", - array: "false", + array: false, scale: 1000, offset: 0, units: "m/s", @@ -16594,7 +16539,7 @@ const Profile = { name: "timeInHrZone", type: "uint32", baseType: "uint32", - array: "true", + array: true, scale: 1000, offset: 0, units: "s", @@ -16609,7 +16554,7 @@ const Profile = { name: "timeInSpeedZone", type: "uint32", baseType: "uint32", - array: "true", + array: true, scale: 1000, offset: 0, units: "s", @@ -16624,7 +16569,7 @@ const Profile = { name: "timeInCadenceZone", type: "uint32", baseType: "uint32", - array: "true", + array: true, scale: 1000, offset: 0, units: "s", @@ -16639,7 +16584,7 @@ const Profile = { name: "timeInPowerZone", type: "uint32", baseType: "uint32", - array: "true", + array: true, scale: 1000, offset: 0, units: "s", @@ -16654,7 +16599,7 @@ const Profile = { name: "repetitionNum", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -16669,7 +16614,7 @@ const Profile = { name: "minAltitude", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: [5, ], offset: [500, ], units: ["m", ], @@ -16684,7 +16629,7 @@ const Profile = { name: "minHeartRate", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "bpm", @@ -16699,7 +16644,7 @@ const Profile = { name: "activeTime", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 1000, offset: 0, units: "s", @@ -16714,7 +16659,7 @@ const Profile = { name: "wktStepIndex", type: "messageIndex", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -16729,7 +16674,7 @@ const Profile = { name: "sportEvent", type: "sportEvent", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -16744,7 +16689,7 @@ const Profile = { name: "avgLeftTorqueEffectiveness", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 2, offset: 0, units: "percent", @@ -16759,7 +16704,7 @@ const Profile = { name: "avgRightTorqueEffectiveness", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 2, offset: 0, units: "percent", @@ -16774,7 +16719,7 @@ const Profile = { name: "avgLeftPedalSmoothness", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 2, offset: 0, units: "percent", @@ -16789,7 +16734,7 @@ const Profile = { name: "avgRightPedalSmoothness", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 2, offset: 0, units: "percent", @@ -16804,7 +16749,7 @@ const Profile = { name: "avgCombinedPedalSmoothness", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 2, offset: 0, units: "percent", @@ -16819,7 +16764,7 @@ const Profile = { name: "status", type: "segmentLapStatus", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -16834,7 +16779,7 @@ const Profile = { name: "uuid", type: "string", baseType: "string", - array: "true", + array: true, scale: 1, offset: 0, units: "", @@ -16849,7 +16794,7 @@ const Profile = { name: "avgFractionalCadence", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 128, offset: 0, units: "rpm", @@ -16864,7 +16809,7 @@ const Profile = { name: "maxFractionalCadence", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 128, offset: 0, units: "rpm", @@ -16879,7 +16824,7 @@ const Profile = { name: "totalFractionalCycles", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 128, offset: 0, units: "cycles", @@ -16894,7 +16839,7 @@ const Profile = { name: "frontGearShiftCount", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -16909,7 +16854,7 @@ const Profile = { name: "rearGearShiftCount", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -16924,7 +16869,7 @@ const Profile = { name: "timeStanding", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 1000, offset: 0, units: "s", @@ -16939,7 +16884,7 @@ const Profile = { name: "standCount", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -16954,7 +16899,7 @@ const Profile = { name: "avgLeftPco", type: "sint8", baseType: "sint8", - array: "false", + array: false, scale: 1, offset: 0, units: "mm", @@ -16969,7 +16914,7 @@ const Profile = { name: "avgRightPco", type: "sint8", baseType: "sint8", - array: "false", + array: false, scale: 1, offset: 0, units: "mm", @@ -16984,7 +16929,7 @@ const Profile = { name: "avgLeftPowerPhase", type: "uint8", baseType: "uint8", - array: "true", + array: true, scale: 0.7111111, offset: 0, units: "degrees", @@ -16999,7 +16944,7 @@ const Profile = { name: "avgLeftPowerPhasePeak", type: "uint8", baseType: "uint8", - array: "true", + array: true, scale: 0.7111111, offset: 0, units: "degrees", @@ -17014,7 +16959,7 @@ const Profile = { name: "avgRightPowerPhase", type: "uint8", baseType: "uint8", - array: "true", + array: true, scale: 0.7111111, offset: 0, units: "degrees", @@ -17029,7 +16974,7 @@ const Profile = { name: "avgRightPowerPhasePeak", type: "uint8", baseType: "uint8", - array: "true", + array: true, scale: 0.7111111, offset: 0, units: "degrees", @@ -17044,7 +16989,7 @@ const Profile = { name: "avgPowerPosition", type: "uint16", baseType: "uint16", - array: "true", + array: true, scale: 1, offset: 0, units: "watts", @@ -17059,7 +17004,7 @@ const Profile = { name: "maxPowerPosition", type: "uint16", baseType: "uint16", - array: "true", + array: true, scale: 1, offset: 0, units: "watts", @@ -17074,7 +17019,7 @@ const Profile = { name: "avgCadencePosition", type: "uint8", baseType: "uint8", - array: "true", + array: true, scale: 1, offset: 0, units: "rpm", @@ -17089,7 +17034,7 @@ const Profile = { name: "maxCadencePosition", type: "uint8", baseType: "uint8", - array: "true", + array: true, scale: 1, offset: 0, units: "rpm", @@ -17104,7 +17049,7 @@ const Profile = { name: "manufacturer", type: "manufacturer", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -17119,7 +17064,7 @@ const Profile = { name: "totalGrit", type: "float32", baseType: "float32", - array: "false", + array: false, scale: 1, offset: 0, units: "kGrit", @@ -17134,7 +17079,7 @@ const Profile = { name: "totalFlow", type: "float32", baseType: "float32", - array: "false", + array: false, scale: 1, offset: 0, units: "Flow", @@ -17149,7 +17094,7 @@ const Profile = { name: "avgGrit", type: "float32", baseType: "float32", - array: "false", + array: false, scale: 1, offset: 0, units: "kGrit", @@ -17164,7 +17109,7 @@ const Profile = { name: "avgFlow", type: "float32", baseType: "float32", - array: "false", + array: false, scale: 1, offset: 0, units: "Flow", @@ -17179,7 +17124,7 @@ const Profile = { name: "totalFractionalAscent", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 100, offset: 0, units: "m", @@ -17194,7 +17139,7 @@ const Profile = { name: "totalFractionalDescent", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 100, offset: 0, units: "m", @@ -17209,7 +17154,7 @@ const Profile = { name: "enhancedAvgAltitude", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 5, offset: 500, units: "m", @@ -17224,7 +17169,7 @@ const Profile = { name: "enhancedMaxAltitude", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 5, offset: 500, units: "m", @@ -17239,7 +17184,7 @@ const Profile = { name: "enhancedMinAltitude", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 5, offset: 500, units: "m", @@ -17261,7 +17206,7 @@ const Profile = { name: "messageIndex", type: "messageIndex", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -17276,7 +17221,7 @@ const Profile = { name: "fileUuid", type: "string", baseType: "string", - array: "true", + array: true, scale: 1, offset: 0, units: "", @@ -17291,7 +17236,7 @@ const Profile = { name: "enabled", type: "bool", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -17306,7 +17251,7 @@ const Profile = { name: "userProfilePrimaryKey", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -17321,7 +17266,7 @@ const Profile = { name: "leaderType", type: "segmentLeaderboardType", baseType: "enum", - array: "true", + array: true, scale: 1, offset: 0, units: "", @@ -17336,7 +17281,7 @@ const Profile = { name: "leaderGroupPrimaryKey", type: "uint32", baseType: "uint32", - array: "true", + array: true, scale: 1, offset: 0, units: "", @@ -17351,7 +17296,7 @@ const Profile = { name: "leaderActivityId", type: "uint32", baseType: "uint32", - array: "true", + array: true, scale: 1, offset: 0, units: "", @@ -17366,7 +17311,7 @@ const Profile = { name: "leaderActivityIdString", type: "string", baseType: "string", - array: "true", + array: true, scale: 1, offset: 0, units: "", @@ -17381,7 +17326,7 @@ const Profile = { name: "defaultRaceLeader", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -17403,7 +17348,7 @@ const Profile = { name: "messageIndex", type: "messageIndex", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -17418,7 +17363,7 @@ const Profile = { name: "sport", type: "sport", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -17433,7 +17378,7 @@ const Profile = { name: "capabilities", type: "workoutCapabilities", baseType: "uint32z", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -17448,7 +17393,7 @@ const Profile = { name: "numValidSteps", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -17463,7 +17408,7 @@ const Profile = { name: "wktName", type: "string", baseType: "string", - array: "true", + array: true, scale: 1, offset: 0, units: "", @@ -17478,7 +17423,7 @@ const Profile = { name: "subSport", type: "subSport", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -17493,7 +17438,7 @@ const Profile = { name: "poolLength", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 100, offset: 0, units: "m", @@ -17508,7 +17453,7 @@ const Profile = { name: "poolLengthUnit", type: "displayMeasure", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -17523,7 +17468,7 @@ const Profile = { name: "wktDescription", type: "string", baseType: "string", - array: "true", + array: true, scale: 1, offset: 0, units: "", @@ -17545,7 +17490,7 @@ const Profile = { name: "messageIndex", type: "messageIndex", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -17560,7 +17505,7 @@ const Profile = { name: "sport", type: "sport", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -17575,7 +17520,7 @@ const Profile = { name: "subSport", type: "subSport", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -17590,7 +17535,7 @@ const Profile = { name: "numValidSteps", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -17605,7 +17550,7 @@ const Profile = { name: "firstStepIndex", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -17620,7 +17565,7 @@ const Profile = { name: "poolLength", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 100, offset: 0, units: "m", @@ -17635,7 +17580,7 @@ const Profile = { name: "poolLengthUnit", type: "displayMeasure", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -17657,7 +17602,7 @@ const Profile = { name: "messageIndex", type: "messageIndex", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -17672,7 +17617,7 @@ const Profile = { name: "wktStepName", type: "string", baseType: "string", - array: "true", + array: true, scale: 1, offset: 0, units: "", @@ -17687,7 +17632,7 @@ const Profile = { name: "durationType", type: "wktStepDuration", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -17702,7 +17647,7 @@ const Profile = { name: "durationValue", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -17714,7 +17659,6 @@ const Profile = { name: "durationTime", type: "uint32", baseType: "uint32", - array: "", scale: 1000, offset: 0, units: "s", @@ -17730,7 +17674,6 @@ const Profile = { name: "durationDistance", type: "uint32", baseType: "uint32", - array: "", scale: 100, offset: 0, units: "m", @@ -17745,7 +17688,6 @@ const Profile = { name: "durationHr", type: "workoutHr", baseType: "uint32", - array: "", scale: 1, offset: 0, units: "% or bpm", @@ -17761,7 +17703,6 @@ const Profile = { name: "durationCalories", type: "uint32", baseType: "uint32", - array: "", scale: 1, offset: 0, units: "calories", @@ -17776,7 +17717,6 @@ const Profile = { name: "durationStep", // message_index of step to loop back to. Steps are assumed to be in the order by message_index. custom_name and intensity members are undefined for this duration type. type: "uint32", baseType: "uint32", - array: "", scale: 1, offset: 0, units: "", @@ -17798,7 +17738,6 @@ const Profile = { name: "durationPower", type: "workoutPower", baseType: "uint32", - array: "", scale: 1, offset: 0, units: "% or watts", @@ -17814,7 +17753,6 @@ const Profile = { name: "durationReps", type: "uint32", baseType: "uint32", - array: "", scale: 1, offset: 0, units: "", @@ -17832,7 +17770,7 @@ const Profile = { name: "targetType", type: "wktStepTarget", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -17847,7 +17785,7 @@ const Profile = { name: "targetValue", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -17859,7 +17797,6 @@ const Profile = { name: "targetSpeedZone", // speed zone (1-10);Custom =0; type: "uint32", baseType: "uint32", - array: "", scale: 1, offset: 0, units: "", @@ -17874,7 +17811,6 @@ const Profile = { name: "targetHrZone", // hr zone (1-5);Custom =0; type: "uint32", baseType: "uint32", - array: "", scale: 1, offset: 0, units: "", @@ -17889,7 +17825,6 @@ const Profile = { name: "targetCadenceZone", // Zone (1-?); Custom = 0; type: "uint32", baseType: "uint32", - array: "", scale: 1, offset: 0, units: "", @@ -17904,7 +17839,6 @@ const Profile = { name: "targetPowerZone", // Power Zone ( 1-7); Custom = 0; type: "uint32", baseType: "uint32", - array: "", scale: 1, offset: 0, units: "", @@ -17919,7 +17853,6 @@ const Profile = { name: "repeatSteps", // # of repetitions type: "uint32", baseType: "uint32", - array: "", scale: 1, offset: 0, units: "", @@ -17934,7 +17867,6 @@ const Profile = { name: "repeatTime", type: "uint32", baseType: "uint32", - array: "", scale: 1000, offset: 0, units: "s", @@ -17949,7 +17881,6 @@ const Profile = { name: "repeatDistance", type: "uint32", baseType: "uint32", - array: "", scale: 100, offset: 0, units: "m", @@ -17964,7 +17895,6 @@ const Profile = { name: "repeatCalories", type: "uint32", baseType: "uint32", - array: "", scale: 1, offset: 0, units: "calories", @@ -17979,7 +17909,6 @@ const Profile = { name: "repeatHr", type: "workoutHr", baseType: "uint32", - array: "", scale: 1, offset: 0, units: "% or bpm", @@ -17995,7 +17924,6 @@ const Profile = { name: "repeatPower", type: "workoutPower", baseType: "uint32", - array: "", scale: 1, offset: 0, units: "% or watts", @@ -18011,7 +17939,6 @@ const Profile = { name: "targetStrokeType", type: "swimStroke", baseType: "enum", - array: "", scale: 1, offset: 0, units: "", @@ -18029,7 +17956,7 @@ const Profile = { name: "customTargetValueLow", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -18041,7 +17968,6 @@ const Profile = { name: "customTargetSpeedLow", type: "uint32", baseType: "uint32", - array: "", scale: 1000, offset: 0, units: "m/s", @@ -18056,7 +17982,6 @@ const Profile = { name: "customTargetHeartRateLow", type: "workoutHr", baseType: "uint32", - array: "", scale: 1, offset: 0, units: "% or bpm", @@ -18071,7 +17996,6 @@ const Profile = { name: "customTargetCadenceLow", type: "uint32", baseType: "uint32", - array: "", scale: 1, offset: 0, units: "rpm", @@ -18086,7 +18010,6 @@ const Profile = { name: "customTargetPowerLow", type: "workoutPower", baseType: "uint32", - array: "", scale: 1, offset: 0, units: "% or watts", @@ -18104,7 +18027,7 @@ const Profile = { name: "customTargetValueHigh", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -18116,7 +18039,6 @@ const Profile = { name: "customTargetSpeedHigh", type: "uint32", baseType: "uint32", - array: "", scale: 1000, offset: 0, units: "m/s", @@ -18131,7 +18053,6 @@ const Profile = { name: "customTargetHeartRateHigh", type: "workoutHr", baseType: "uint32", - array: "", scale: 1, offset: 0, units: "% or bpm", @@ -18146,7 +18067,6 @@ const Profile = { name: "customTargetCadenceHigh", type: "uint32", baseType: "uint32", - array: "", scale: 1, offset: 0, units: "rpm", @@ -18161,7 +18081,6 @@ const Profile = { name: "customTargetPowerHigh", type: "workoutPower", baseType: "uint32", - array: "", scale: 1, offset: 0, units: "% or watts", @@ -18179,7 +18098,7 @@ const Profile = { name: "intensity", type: "intensity", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -18194,7 +18113,7 @@ const Profile = { name: "notes", type: "string", baseType: "string", - array: "true", + array: true, scale: 1, offset: 0, units: "", @@ -18209,7 +18128,7 @@ const Profile = { name: "equipment", type: "workoutEquipment", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -18224,7 +18143,7 @@ const Profile = { name: "exerciseCategory", type: "exerciseCategory", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -18239,7 +18158,7 @@ const Profile = { name: "exerciseName", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -18254,7 +18173,7 @@ const Profile = { name: "exerciseWeight", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 100, offset: 0, units: "kg", @@ -18269,7 +18188,7 @@ const Profile = { name: "weightDisplayUnit", type: "fitBaseUnit", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -18284,7 +18203,7 @@ const Profile = { name: "secondaryTargetType", type: "wktStepTarget", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -18299,7 +18218,7 @@ const Profile = { name: "secondaryTargetValue", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -18311,7 +18230,6 @@ const Profile = { name: "secondaryTargetSpeedZone", // speed zone (1-10);Custom =0; type: "uint32", baseType: "uint32", - array: "", scale: 1, offset: 0, units: "", @@ -18326,7 +18244,6 @@ const Profile = { name: "secondaryTargetHrZone", // hr zone (1-5);Custom =0; type: "uint32", baseType: "uint32", - array: "", scale: 1, offset: 0, units: "", @@ -18341,7 +18258,6 @@ const Profile = { name: "secondaryTargetCadenceZone", // Zone (1-?); Custom = 0; type: "uint32", baseType: "uint32", - array: "", scale: 1, offset: 0, units: "", @@ -18356,7 +18272,6 @@ const Profile = { name: "secondaryTargetPowerZone", // Power Zone ( 1-7); Custom = 0; type: "uint32", baseType: "uint32", - array: "", scale: 1, offset: 0, units: "", @@ -18371,7 +18286,6 @@ const Profile = { name: "secondaryTargetStrokeType", type: "swimStroke", baseType: "enum", - array: "", scale: 1, offset: 0, units: "", @@ -18389,7 +18303,7 @@ const Profile = { name: "secondaryCustomTargetValueLow", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -18401,7 +18315,6 @@ const Profile = { name: "secondaryCustomTargetSpeedLow", type: "uint32", baseType: "uint32", - array: "", scale: 1000, offset: 0, units: "m/s", @@ -18416,7 +18329,6 @@ const Profile = { name: "secondaryCustomTargetHeartRateLow", type: "workoutHr", baseType: "uint32", - array: "", scale: 1, offset: 0, units: "% or bpm", @@ -18431,7 +18343,6 @@ const Profile = { name: "secondaryCustomTargetCadenceLow", type: "uint32", baseType: "uint32", - array: "", scale: 1, offset: 0, units: "rpm", @@ -18446,7 +18357,6 @@ const Profile = { name: "secondaryCustomTargetPowerLow", type: "workoutPower", baseType: "uint32", - array: "", scale: 1, offset: 0, units: "% or watts", @@ -18464,7 +18374,7 @@ const Profile = { name: "secondaryCustomTargetValueHigh", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -18476,7 +18386,6 @@ const Profile = { name: "secondaryCustomTargetSpeedHigh", type: "uint32", baseType: "uint32", - array: "", scale: 1000, offset: 0, units: "m/s", @@ -18491,7 +18400,6 @@ const Profile = { name: "secondaryCustomTargetHeartRateHigh", type: "workoutHr", baseType: "uint32", - array: "", scale: 1, offset: 0, units: "% or bpm", @@ -18506,7 +18414,6 @@ const Profile = { name: "secondaryCustomTargetCadenceHigh", type: "uint32", baseType: "uint32", - array: "", scale: 1, offset: 0, units: "rpm", @@ -18521,7 +18428,6 @@ const Profile = { name: "secondaryCustomTargetPowerHigh", type: "workoutPower", baseType: "uint32", - array: "", scale: 1, offset: 0, units: "% or watts", @@ -18546,7 +18452,7 @@ const Profile = { name: "messageIndex", type: "messageIndex", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -18561,7 +18467,7 @@ const Profile = { name: "exerciseCategory", type: "exerciseCategory", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -18576,7 +18482,7 @@ const Profile = { name: "exerciseName", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -18591,7 +18497,7 @@ const Profile = { name: "wktStepName", type: "string", baseType: "string", - array: "true", + array: true, scale: 1, offset: 0, units: "", @@ -18613,7 +18519,7 @@ const Profile = { name: "manufacturer", type: "manufacturer", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -18628,7 +18534,7 @@ const Profile = { name: "product", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -18640,7 +18546,6 @@ const Profile = { name: "faveroProduct", type: "faveroProduct", baseType: "uint16", - array: "", scale: 1, offset: 0, units: "", @@ -18655,7 +18560,6 @@ const Profile = { name: "garminProduct", type: "garminProduct", baseType: "uint16", - array: "", scale: 1, offset: 0, units: "", @@ -18676,7 +18580,7 @@ const Profile = { name: "serialNumber", type: "uint32z", baseType: "uint32z", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -18691,7 +18595,7 @@ const Profile = { name: "timeCreated", type: "dateTime", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -18706,7 +18610,7 @@ const Profile = { name: "completed", type: "bool", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -18721,7 +18625,7 @@ const Profile = { name: "type", type: "schedule", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -18736,7 +18640,7 @@ const Profile = { name: "scheduledTime", type: "localDateTime", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -18758,7 +18662,7 @@ const Profile = { name: "messageIndex", type: "messageIndex", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -18773,7 +18677,7 @@ const Profile = { name: "timestamp", type: "dateTime", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "s", @@ -18788,7 +18692,7 @@ const Profile = { name: "timerTime", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "s", @@ -18803,7 +18707,7 @@ const Profile = { name: "distance", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "m", @@ -18818,7 +18722,7 @@ const Profile = { name: "calories", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "kcal", @@ -18833,7 +18737,7 @@ const Profile = { name: "sport", type: "sport", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -18848,7 +18752,7 @@ const Profile = { name: "elapsedTime", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "s", @@ -18863,7 +18767,7 @@ const Profile = { name: "sessions", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -18878,7 +18782,7 @@ const Profile = { name: "activeTime", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "s", @@ -18893,7 +18797,7 @@ const Profile = { name: "sportIndex", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -18915,7 +18819,7 @@ const Profile = { name: "timestamp", type: "dateTime", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "s", @@ -18930,7 +18834,7 @@ const Profile = { name: "weight", type: "weight", baseType: "uint16", - array: "false", + array: false, scale: 100, offset: 0, units: "kg", @@ -18945,7 +18849,7 @@ const Profile = { name: "percentFat", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 100, offset: 0, units: "%", @@ -18960,7 +18864,7 @@ const Profile = { name: "percentHydration", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 100, offset: 0, units: "%", @@ -18975,7 +18879,7 @@ const Profile = { name: "visceralFatMass", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 100, offset: 0, units: "kg", @@ -18990,7 +18894,7 @@ const Profile = { name: "boneMass", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 100, offset: 0, units: "kg", @@ -19005,7 +18909,7 @@ const Profile = { name: "muscleMass", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 100, offset: 0, units: "kg", @@ -19020,7 +18924,7 @@ const Profile = { name: "basalMet", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 4, offset: 0, units: "kcal/day", @@ -19035,7 +18939,7 @@ const Profile = { name: "physiqueRating", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -19050,7 +18954,7 @@ const Profile = { name: "activeMet", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 4, offset: 0, units: "kcal/day", @@ -19065,7 +18969,7 @@ const Profile = { name: "metabolicAge", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "years", @@ -19080,7 +18984,7 @@ const Profile = { name: "visceralFatRating", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -19095,7 +18999,7 @@ const Profile = { name: "userProfileIndex", type: "messageIndex", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -19110,7 +19014,7 @@ const Profile = { name: "bmi", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 10, offset: 0, units: "kg/m^2", @@ -19132,7 +19036,7 @@ const Profile = { name: "timestamp", type: "dateTime", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "s", @@ -19147,7 +19051,7 @@ const Profile = { name: "systolicPressure", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "mmHg", @@ -19162,7 +19066,7 @@ const Profile = { name: "diastolicPressure", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "mmHg", @@ -19177,7 +19081,7 @@ const Profile = { name: "meanArterialPressure", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "mmHg", @@ -19192,7 +19096,7 @@ const Profile = { name: "map3SampleMean", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "mmHg", @@ -19207,7 +19111,7 @@ const Profile = { name: "mapMorningValues", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "mmHg", @@ -19222,7 +19126,7 @@ const Profile = { name: "mapEveningValues", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "mmHg", @@ -19237,7 +19141,7 @@ const Profile = { name: "heartRate", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "bpm", @@ -19252,7 +19156,7 @@ const Profile = { name: "heartRateType", type: "hrType", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -19267,7 +19171,7 @@ const Profile = { name: "status", type: "bpStatus", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -19282,7 +19186,7 @@ const Profile = { name: "userProfileIndex", type: "messageIndex", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -19304,7 +19208,7 @@ const Profile = { name: "timestamp", type: "dateTime", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "s", @@ -19319,7 +19223,7 @@ const Profile = { name: "localTimestamp", type: "localDateTime", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "s", @@ -19334,7 +19238,7 @@ const Profile = { name: "activityType", type: "activityType", baseType: "enum", - array: "true", + array: true, scale: 1, offset: 0, units: "", @@ -19349,7 +19253,7 @@ const Profile = { name: "cyclesToDistance", type: "uint16", baseType: "uint16", - array: "true", + array: true, scale: 5000, offset: 0, units: "m/cycle", @@ -19364,7 +19268,7 @@ const Profile = { name: "cyclesToCalories", type: "uint16", baseType: "uint16", - array: "true", + array: true, scale: 5000, offset: 0, units: "kcal/cycle", @@ -19379,7 +19283,7 @@ const Profile = { name: "restingMetabolicRate", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "kcal / day", @@ -19401,7 +19305,7 @@ const Profile = { name: "timestamp", type: "dateTime", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "s", @@ -19416,7 +19320,7 @@ const Profile = { name: "deviceIndex", type: "deviceIndex", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -19431,7 +19335,7 @@ const Profile = { name: "calories", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "kcal", @@ -19446,7 +19350,7 @@ const Profile = { name: "distance", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 100, offset: 0, units: "m", @@ -19461,7 +19365,7 @@ const Profile = { name: "cycles", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 2, offset: 0, units: "cycles", @@ -19473,7 +19377,6 @@ const Profile = { name: "steps", type: "uint32", baseType: "uint32", - array: "", scale: 1, offset: 0, units: "steps", @@ -19489,7 +19392,6 @@ const Profile = { name: "strokes", type: "uint32", baseType: "uint32", - array: "", scale: 2, offset: 0, units: "strokes", @@ -19508,7 +19410,7 @@ const Profile = { name: "activeTime", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 1000, offset: 0, units: "s", @@ -19523,7 +19425,7 @@ const Profile = { name: "activityType", type: "activityType", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -19538,7 +19440,7 @@ const Profile = { name: "activitySubtype", type: "activitySubtype", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -19553,7 +19455,7 @@ const Profile = { name: "activityLevel", type: "activityLevel", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -19568,7 +19470,7 @@ const Profile = { name: "distance16", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "100 * m", @@ -19583,7 +19485,7 @@ const Profile = { name: "cycles16", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "2 * cycles (steps)", @@ -19598,7 +19500,7 @@ const Profile = { name: "activeTime16", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "s", @@ -19613,7 +19515,7 @@ const Profile = { name: "localTimestamp", type: "localDateTime", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -19628,7 +19530,7 @@ const Profile = { name: "temperature", type: "sint16", baseType: "sint16", - array: "false", + array: false, scale: 100, offset: 0, units: "C", @@ -19643,7 +19545,7 @@ const Profile = { name: "temperatureMin", type: "sint16", baseType: "sint16", - array: "false", + array: false, scale: 100, offset: 0, units: "C", @@ -19658,7 +19560,7 @@ const Profile = { name: "temperatureMax", type: "sint16", baseType: "sint16", - array: "false", + array: false, scale: 100, offset: 0, units: "C", @@ -19673,7 +19575,7 @@ const Profile = { name: "activityTime", type: "uint16", baseType: "uint16", - array: "true", + array: true, scale: 1, offset: 0, units: "minutes", @@ -19688,7 +19590,7 @@ const Profile = { name: "activeCalories", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "kcal", @@ -19703,7 +19605,7 @@ const Profile = { name: "currentActivityTypeIntensity", type: "byte", baseType: "byte", - array: "false", + array: false, scale: [1, 1, ], offset: [0, 0, ], units: ["", "", ], @@ -19718,7 +19620,7 @@ const Profile = { name: "timestampMin8", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "min", @@ -19733,7 +19635,7 @@ const Profile = { name: "timestamp16", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "s", @@ -19748,7 +19650,7 @@ const Profile = { name: "heartRate", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "bpm", @@ -19763,7 +19665,7 @@ const Profile = { name: "intensity", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 10, offset: 0, units: "", @@ -19778,7 +19680,7 @@ const Profile = { name: "durationMin", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "min", @@ -19793,7 +19695,7 @@ const Profile = { name: "duration", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "s", @@ -19808,7 +19710,7 @@ const Profile = { name: "ascent", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 1000, offset: 0, units: "m", @@ -19823,7 +19725,7 @@ const Profile = { name: "descent", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 1000, offset: 0, units: "m", @@ -19838,7 +19740,7 @@ const Profile = { name: "moderateActivityMinutes", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "minutes", @@ -19853,7 +19755,7 @@ const Profile = { name: "vigorousActivityMinutes", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "minutes", @@ -19875,7 +19777,7 @@ const Profile = { name: "timestamp", type: "dateTime", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "s", @@ -19890,7 +19792,7 @@ const Profile = { name: "restingHeartRate", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "bpm", @@ -19905,7 +19807,7 @@ const Profile = { name: "currentDayRestingHeartRate", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "bpm", @@ -19927,7 +19829,7 @@ const Profile = { name: "timestamp", type: "dateTime", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "s", @@ -19942,7 +19844,7 @@ const Profile = { name: "readingSpo2", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "percent", @@ -19957,7 +19859,7 @@ const Profile = { name: "readingConfidence", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -19972,7 +19874,7 @@ const Profile = { name: "mode", type: "spo2MeasurementType", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -19994,7 +19896,7 @@ const Profile = { name: "timestamp", type: "dateTime", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -20009,7 +19911,7 @@ const Profile = { name: "fractionalTimestamp", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 32768, offset: 0, units: "s", @@ -20024,7 +19926,7 @@ const Profile = { name: "time256", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: [256, ], offset: [0, ], units: ["s", ], @@ -20039,7 +19941,7 @@ const Profile = { name: "filteredBpm", type: "uint8", baseType: "uint8", - array: "true", + array: true, scale: 1, offset: 0, units: "bpm", @@ -20054,7 +19956,7 @@ const Profile = { name: "eventTimestamp", type: "uint32", baseType: "uint32", - array: "true", + array: true, scale: 1024, offset: 0, units: "s", @@ -20069,7 +19971,7 @@ const Profile = { name: "eventTimestamp12", type: "byte", baseType: "byte", - array: "true", + array: true, scale: [1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, ], offset: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ], units: ["s", "", "", "", "", "", "", "", "", "", ], @@ -20091,7 +19993,7 @@ const Profile = { name: "stressLevelValue", type: "sint16", baseType: "sint16", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -20106,7 +20008,7 @@ const Profile = { name: "stressLevelTime", type: "dateTime", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "s", @@ -20128,7 +20030,7 @@ const Profile = { name: "updateTime", type: "dateTime", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -20143,7 +20045,7 @@ const Profile = { name: "vo2Max", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 10, offset: 0, units: "mL/kg/min", @@ -20158,7 +20060,7 @@ const Profile = { name: "sport", type: "sport", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -20173,7 +20075,7 @@ const Profile = { name: "subSport", type: "subSport", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -20188,7 +20090,7 @@ const Profile = { name: "maxMetCategory", type: "maxMetCategory", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -20203,7 +20105,7 @@ const Profile = { name: "calibratedData", type: "bool", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -20218,7 +20120,7 @@ const Profile = { name: "hrSource", type: "maxMetHeartRateSource", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -20233,7 +20135,7 @@ const Profile = { name: "speedSource", type: "maxMetSpeedSource", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -20255,7 +20157,7 @@ const Profile = { name: "timestamp", type: "dateTime", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "s", @@ -20270,7 +20172,7 @@ const Profile = { name: "processingInterval", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "s", @@ -20285,7 +20187,7 @@ const Profile = { name: "level", type: "sint8", baseType: "sint8", - array: "true", + array: true, scale: 1, offset: 0, units: "percent", @@ -20300,7 +20202,7 @@ const Profile = { name: "charged", type: "sint16", baseType: "sint16", - array: "true", + array: true, scale: 1, offset: 0, units: "", @@ -20315,7 +20217,7 @@ const Profile = { name: "uncharged", type: "sint16", baseType: "sint16", - array: "true", + array: true, scale: 1, offset: 0, units: "", @@ -20337,7 +20239,7 @@ const Profile = { name: "timestamp", type: "dateTime", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "s", @@ -20352,7 +20254,7 @@ const Profile = { name: "eventId", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -20374,7 +20276,7 @@ const Profile = { name: "timestamp", type: "dateTime", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "s", @@ -20389,7 +20291,7 @@ const Profile = { name: "timestampMs", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "ms", @@ -20404,7 +20306,7 @@ const Profile = { name: "samplingInterval", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "ms", @@ -20419,7 +20321,7 @@ const Profile = { name: "accelX", type: "sint16", baseType: "sint16", - array: "true", + array: true, scale: 1.024, offset: 0, units: "mG", @@ -20434,7 +20336,7 @@ const Profile = { name: "accelY", type: "sint16", baseType: "sint16", - array: "true", + array: true, scale: 1.024, offset: 0, units: "mG", @@ -20449,7 +20351,7 @@ const Profile = { name: "accelZ", type: "sint16", baseType: "sint16", - array: "true", + array: true, scale: 1.024, offset: 0, units: "mG", @@ -20464,7 +20366,7 @@ const Profile = { name: "timestamp32k", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -20486,7 +20388,7 @@ const Profile = { name: "timestamp", type: "dateTime", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "s", @@ -20501,7 +20403,7 @@ const Profile = { name: "timestampMs", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "ms", @@ -20516,7 +20418,7 @@ const Profile = { name: "samplingInterval", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "1/32768 s", @@ -20531,7 +20433,7 @@ const Profile = { name: "gyroX", type: "sint16", baseType: "sint16", - array: "true", + array: true, scale: 28.57143, offset: 0, units: "deg/s", @@ -20546,7 +20448,7 @@ const Profile = { name: "gyroY", type: "sint16", baseType: "sint16", - array: "true", + array: true, scale: 28.57143, offset: 0, units: "deg/s", @@ -20561,7 +20463,7 @@ const Profile = { name: "gyroZ", type: "sint16", baseType: "sint16", - array: "true", + array: true, scale: 28.57143, offset: 0, units: "deg/s", @@ -20576,7 +20478,7 @@ const Profile = { name: "timestamp32k", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "1/32768 s", @@ -20598,7 +20500,7 @@ const Profile = { name: "timestamp", type: "dateTime", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "s", @@ -20613,7 +20515,7 @@ const Profile = { name: "processingInterval", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "s", @@ -20628,7 +20530,7 @@ const Profile = { name: "steps", type: "uint32", baseType: "uint32", - array: "true", + array: true, scale: 1, offset: 0, units: "steps", @@ -20650,7 +20552,7 @@ const Profile = { name: "timestamp", type: "dateTime", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "s", @@ -20665,7 +20567,7 @@ const Profile = { name: "processingInterval", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "s", @@ -20680,7 +20582,7 @@ const Profile = { name: "readingSpo2", type: "uint8", baseType: "uint8", - array: "true", + array: true, scale: 1, offset: 0, units: "percent", @@ -20695,7 +20597,7 @@ const Profile = { name: "confidence", type: "uint8", baseType: "uint8", - array: "true", + array: true, scale: 1, offset: 0, units: "", @@ -20717,7 +20619,7 @@ const Profile = { name: "timestamp", type: "dateTime", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -20732,7 +20634,7 @@ const Profile = { name: "processingInterval", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "s", @@ -20747,7 +20649,7 @@ const Profile = { name: "stressLevel", type: "sint8", baseType: "sint8", - array: "true", + array: true, scale: 1, offset: 0, units: "s", @@ -20769,7 +20671,7 @@ const Profile = { name: "timestamp", type: "dateTime", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "s", @@ -20784,7 +20686,7 @@ const Profile = { name: "processingInterval", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "s", @@ -20799,7 +20701,7 @@ const Profile = { name: "respirationRate", type: "sint16", baseType: "sint16", - array: "true", + array: true, scale: 100, offset: 0, units: "breaths/min", @@ -20821,7 +20723,7 @@ const Profile = { name: "timestamp", type: "dateTime", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "s", @@ -20836,7 +20738,7 @@ const Profile = { name: "processingInterval", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "s", @@ -20851,7 +20753,7 @@ const Profile = { name: "status", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -20866,7 +20768,7 @@ const Profile = { name: "heartRate", type: "uint8", baseType: "uint8", - array: "true", + array: true, scale: 1, offset: 0, units: "bpm", @@ -20888,7 +20790,7 @@ const Profile = { name: "timestamp", type: "dateTime", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "s", @@ -20903,7 +20805,7 @@ const Profile = { name: "data", type: "byte", baseType: "byte", - array: "true", + array: true, scale: 1, offset: 0, units: "", @@ -20918,7 +20820,7 @@ const Profile = { name: "dataSize", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -20940,7 +20842,7 @@ const Profile = { name: "timestamp", type: "dateTime", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "s", @@ -20955,7 +20857,7 @@ const Profile = { name: "processingInterval", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "s", @@ -20970,7 +20872,7 @@ const Profile = { name: "value", type: "uint16", baseType: "uint16", - array: "true", + array: true, scale: 1000, offset: 0, units: "degC", @@ -20992,7 +20894,7 @@ const Profile = { name: "partIndex", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -21007,7 +20909,7 @@ const Profile = { name: "memo", type: "byte", baseType: "byte", - array: "true", + array: true, scale: 1, offset: 0, units: "", @@ -21022,7 +20924,7 @@ const Profile = { name: "mesgNum", type: "mesgNum", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -21037,7 +20939,7 @@ const Profile = { name: "parentIndex", type: "messageIndex", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -21052,7 +20954,7 @@ const Profile = { name: "fieldNum", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -21067,7 +20969,7 @@ const Profile = { name: "data", type: "uint8z", baseType: "uint8z", - array: "true", + array: true, scale: 1, offset: 0, units: "", @@ -21089,7 +20991,7 @@ const Profile = { name: "timestamp", type: "dateTime", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "s", @@ -21104,7 +21006,7 @@ const Profile = { name: "sleepLevel", type: "sleepLevel", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -21126,7 +21028,7 @@ const Profile = { name: "channelNumber", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -21141,7 +21043,7 @@ const Profile = { name: "deviceType", type: "uint8z", baseType: "uint8z", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -21156,7 +21058,7 @@ const Profile = { name: "deviceNumber", type: "uint16z", baseType: "uint16z", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -21171,7 +21073,7 @@ const Profile = { name: "transmissionType", type: "uint8z", baseType: "uint8z", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -21186,7 +21088,7 @@ const Profile = { name: "deviceIndex", type: "deviceIndex", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -21208,7 +21110,7 @@ const Profile = { name: "timestamp", type: "dateTime", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "s", @@ -21223,7 +21125,7 @@ const Profile = { name: "fractionalTimestamp", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 32768, offset: 0, units: "s", @@ -21238,7 +21140,7 @@ const Profile = { name: "mesgId", type: "byte", baseType: "byte", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -21253,7 +21155,7 @@ const Profile = { name: "mesgData", type: "byte", baseType: "byte", - array: "true", + array: true, scale: [1, 1, 1, 1, 1, 1, 1, 1, 1, ], offset: [0, 0, 0, 0, 0, 0, 0, 0, 0, ], units: ["", "", "", "", "", "", "", "", "", ], @@ -21268,7 +21170,7 @@ const Profile = { name: "channelNumber", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -21283,7 +21185,7 @@ const Profile = { name: "data", type: "byte", baseType: "byte", - array: "true", + array: true, scale: 1, offset: 0, units: "", @@ -21305,7 +21207,7 @@ const Profile = { name: "timestamp", type: "dateTime", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "s", @@ -21320,7 +21222,7 @@ const Profile = { name: "fractionalTimestamp", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 32768, offset: 0, units: "s", @@ -21335,7 +21237,7 @@ const Profile = { name: "mesgId", type: "byte", baseType: "byte", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -21350,7 +21252,7 @@ const Profile = { name: "mesgData", type: "byte", baseType: "byte", - array: "true", + array: true, scale: [1, 1, 1, 1, 1, 1, 1, 1, 1, ], offset: [0, 0, 0, 0, 0, 0, 0, 0, 0, ], units: ["", "", "", "", "", "", "", "", "", ], @@ -21365,7 +21267,7 @@ const Profile = { name: "channelNumber", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -21380,7 +21282,7 @@ const Profile = { name: "data", type: "byte", baseType: "byte", - array: "true", + array: true, scale: 1, offset: 0, units: "", @@ -21402,7 +21304,7 @@ const Profile = { name: "screenIndex", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -21417,7 +21319,7 @@ const Profile = { name: "fieldCount", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -21432,7 +21334,7 @@ const Profile = { name: "layout", type: "exdLayout", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -21447,7 +21349,7 @@ const Profile = { name: "screenEnabled", type: "bool", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -21469,7 +21371,7 @@ const Profile = { name: "screenIndex", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -21484,7 +21386,7 @@ const Profile = { name: "conceptField", type: "byte", baseType: "byte", - array: "false", + array: false, scale: [1, 1, ], offset: [0, 0, ], units: ["", "", ], @@ -21499,7 +21401,7 @@ const Profile = { name: "fieldId", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -21514,7 +21416,7 @@ const Profile = { name: "conceptCount", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -21529,7 +21431,7 @@ const Profile = { name: "displayType", type: "exdDisplayType", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -21544,7 +21446,7 @@ const Profile = { name: "title", type: "string", baseType: "string", - array: "true", + array: true, scale: 1, offset: 0, units: "", @@ -21566,7 +21468,7 @@ const Profile = { name: "screenIndex", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -21581,7 +21483,7 @@ const Profile = { name: "conceptField", type: "byte", baseType: "byte", - array: "false", + array: false, scale: [1, 1, ], offset: [0, 0, ], units: ["", "", ], @@ -21596,7 +21498,7 @@ const Profile = { name: "fieldId", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -21611,7 +21513,7 @@ const Profile = { name: "conceptIndex", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -21626,7 +21528,7 @@ const Profile = { name: "dataPage", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -21641,7 +21543,7 @@ const Profile = { name: "conceptKey", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -21656,7 +21558,7 @@ const Profile = { name: "scaling", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -21671,7 +21573,7 @@ const Profile = { name: "dataUnits", type: "exdDataUnits", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -21686,7 +21588,7 @@ const Profile = { name: "qualifier", type: "exdQualifiers", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -21701,7 +21603,7 @@ const Profile = { name: "descriptor", type: "exdDescriptors", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -21716,7 +21618,7 @@ const Profile = { name: "isSigned", type: "bool", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -21738,7 +21640,7 @@ const Profile = { name: "timestamp", type: "dateTime", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "s", @@ -21753,7 +21655,7 @@ const Profile = { name: "referenceMesg", type: "mesgNum", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -21768,7 +21670,7 @@ const Profile = { name: "referenceIndex", type: "messageIndex", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -21783,7 +21685,7 @@ const Profile = { name: "avgDepth", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 1000, offset: 0, units: "m", @@ -21798,7 +21700,7 @@ const Profile = { name: "maxDepth", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 1000, offset: 0, units: "m", @@ -21813,7 +21715,7 @@ const Profile = { name: "surfaceInterval", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "s", @@ -21828,7 +21730,7 @@ const Profile = { name: "startCns", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "percent", @@ -21843,7 +21745,7 @@ const Profile = { name: "endCns", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "percent", @@ -21858,7 +21760,7 @@ const Profile = { name: "startN2", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "percent", @@ -21873,7 +21775,7 @@ const Profile = { name: "endN2", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "percent", @@ -21888,7 +21790,7 @@ const Profile = { name: "o2Toxicity", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "OTUs", @@ -21903,7 +21805,7 @@ const Profile = { name: "diveNumber", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -21918,7 +21820,7 @@ const Profile = { name: "bottomTime", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 1000, offset: 0, units: "s", @@ -21933,7 +21835,7 @@ const Profile = { name: "avgPressureSac", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 100, offset: 0, units: "bar/min", @@ -21948,7 +21850,7 @@ const Profile = { name: "avgVolumeSac", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 100, offset: 0, units: "L/min", @@ -21963,7 +21865,7 @@ const Profile = { name: "avgRmv", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 100, offset: 0, units: "L/min", @@ -21978,7 +21880,7 @@ const Profile = { name: "descentTime", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 1000, offset: 0, units: "s", @@ -21993,7 +21895,7 @@ const Profile = { name: "ascentTime", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 1000, offset: 0, units: "s", @@ -22008,7 +21910,7 @@ const Profile = { name: "avgAscentRate", type: "sint32", baseType: "sint32", - array: "false", + array: false, scale: 1000, offset: 0, units: "m/s", @@ -22023,7 +21925,7 @@ const Profile = { name: "avgDescentRate", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 1000, offset: 0, units: "m/s", @@ -22038,7 +21940,7 @@ const Profile = { name: "maxAscentRate", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 1000, offset: 0, units: "m/s", @@ -22053,7 +21955,7 @@ const Profile = { name: "maxDescentRate", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 1000, offset: 0, units: "m/s", @@ -22068,7 +21970,7 @@ const Profile = { name: "hangTime", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 1000, offset: 0, units: "s", @@ -22090,7 +21992,7 @@ const Profile = { name: "timestamp", type: "dateTime", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -22105,7 +22007,7 @@ const Profile = { name: "time", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "s", @@ -22120,7 +22022,7 @@ const Profile = { name: "energyTotal", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -22135,7 +22037,7 @@ const Profile = { name: "zeroCrossCnt", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -22150,7 +22052,7 @@ const Profile = { name: "instance", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -22165,7 +22067,7 @@ const Profile = { name: "timeAboveThreshold", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 25, offset: 0, units: "s", @@ -22187,7 +22089,7 @@ const Profile = { name: "time", type: "uint16", baseType: "uint16", - array: "true", + array: true, scale: 1000, offset: 0, units: "s", @@ -22209,7 +22111,7 @@ const Profile = { name: "timestamp", type: "dateTime", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -22224,7 +22126,7 @@ const Profile = { name: "timestampMs", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "ms", @@ -22239,7 +22141,7 @@ const Profile = { name: "time", type: "uint16", baseType: "uint16", - array: "true", + array: true, scale: 1, offset: 0, units: "ms", @@ -22261,7 +22163,7 @@ const Profile = { name: "timestamp", type: "dateTime", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -22276,7 +22178,7 @@ const Profile = { name: "weeklyAverage", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 128, offset: 0, units: "ms", @@ -22291,7 +22193,7 @@ const Profile = { name: "lastNightAverage", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 128, offset: 0, units: "ms", @@ -22306,7 +22208,7 @@ const Profile = { name: "lastNight5MinHigh", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 128, offset: 0, units: "ms", @@ -22321,7 +22223,7 @@ const Profile = { name: "baselineLowUpper", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 128, offset: 0, units: "ms", @@ -22336,7 +22238,7 @@ const Profile = { name: "baselineBalancedLower", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 128, offset: 0, units: "ms", @@ -22351,7 +22253,7 @@ const Profile = { name: "baselineBalancedUpper", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 128, offset: 0, units: "ms", @@ -22366,7 +22268,7 @@ const Profile = { name: "status", type: "hrvStatus", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -22388,7 +22290,7 @@ const Profile = { name: "timestamp", type: "dateTime", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -22403,7 +22305,7 @@ const Profile = { name: "value", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 128, offset: 0, units: "ms", @@ -22425,7 +22327,7 @@ const Profile = { name: "timestamp", type: "dateTime", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -22440,7 +22342,7 @@ const Profile = { name: "timestampMs", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "ms", @@ -22455,7 +22357,7 @@ const Profile = { name: "data", type: "uint16", baseType: "uint16", - array: "true", + array: true, scale: [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, ], offset: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ], units: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", ], @@ -22470,7 +22372,7 @@ const Profile = { name: "time", type: "uint16", baseType: "uint16", - array: "true", + array: true, scale: 1, offset: 0, units: "ms", @@ -22485,7 +22387,7 @@ const Profile = { name: "quality", type: "uint8", baseType: "uint8", - array: "true", + array: true, scale: 1, offset: 0, units: "", @@ -22500,7 +22402,7 @@ const Profile = { name: "gap", type: "uint8", baseType: "uint8", - array: "true", + array: true, scale: 1, offset: 0, units: "", @@ -22522,7 +22424,7 @@ const Profile = { name: "timestamp", type: "dateTime", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -22537,7 +22439,7 @@ const Profile = { name: "respirationRate", type: "sint16", baseType: "sint16", - array: "false", + array: false, scale: 100, offset: 0, units: "breaths/min", @@ -22559,7 +22461,7 @@ const Profile = { name: "timestamp", type: "dateTime", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -22574,7 +22476,7 @@ const Profile = { name: "minSpeed", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 1000, offset: 0, units: "m/s", @@ -22589,7 +22491,7 @@ const Profile = { name: "maxSpeed", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 1000, offset: 0, units: "m/s", @@ -22604,7 +22506,7 @@ const Profile = { name: "avgSpeed", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 1000, offset: 0, units: "m/s", @@ -22619,7 +22521,7 @@ const Profile = { name: "shotCount", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -22634,7 +22536,7 @@ const Profile = { name: "projectileType", type: "projectileType", baseType: "enum", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -22649,7 +22551,7 @@ const Profile = { name: "grainWeight", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 10, offset: 0, units: "gr", @@ -22664,7 +22566,7 @@ const Profile = { name: "standardDeviation", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 1000, offset: 0, units: "m/s", @@ -22686,7 +22588,7 @@ const Profile = { name: "timestamp", type: "dateTime", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -22701,7 +22603,7 @@ const Profile = { name: "shotSpeed", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 1000, offset: 0, units: "m/s", @@ -22716,7 +22618,7 @@ const Profile = { name: "shotNum", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -22738,7 +22640,7 @@ const Profile = { name: "timestamp", type: "dateTime", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "s", @@ -22753,7 +22655,7 @@ const Profile = { name: "sensor", type: "antChannelId", baseType: "uint32z", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -22768,7 +22670,7 @@ const Profile = { name: "pressure", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 100, offset: 0, units: "bar", @@ -22790,7 +22692,7 @@ const Profile = { name: "timestamp", type: "dateTime", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "s", @@ -22805,7 +22707,7 @@ const Profile = { name: "sensor", type: "antChannelId", baseType: "uint32z", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -22820,7 +22722,7 @@ const Profile = { name: "startPressure", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 100, offset: 0, units: "bar", @@ -22835,7 +22737,7 @@ const Profile = { name: "endPressure", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 100, offset: 0, units: "bar", @@ -22850,7 +22752,7 @@ const Profile = { name: "volumeUsed", type: "uint32", baseType: "uint32", - array: "false", + array: false, scale: 100, offset: 0, units: "L", @@ -22872,7 +22774,7 @@ const Profile = { name: "combinedAwakeScore", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -22887,7 +22789,7 @@ const Profile = { name: "awakeTimeScore", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -22902,7 +22804,7 @@ const Profile = { name: "awakeningsCountScore", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -22917,7 +22819,7 @@ const Profile = { name: "deepSleepScore", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -22932,7 +22834,7 @@ const Profile = { name: "sleepDurationScore", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -22947,7 +22849,7 @@ const Profile = { name: "lightSleepScore", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -22962,7 +22864,7 @@ const Profile = { name: "overallSleepScore", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -22977,7 +22879,7 @@ const Profile = { name: "sleepQualityScore", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -22992,7 +22894,7 @@ const Profile = { name: "sleepRecoveryScore", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -23007,7 +22909,7 @@ const Profile = { name: "remSleepScore", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -23022,7 +22924,7 @@ const Profile = { name: "sleepRestlessnessScore", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -23037,7 +22939,7 @@ const Profile = { name: "awakeningsCount", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -23052,7 +22954,7 @@ const Profile = { name: "interruptionsScore", type: "uint8", baseType: "uint8", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -23067,7 +22969,7 @@ const Profile = { name: "averageStressDuringSleep", type: "uint16", baseType: "uint16", - array: "false", + array: false, scale: 100, offset: 0, units: "", @@ -23089,7 +22991,7 @@ const Profile = { name: "timestamp", type: "dateTime", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -23104,7 +23006,7 @@ const Profile = { name: "localTimestamp", type: "localDateTime", baseType: "uint32", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -23119,7 +23021,7 @@ const Profile = { name: "averageDeviation", type: "float32", baseType: "float32", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -23134,7 +23036,7 @@ const Profile = { name: "average7DayDeviation", type: "float32", baseType: "float32", - array: "false", + array: false, scale: 1, offset: 0, units: "", @@ -23149,7 +23051,7 @@ const Profile = { name: "nightlyValue", type: "float32", baseType: "float32", - array: "false", + array: false, scale: 1, offset: 0, units: "", diff --git a/src/stream.js b/src/stream.js index 10f6bc4..f9b98a2 100644 --- a/src/stream.js +++ b/src/stream.js @@ -5,8 +5,8 @@ // Transfer (FIT) Protocol License. ///////////////////////////////////////////////////////////////////////////////////////////// // ****WARNING**** This file is auto-generated! Do NOT edit this file. -// Profile Version = 21.169.0Release -// Tag = production/release/21.169.0-0-g7105132 +// Profile Version = 21.170.0Release +// Tag = production/release/21.170.0-0-g5991e72 ///////////////////////////////////////////////////////////////////////////////////////////// diff --git a/src/utils-hr-mesg.js b/src/utils-hr-mesg.js index 28f417c..cbadbd1 100644 --- a/src/utils-hr-mesg.js +++ b/src/utils-hr-mesg.js @@ -5,8 +5,8 @@ // Transfer (FIT) Protocol License. ///////////////////////////////////////////////////////////////////////////////////////////// // ****WARNING**** This file is auto-generated! Do NOT edit this file. -// Profile Version = 21.169.0Release -// Tag = production/release/21.169.0-0-g7105132 +// Profile Version = 21.170.0Release +// Tag = production/release/21.170.0-0-g5991e72 ///////////////////////////////////////////////////////////////////////////////////////////// diff --git a/src/utils-internal.js b/src/utils-internal.js index a3de5a6..dc29728 100644 --- a/src/utils-internal.js +++ b/src/utils-internal.js @@ -5,8 +5,8 @@ // Transfer (FIT) Protocol License. ///////////////////////////////////////////////////////////////////////////////////////////// // ****WARNING**** This file is auto-generated! Do NOT edit this file. -// Profile Version = 21.169.0Release -// Tag = production/release/21.169.0-0-g7105132 +// Profile Version = 21.170.0Release +// Tag = production/release/21.170.0-0-g5991e72 ///////////////////////////////////////////////////////////////////////////////////////////// diff --git a/src/utils-memo-glob.js b/src/utils-memo-glob.js index 58b02cd..90dc209 100644 --- a/src/utils-memo-glob.js +++ b/src/utils-memo-glob.js @@ -5,8 +5,8 @@ // Transfer (FIT) Protocol License. ///////////////////////////////////////////////////////////////////////////////////////////// // ****WARNING**** This file is auto-generated! Do NOT edit this file. -// Profile Version = 21.169.0Release -// Tag = production/release/21.169.0-0-g7105132 +// Profile Version = 21.170.0Release +// Tag = production/release/21.170.0-0-g5991e72 ///////////////////////////////////////////////////////////////////////////////////////////// import Profile from "./profile.js"; diff --git a/src/utils.js b/src/utils.js index 38c72ef..12674ff 100644 --- a/src/utils.js +++ b/src/utils.js @@ -5,11 +5,13 @@ // Transfer (FIT) Protocol License. ///////////////////////////////////////////////////////////////////////////////////////////// // ****WARNING**** This file is auto-generated! Do NOT edit this file. -// Profile Version = 21.169.0Release -// Tag = production/release/21.169.0-0-g7105132 +// Profile Version = 21.170.0Release +// Tag = production/release/21.170.0-0-g5991e72 ///////////////////////////////////////////////////////////////////////////////////////////// +import FIT from "./fit.js"; + /** * The millisecond offset between UNIX and FIT Epochs (631065600000). * @const {number} @@ -34,33 +36,11 @@ const convertDateToDateTime = (date) => { return (date.getTime() - FIT_EPOCH_MS) / 1000; }; - -/** - * FIT Base Type enum, for use with Developer Data Field Descriptions - */ -const FitBaseType = Object.freeze({ - enum: 0, - sint8: 1, - uint8: 2, - sint16: 131, - uint16: 132, - sint32: 133, - uint32: 134, - string: 7, - float32: 136, - float64: 137, - uint8z: 10, - uint16z: 139, - uint32z: 140, - byte: 13, - sint64: 142, - uint64: 143, - uint64z: 144, -}); - export default { FIT_EPOCH_MS, convertDateTimeToDate, convertDateToDateTime, - FitBaseType, + FitBaseType: FIT.BaseType, + BaseTypeToFieldType: FIT.BaseTypeToFieldType, + FieldTypeToBaseType: FIT.FieldTypeToBaseType, }; diff --git a/test/encode-activity-recipe.test.js b/test/encode-activity-recipe.test.js index 5a177be..b214e59 100644 --- a/test/encode-activity-recipe.test.js +++ b/test/encode-activity-recipe.test.js @@ -33,7 +33,7 @@ test("Can encode a FIT Activity file", () => { mesgNum: Profile.MesgNum.FIELD_DESCRIPTION, developerDataIndex: 0, fieldDefinitionNumber: 0, - fitBaseTypeId: Utils.FitBaseType.float32, + fitBaseTypeId: Utils.FitBaseType.FLOAT32, fieldName: "Doughnuts Earned", units: "doughnuts", nativeMesgNum: Profile.MesgNum.SESSION, @@ -44,7 +44,7 @@ test("Can encode a FIT Activity file", () => { mesgNum: Profile.MesgNum.FIELD_DESCRIPTION, developerDataIndex: 0, fieldDefinitionNumber: 1, - fitBaseTypeId: Utils.FitBaseType.uint8, + fitBaseTypeId: Utils.FitBaseType.UINT8, fieldName: "Heart Rate", units: "bpm", nativeMesgNum: Profile.MesgNum.RECORD, diff --git a/test/encoder.test.js b/test/encoder.test.js index 2b4c6db..76adba6 100644 --- a/test/encoder.test.js +++ b/test/encoder.test.js @@ -175,7 +175,7 @@ describe("Encoder Tests", () => { describe("Encoder-Decoder Integration Tests", () => { const DECODER_OPTIONS = { - convertDateTimesToDates: false, + convertDateTimesToDates: false, }; test("Can decode encoded file", () => { @@ -223,7 +223,7 @@ describe("Encoder-Decoder Integration Tests", () => { 6.5234375, 7.2392578125, 7.9697265625, - ]; + ]; try { const encoder = new Encoder(); @@ -248,5 +248,37 @@ describe("Encoder-Decoder Integration Tests", () => { throw error; } }); + + test("Encoder should round numeric, non-floating point fields with scale or offset", () => { + const recordMesg = { + timestamp: 1112368427, + heartRate: 123.56, + speed: 1.019, + distance: 10.789, + } + + const encoder = new Encoder(); + encoder.onMesg(Profile.MesgNum.RECORD, recordMesg); + + const stream = Stream.fromByteArray(encoder.close()); + + const decoder = new Decoder(stream); + + const { messages, errors, } = decoder.read(DECODER_OPTIONS); + + expect(errors.length).toBe(0); + expect(messages.recordMesgs.length).toBe(1); + + const decodedRecordMesg = messages.recordMesgs[0]; + + // An integer field with no scale or offset should be truncated + expect(decodedRecordMesg.heartRate).toEqual(123); + + // An integer field with scale and offset should be rounded 1078.9 -(encoded)-> 1079 -(decoded)-> 10.79 + expect(decodedRecordMesg.distance).toEqual(10.79); + + expect(decodedRecordMesg.speed).toEqual(recordMesg.speed); + expect(decodedRecordMesg.enhancedSpeed).toEqual(recordMesg.speed); + }); });