fit 0.2.0

A small crate used for reading and decoding FIT files generated by sports devices.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
Message Name;Field Def #;Field Name;Field Type;Array;Components;Scale;Offset;Units;Bits;Accumulate;Ref Field Name;Ref Field Value;Comment;Products:;EXAMPLE;;;
;;;COMMON MESSAGES;;;;;;;;;;;;;;;
file_id;;;;;;;;;;;;;Must be first message in file.;;;;;
;0;type;file;;;;;;;;;;;;1;;;
;1;manufacturer;manufacturer;;;;;;;;;;;;1;;;
;2;product;uint16;;;;;;;;;;;;1;;;
;;favero_product;favero_product;;;;;;;;manufacturer;favero_electronics;;;;;;
;;garmin_product;garmin_product;;;;;;;;"manufacturer,
manufacturer,
manufacturer";"garmin,
dynastream,
dynastream_oem";;;1;;;
;3;serial_number;uint32z;;;;;;;;;;;;1;;;
;4;time_created;date_time;;;;;;;;;;Only set for files that are can be created/erased.;;1;;;
;5;number;uint16;;;;;;;;;;Only set for files that are not created/erased.;;1;;;
;8;product_name;string;;;;;;;;;;Optional free form string to indicate the devices name or model;;20;;;
;;;;;;;;;;;;;;;;;;
file_creator;;;;;;;;;;;;;;;;;;
;0;software_version;uint16;;;;;;;;;;;;1;;;
;1;hardware_version;uint8;;;;;;;;;;;;1;;;
;;;;;;;;;;;;;;;;;;
timestamp_correlation;;;;;;;;;;;;;;;;;;
;253;timestamp;date_time;;;;;s;;;;;Whole second part of UTC timestamp at the time the system timestamp was recorded.;;;;;
;0;fractional_timestamp;uint16;;;32768;;s;;;;;Fractional part of the UTC timestamp at the time the system timestamp was recorded.;;;;;
;1;system_timestamp;date_time;;;;;s;;;;;Whole second part of the system timestamp;;;;;
;2;fractional_system_timestamp;uint16;;;32768;;s;;;;;Fractional part of the system timestamp;;;;;
;3;local_timestamp;local_date_time;;;;;s;;;;;timestamp epoch expressed in local time used to convert timestamps to local time;;;;;
;4;timestamp_ms;uint16;;;;;ms;;;;;Millisecond part of the UTC timestamp at the time the system timestamp was recorded.;;;;;
;5;system_timestamp_ms;uint16;;;;;ms;;;;;Millisecond part of the system timestamp;;;;;
;;;;;;;;;;;;;;;;;;
;;;DEVICE FILE MESSAGES;;;;;;;;;;;;;;;
software;;;;;;;;;;;;;;;;;;
;254;message_index;message_index;;;;;;;;;;;;1;;;
;3;version;uint16;;;100;;;;;;;;;1;;;
;5;part_number;string;;;;;;;;;;;;16;;;
;;;;;;;;;;;;;;;;;;
slave_device;;;;;;;;;;;;;;;;;;
;0;manufacturer;manufacturer;;;;;;;;;;;;1;;;
;1;product;uint16;;;;;;;;;;;;1;;;
;;favero_product;favero_product;;;;;;;;manufacturer;favero_electronics;;;;;;
;;garmin_product;garmin_product;;;;;;;;"manufacturer,
manufacturer,
manufacturer";"garmin,
dynastream,
dynastream_oem";;;1;;;
;;;;;;;;;;;;;;;;;;
capabilities;;;;;;;;;;;;;;;;;;
;0;languages;uint8z;[N];;;;;;;;;Use language_bits_x types where x is index of array.;;4;;;
;1;sports;sport_bits_0;[N];;;;;;;;;Use sport_bits_x types where x is index of array.;;1;;;
;21;workouts_supported;workout_capabilities;;;;;;;;;;;;1;;;
;23;connectivity_supported;connectivity_capabilities;;;;;;;;;;;;1;;;
;;;;;;;;;;;;;;;;;;
file_capabilities;;;;;;;;;;;;;;;;;;
;254;message_index;message_index;;;;;;;;;;;;1;;;
;0;type;file;;;;;;;;;;;;1;;;
;1;flags;file_flags;;;;;;;;;;;;1;;;
;2;directory;string;;;;;;;;;;;;16;;;
;3;max_count;uint16;;;;;;;;;;;;1;;;
;4;max_size;uint32;;;;;bytes;;;;;;;1;;;
;;;;;;;;;;;;;;;;;;
mesg_capabilities;;;;;;;;;;;;;;;;;;
;254;message_index;message_index;;;;;;;;;;;;1;;;
;0;file;file;;;;;;;;;;;;1;;;
;1;mesg_num;mesg_num;;;;;;;;;;;;1;;;
;2;count_type;mesg_count;;;;;;;;;;;;1;;;
;3;count;uint16;;;;;;;;;;;;1;;;
;;num_per_file;uint16;;;;;;;;count_type;num_per_file;;;1;;;
;;max_per_file;uint16;;;;;;;;count_type;max_per_file;;;1;;;
;;max_per_file_type;uint16;;;;;;;;count_type;max_per_file_type;;;1;;;
;;;;;;;;;;;;;;;;;;
field_capabilities;;;;;;;;;;;;;;;;;;
;254;message_index;message_index;;;;;;;;;;;;1;;;
;0;file;file;;;;;;;;;;;;1;;;
;1;mesg_num;mesg_num;;;;;;;;;;;;1;;;
;2;field_num;uint8;;;;;;;;;;;;1;;;
;3;count;uint16;;;;;;;;;;;;1;;;
;;;;;;;;;;;;;;;;;;
;;;SETTINGS FILE MESSAGES;;;;;;;;;;;;;;;
device_settings;;;;;;;;;;;;;;;;;;
;0;active_time_zone;uint8;;;;;;;;;;Index into time zone arrays.;;1;;;
;1;utc_offset;uint32;;;;;;;;;;Offset from system time. Required to convert timestamp from system time to UTC.;;1;;;
;2;time_offset;uint32;[N];;;;s;;;;;Offset from system time.;;2;;;
;4;time_mode;time_mode;[N];;;;;;;;;Display mode for the time;;2;;;
;5;time_zone_offset;sint8;[N];;4;;hr;;;;;timezone offset in 1/4 hour increments;;2;;;
;12;backlight_mode;backlight_mode;;;;;;;;;;Mode for backlight;;1;;;
;36;activity_tracker_enabled;bool;;;;;;;;;;Enabled state of the activity tracker functionality;;1;;;
;39;clock_time;date_time;;;;;;;;;;UTC timestamp used to set the devices clock and date;;1;;;
;40;pages_enabled;uint16;[N];;;;;;;;;Bitfield  to configure enabled screens for each supported loop;;1;;;
;46;move_alert_enabled;bool;;;;;;;;;;Enabled state of the move alert;;1;;;
;47;date_mode;date_mode;;;;;;;;;;Display mode for the date;;1;;;
;55;display_orientation;display_orientation;;;;;;;;;;;;1;;;
;56;mounting_side;side;;;;;;;;;;;;1;;;
;57;default_page;uint16;[N];;;;;;;;;Bitfield to indicate one page as default for each supported loop;;1;;;
;58;autosync_min_steps;uint16;;;;;steps;;;;;Minimum steps before an autosync can occur;;1;;;
;59;autosync_min_time;uint16;;;;;minutes;;;;;Minimum minutes before an autosync can occur;;1;;;
;80;lactate_threshold_autodetect_enabled;bool;;;;;;;;;;Enable auto-detect setting for the lactate threshold feature.;;;;;
;86;ble_auto_upload_enabled;bool;;;;;;;;;;Automatically upload using BLE;;;;;
;89;auto_sync_frequency;auto_sync_frequency;;;;;;;;;;Helps to conserve battery by changing modes;;;;;
;90;auto_activity_detect;auto_activity_detect;;;;;;;;;;Allows setting specific activities auto-activity detect enabled/disabled settings;;;;;
;94;number_of_screens;uint8;;;;;;;;;;Number of screens configured to display;;;;;
;95;smart_notification_display_orientation;display_orientation;;;;;;;;;;Smart Notification display orientation;;;;;
;134;tap_interface;switch;;;;;;;;;;;;;;;
user_profile;;;;;;;;;;;;;;;;;;
;254;message_index;message_index;;;;;;;;;;;;1;;;
;0;friendly_name;string;;;;;;;;;;;;16;;;
;1;gender;gender;;;;;;;;;;;;1;;;
;2;age;uint8;;;;;years;;;;;;;1;;;
;3;height;uint8;;;100;;m;;;;;;;1;;;
;4;weight;uint16;;;10;;kg;;;;;;;1;;;
;5;language;language;;;;;;;;;;;;1;;;
;6;elev_setting;display_measure;;;;;;;;;;;;1;;;
;7;weight_setting;display_measure;;;;;;;;;;;;1;;;
;8;resting_heart_rate;uint8;;;;;bpm;;;;;;;1;;;
;9;default_max_running_heart_rate;uint8;;;;;bpm;;;;;;;1;;;
;10;default_max_biking_heart_rate;uint8;;;;;bpm;;;;;;;1;;;
;11;default_max_heart_rate;uint8;;;;;bpm;;;;;;;1;;;
;12;hr_setting;display_heart;;;;;;;;;;;;1;;;
;13;speed_setting;display_measure;;;;;;;;;;;;1;;;
;14;dist_setting;display_measure;;;;;;;;;;;;1;;;
;16;power_setting;display_power;;;;;;;;;;;;1;;;
;17;activity_class;activity_class;;;;;;;;;;;;1;;;
;18;position_setting;display_position;;;;;;;;;;;;1;;;
;21;temperature_setting;display_measure;;;;;;;;;;;;1;;;
;22;local_id;user_local_id;;;;;;;;;;;;1;;;
;23;global_id;byte;[6];;;;;;;;;;;1;;;
;28;wake_time;localtime_into_day;;;;;;;;;;Typical wake time;;;;;
;29;sleep_time;localtime_into_day;;;;;;;;;;Typical bed time;;;;;
;30;height_setting;display_measure;;;;;;;;;;;;1;;;
;31;user_running_step_length;uint16;;;1000;;m;;;;;User defined running step length set to 0 for auto length;;1;;;
;32;user_walking_step_length;uint16;;;1000;;m;;;;;User defined walking step length set to 0 for auto length;;1;;;
;47;depth_setting;display_measure;;;;;;;;;;;;;;;
;49;dive_count;uint32;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;
hrm_profile;;;;;;;;;;;;;;;;;;
;254;message_index;message_index;;;;;;;;;;;;1;;;
;0;enabled;bool;;;;;;;;;;;;1;;;
;1;hrm_ant_id;uint16z;;;;;;;;;;;;1;;;
;2;log_hrv;bool;;;;;;;;;;;;1;;;
;3;hrm_ant_id_trans_type;uint8z;;;;;;;;;;;;1;;;
;;;;;;;;;;;;;;;;;;
sdm_profile;;;;;;;;;;;;;;;;;;
;254;message_index;message_index;;;;;;;;;;;;1;;;
;0;enabled;bool;;;;;;;;;;;;1;;;
;1;sdm_ant_id;uint16z;;;;;;;;;;;;1;;;
;2;sdm_cal_factor;uint16;;;10;;%;;;;;;;1;;;
;3;odometer;uint32;;;100;;m;;;;;;;1;;;
;4;speed_source;bool;;;;;;;;;;Use footpod for speed source instead of GPS;;1;;;
;5;sdm_ant_id_trans_type;uint8z;;;;;;;;;;;;1;;;
;7;odometer_rollover;uint8;;;;;;;;;;Rollover counter that can be used to extend the odometer;;1;;;
;;;;;;;;;;;;;;;;;;
bike_profile;;;;;;;;;;;;;;;;;;
;254;message_index;message_index;;;;;;;;;;;;1;;;
;0;name;string;;;;;;;;;;;;16;;;
;1;sport;sport;;;;;;;;;;;;1;;;
;2;sub_sport;sub_sport;;;;;;;;;;;;1;;;
;3;odometer;uint32;;;100;;m;;;;;;;1;;;
;4;bike_spd_ant_id;uint16z;;;;;;;;;;;;1;;;
;5;bike_cad_ant_id;uint16z;;;;;;;;;;;;1;;;
;6;bike_spdcad_ant_id;uint16z;;;;;;;;;;;;1;;;
;7;bike_power_ant_id;uint16z;;;;;;;;;;;;1;;;
;8;custom_wheelsize;uint16;;;1000;;m;;;;;;;1;;;
;9;auto_wheelsize;uint16;;;1000;;m;;;;;;;1;;;
;10;bike_weight;uint16;;;10;;kg;;;;;;;1;;;
;11;power_cal_factor;uint16;;;10;;%;;;;;;;1;;;
;12;auto_wheel_cal;bool;;;;;;;;;;;;1;;;
;13;auto_power_zero;bool;;;;;;;;;;;;1;;;
;14;id;uint8;;;;;;;;;;;;1;;;
;15;spd_enabled;bool;;;;;;;;;;;;1;;;
;16;cad_enabled;bool;;;;;;;;;;;;1;;;
;17;spdcad_enabled;bool;;;;;;;;;;;;1;;;
;18;power_enabled;bool;;;;;;;;;;;;1;;;
;19;crank_length;uint8;;;2;-110;mm;;;;;;;1;;;
;20;enabled;bool;;;;;;;;;;;;1;;;
;21;bike_spd_ant_id_trans_type;uint8z;;;;;;;;;;;;1;;;
;22;bike_cad_ant_id_trans_type;uint8z;;;;;;;;;;;;1;;;
;23;bike_spdcad_ant_id_trans_type;uint8z;;;;;;;;;;;;1;;;
;24;bike_power_ant_id_trans_type;uint8z;;;;;;;;;;;;1;;;
;37;odometer_rollover;uint8;;;;;;;;;;Rollover counter that can be used to extend the odometer;;1;;;
;38;front_gear_num;uint8z;;;;;;;;;;Number of front gears;;1;;;
;39;front_gear;uint8z;[N];;;;;;;;;Number of teeth on each gear 0 is innermost;;1;;;
;40;rear_gear_num;uint8z;;;;;;;;;;Number of rear gears;;1;;;
;41;rear_gear;uint8z;[N];;;;;;;;;Number of teeth on each gear 0 is innermost;;1;;;
;44;shimano_di2_enabled;bool;;;;;;;;;;;;1;;;
;;;;;;;;;;;;;;;;;;
connectivity;;;;;;;;;;;;;;;;;;
;0;bluetooth_enabled;bool;;;;;;;;;;Use Bluetooth for connectivity features;;1;;;
;1;bluetooth_le_enabled;bool;;;;;;;;;;Use Bluetooth Low Energy for connectivity features;;1;;;
;2;ant_enabled;bool;;;;;;;;;;Use ANT for connectivity features;;1;;;
;3;name;string;;;;;;;;;;;;24;;;
;4;live_tracking_enabled;bool;;;;;;;;;;;;1;;;
;5;weather_conditions_enabled;bool;;;;;;;;;;;;1;;;
;6;weather_alerts_enabled;bool;;;;;;;;;;;;1;;;
;7;auto_activity_upload_enabled;bool;;;;;;;;;;;;1;;;
;8;course_download_enabled;bool;;;;;;;;;;;;1;;;
;9;workout_download_enabled;bool;;;;;;;;;;;;1;;;
;10;gps_ephemeris_download_enabled;bool;;;;;;;;;;;;1;;;
;11;incident_detection_enabled;bool;;;;;;;;;;;;1;;;
;12;grouptrack_enabled;bool;;;;;;;;;;;;1;;;
watchface_settings;;;;;;;;;;;;;;;;;;
;254;message_index;message_index;;;;;;;;;;;;;;;
;0;mode;watchface_mode;;;;;;;;;;;;;;;
;1;layout;byte;;;;;;;;;;;;;;;
;;digital_layout;digital_watchface_layout;;;;;;;;mode;digital;;;;;;
;;analog_layout;analog_watchface_layout;;;;;;;;mode;analog;;;;;;
ohr_settings;;;;;;;;;;;;;;;;;;
;253;timestamp;date_time;;;;;s;;;;;;;;;;
;0;enabled;switch;;;;;;;;;;;;;;;
;;;SPORT SETTINGS FILE MESSAGES;;;;;;;;;;;;;;;
zones_target;;;;;;;;;;;;;;;;;;
;1;max_heart_rate;uint8;;;;;;;;;;;;1;;;
;2;threshold_heart_rate;uint8;;;;;;;;;;;;1;;;
;3;functional_threshold_power;uint16;;;;;;;;;;;;1;;;
;5;hr_calc_type;hr_zone_calc;;;;;;;;;;;;1;;;
;7;pwr_calc_type;pwr_zone_calc;;;;;;;;;;;;1;;;
;;;;;;;;;;;;;;;;;;
sport;;;;;;;;;;;;;;;;;;
;0;sport;sport;;;;;;;;;;;;1;;;
;1;sub_sport;sub_sport;;;;;;;;;;;;1;;;
;3;name;string;;;;;;;;;;;;16;;;
;;;;;;;;;;;;;;;;;;
hr_zone;;;;;;;;;;;;;;;;;;
;254;message_index;message_index;;;;;;;;;;;;1;;;
;1;high_bpm;uint8;;;;;bpm;;;;;;;1;;;
;2;name;string;;;;;;;;;;;;16;;;
;;;;;;;;;;;;;;;;;;
speed_zone;;;;;;;;;;;;;;;;;;
;254;message_index;message_index;;;;;;;;;;;;1;;;
;0;high_value;uint16;;;1000;;m/s;;;;;;;1;;;
;1;name;string;;;;;;;;;;;;16;;;
;;;;;;;;;;;;;;;;;;
cadence_zone;;;;;;;;;;;;;;;;;;
;254;message_index;message_index;;;;;;;;;;;;1;;;
;0;high_value;uint8;;;;;rpm;;;;;;;1;;;
;1;name;string;;;;;;;;;;;;16;;;
;;;;;;;;;;;;;;;;;;
power_zone;;;;;;;;;;;;;;;;;;
;254;message_index;message_index;;;;;;;;;;;;1;;;
;1;high_value;uint16;;;;;watts;;;;;;;1;;;
;2;name;string;;;;;;;;;;;;16;;;
;;;;;;;;;;;;;;;;;;
met_zone;;;;;;;;;;;;;;;;;;
;254;message_index;message_index;;;;;;;;;;;;1;;;
;1;high_bpm;uint8;;;;;;;;;;;;1;;;
;2;calories;uint16;;;10;;kcal / min;;;;;;;1;;;
;3;fat_calories;uint8;;;10;;kcal / min;;;;;;;1;;;
;;;;;;;;;;;;;;;;;;
dive_settings;;;;;;;;;;;;;;;;;;
;254;message_index;message_index;;;;;;;;;;;;;;;
;0;name;string;;;;;;;;;;;;16;;;
;1;model;tissue_model_type;;;;;;;;;;;;;;;
;2;gf_low;uint8;;;;;percent;;;;;;;;;;
;3;gf_high;uint8;;;;;percent;;;;;;;;;;
;4;water_type;water_type;;;;;;;;;;;;;;;
;5;water_density;float32;;;;;kg/m^3;;;;;"Fresh water is usually 1000; salt water is usually 1025";;;;;
;6;po2_warn;uint8;;;100;;percent;;;;;Typically 1.40;;;;;
;7;po2_critical;uint8;;;100;;percent;;;;;Typically 1.60;;;;;
;8;po2_deco;uint8;;;100;;percent;;;;;;;;;;
;9;safety_stop_enabled;bool;;;;;;;;;;;;;;;
;10;bottom_depth;float32;;;;;;;;;;;;;;;
;11;bottom_time;uint32;;;;;;;;;;;;;;;
;12;apnea_countdown_enabled;bool;;;;;;;;;;;;;;;
;13;apnea_countdown_time;uint32;;;;;;;;;;;;;;;
;14;backlight_mode;dive_backlight_mode;;;;;;;;;;;;;;;
;15;backlight_brightness;uint8;;;;;;;;;;;;;;;
;16;backlight_timeout;backlight_timeout;;;;;;;;;;;;;;;
;17;repeat_dive_interval;uint16;;;1;;s;;;;;Time between surfacing and ending the activity;;;;;
;18;safety_stop_time;uint16;;;1;;s;;;;;Time at safety stop (if enabled);;;;;
;19;heart_rate_source_type;source_type;;;;;;;;;;;;;;;
;20;heart_rate_source;uint8;;;;;;;;;;;;1;;;
;;heart_rate_antplus_device_type;antplus_device_type;;;;;;;;heart_rate_source_type;antplus;;;1;;;
;;heart_rate_local_device_type;local_device_type;;;;;;;;heart_rate_source_type;local;;;1;;;
dive_alarm;;;;;;;;;;;;;;;;;;
;254;message_index;message_index;;;;;;;;;;Index of the alarm;;;;;
;0;depth;uint32;;;1000;;m;;;;;;;;;;
;1;time;sint32;;;1;;s;;;;;;;;;;
;2;enabled;bool;;;;;;;;;;;;;;;
;3;alarm_type;dive_alarm_type;;;;;;;;;;;;;;;
;4;sound;tone;;;;;;;;;;;;;;;
;5;dive_types;sub_sport;[N];;;;;;;;;;;;;;
dive_gas;;;;;;;;;;;;;;;;;;
;254;message_index;message_index;;;;;;;;;;;;;;;
;0;helium_content;uint8;;;;;percent;;;;;;;;;;
;1;oxygen_content;uint8;;;;;percent;;;;;;;;;;
;2;status;dive_gas_status;;;;;;;;;;;;;;;
;;;GOALS FILE MESSAGES;;;;;;;;;;;;;;;
goal;;;;;;;;;;;;;;;;;;
;254;message_index;message_index;;;;;;;;;;;;1;;;
;0;sport;sport;;;;;;;;;;;;1;;;
;1;sub_sport;sub_sport;;;;;;;;;;;;1;;;
;2;start_date;date_time;;;;;;;;;;;;1;;;
;3;end_date;date_time;;;;;;;;;;;;1;;;
;4;type;goal;;;;;;;;;;;;1;;;
;5;value;uint32;;;;;;;;;;;;1;;;
;6;repeat;bool;;;;;;;;;;;;1;;;
;7;target_value;uint32;;;;;;;;;;;;1;;;
;8;recurrence;goal_recurrence;;;;;;;;;;;;1;;;
;9;recurrence_value;uint16;;;;;;;;;;;;1;;;
;10;enabled;bool;;;;;;;;;;;;1;;;
;11;source;goal_source;;;;;;;;;;;;1;;;
;;;;;;;;;;;;;;;;;;
;;;ACTIVITY FILE MESSAGES;;;;;;;;;;;;;;;
activity;;;;;;;;;;;;;;;;;;
;253;timestamp;date_time;;;;;;;;;;;;1;;;
;0;total_timer_time;uint32;;;1000;;s;;;;;Exclude pauses;;1;;;
;1;num_sessions;uint16;;;;;;;;;;;;1;;;
;2;type;activity;;;;;;;;;;;;1;;;
;3;event;event;;;;;;;;;;;;1;;;
;4;event_type;event_type;;;;;;;;;;;;1;;;
;5;local_timestamp;local_date_time;;;;;;;;;;timestamp epoch expressed in local time, used to convert activity timestamps to local time ;;1;;;
;6;event_group;uint8;;;;;;;;;;;;1;;;
;;;;;;;;;;;;;;;;;;
session;;;;;;;;;;;;;;;;;;
;254;message_index;message_index;;;;;;;;;;Selected bit is set for the current session.;;1;;;
;253;timestamp;date_time;;;;;s;;;;;Sesson end time.;;1;;;
;0;event;event;;;;;;;;;;session;;1;;;
;1;event_type;event_type;;;;;;;;;;stop;;1;;;
;2;start_time;date_time;;;;;;;;;;;;1;;;
;3;start_position_lat;sint32;;;;;semicircles;;;;;;;1;;;
;4;start_position_long;sint32;;;;;semicircles;;;;;;;1;;;
;5;sport;sport;;;;;;;;;;;;1;;;
;6;sub_sport;sub_sport;;;;;;;;;;;;1;;;
;7;total_elapsed_time;uint32;;;1000;;s;;;;;Time (includes pauses);;1;;;
;8;total_timer_time;uint32;;;1000;;s;;;;;Timer Time (excludes pauses);;1;;;
;9;total_distance;uint32;;;100;;m;;;;;;;1;;;
;10;total_cycles;uint32;;;;;cycles;;;;;;;1;;;
;;total_strides;uint32;;;;;strides;;;"sport,
sport";"running,
walking";;;1;;;
;11;total_calories;uint16;;;;;kcal;;;;;;;1;;;
;13;total_fat_calories;uint16;;;;;kcal;;;;;;;1;;;
;14;avg_speed;uint16;;enhanced_avg_speed;1000;;m/s;16;;;;total_distance / total_timer_time;;1;;;
;15;max_speed;uint16;;enhanced_max_speed;1000;;m/s;16;;;;;;1;;;
;16;avg_heart_rate;uint8;;;;;bpm;;;;;average heart rate (excludes pause time);;1;;;
;17;max_heart_rate;uint8;;;;;bpm;;;;;;;1;;;
;18;avg_cadence;uint8;;;;;rpm;;;;;total_cycles / total_timer_time if non_zero_avg_cadence otherwise total_cycles / total_elapsed_time;;1;;;
;;avg_running_cadence;uint8;;;;;strides/min;;;sport;running;;;1;;;
;19;max_cadence;uint8;;;;;rpm;;;;;;;1;;;
;;max_running_cadence;uint8;;;;;strides/min;;;sport;running;;;1;;;
;20;avg_power;uint16;;;;;watts;;;;;total_power / total_timer_time if non_zero_avg_power otherwise total_power / total_elapsed_time;;1;;;
;21;max_power;uint16;;;;;watts;;;;;;;1;;;
;22;total_ascent;uint16;;;;;m;;;;;;;1;;;
;23;total_descent;uint16;;;;;m;;;;;;;1;;;
;24;total_training_effect;uint8;;;10;;;;;;;;;1;;;
;25;first_lap_index;uint16;;;;;;;;;;;;1;;;
;26;num_laps;uint16;;;;;;;;;;;;1;;;
;27;event_group;uint8;;;;;;;;;;;;1;;;
;28;trigger;session_trigger;;;;;;;;;;;;1;;;
;29;nec_lat;sint32;;;;;semicircles;;;;;;;1;;;
;30;nec_long;sint32;;;;;semicircles;;;;;;;1;;;
;31;swc_lat;sint32;;;;;semicircles;;;;;;;1;;;
;32;swc_long;sint32;;;;;semicircles;;;;;;;1;;;
;34;normalized_power;uint16;;;;;watts;;;;;;;1;;;
;35;training_stress_score;uint16;;;10;;tss;;;;;;;1;;;
;36;intensity_factor;uint16;;;1000;;if;;;;;;;1;;;
;37;left_right_balance;left_right_balance_100;;;;;;;;;;;;1;;;
;41;avg_stroke_count;uint32;;;10;;strokes/lap;;;;;;;1;;;
;42;avg_stroke_distance;uint16;;;100;;m;;;;;;;1;;;
;43;swim_stroke;swim_stroke;;;;;swim_stroke;;;;;;;1;;;
;44;pool_length;uint16;;;100;;m;;;;;;;1;;;
;45;threshold_power;uint16;;;;;watts;;;;;;;1;;;
;46;pool_length_unit;display_measure;;;;;;;;;;;;1;;;
;47;num_active_lengths;uint16;;;;;lengths;;;;;# of active lengths of swim pool;;1;;;
;48;total_work;uint32;;;;;J;;;;;;;1;;;
;49;avg_altitude;uint16;;enhanced_avg_altitude;5;500;m;16;;;;;;1;;;
;50;max_altitude;uint16;;enhanced_max_altitude;5;500;m;16;;;;;;1;;;
;51;gps_accuracy;uint8;;;;;m;;;;;;;1;;;
;52;avg_grade;sint16;;;100;;%;;;;;;;1;;;
;53;avg_pos_grade;sint16;;;100;;%;;;;;;;1;;;
;54;avg_neg_grade;sint16;;;100;;%;;;;;;;1;;;
;55;max_pos_grade;sint16;;;100;;%;;;;;;;1;;;
;56;max_neg_grade;sint16;;;100;;%;;;;;;;1;;;
;57;avg_temperature;sint8;;;;;C;;;;;;;1;;;
;58;max_temperature;sint8;;;;;C;;;;;;;1;;;
;59;total_moving_time;uint32;;;1000;;s;;;;;;;1;;;
;60;avg_pos_vertical_speed;sint16;;;1000;;m/s;;;;;;;1;;;
;61;avg_neg_vertical_speed;sint16;;;1000;;m/s;;;;;;;1;;;
;62;max_pos_vertical_speed;sint16;;;1000;;m/s;;;;;;;1;;;
;63;max_neg_vertical_speed;sint16;;;1000;;m/s;;;;;;;1;;;
;64;min_heart_rate;uint8;;;;;bpm;;;;;;;1;;;
;65;time_in_hr_zone;uint32;[N];;1000;;s;;;;;;;1;;;
;66;time_in_speed_zone;uint32;[N];;1000;;s;;;;;;;1;;;
;67;time_in_cadence_zone;uint32;[N];;1000;;s;;;;;;;1;;;
;68;time_in_power_zone;uint32;[N];;1000;;s;;;;;;;1;;;
;69;avg_lap_time;uint32;;;1000;;s;;;;;;;1;;;
;70;best_lap_index;uint16;;;;;;;;;;;;1;;;
;71;min_altitude;uint16;;enhanced_min_altitude;5;500;m;16;;;;;;1;;;
;82;player_score;uint16;;;;;;;;;;;;1;;;
;83;opponent_score;uint16;;;;;;;;;;;;1;;;
;84;opponent_name;string;;;;;;;;;;;;1;;;
;85;stroke_count;uint16;[N];;;;counts;;;;;stroke_type enum used as the index;;1;;;
;86;zone_count;uint16;[N];;;;counts;;;;;zone number used as the index;;1;;;
;87;max_ball_speed;uint16;;;100;;m/s;;;;;;;1;;;
;88;avg_ball_speed;uint16;;;100;;m/s;;;;;;;1;;;
;89;avg_vertical_oscillation;uint16;;;10;;mm;;;;;;;1;;;
;90;avg_stance_time_percent;uint16;;;100;;percent;;;;;;;1;;;
;91;avg_stance_time;uint16;;;10;;ms;;;;;;;1;;;
;92;avg_fractional_cadence;uint8;;;128;;rpm;;;;;fractional part of the avg_cadence;;1;;;
;93;max_fractional_cadence;uint8;;;128;;rpm;;;;;fractional part of the max_cadence;;1;;;
;94;total_fractional_cycles;uint8;;;128;;cycles;;;;;fractional part of the total_cycles;;1;;;
;95;avg_total_hemoglobin_conc;uint16;[N];;100;;g/dL;;;;;Avg saturated and unsaturated hemoglobin;;;;;
;96;min_total_hemoglobin_conc;uint16;[N];;100;;g/dL;;;;;Min saturated and unsaturated hemoglobin;;;;;
;97;max_total_hemoglobin_conc;uint16;[N];;100;;g/dL;;;;;Max saturated and unsaturated hemoglobin;;;;;
;98;avg_saturated_hemoglobin_percent;uint16;[N];;10;;%;;;;;Avg percentage of hemoglobin saturated with oxygen;;;;;
;99;min_saturated_hemoglobin_percent;uint16;[N];;10;;%;;;;;Min percentage of hemoglobin saturated with oxygen;;;;;
;100;max_saturated_hemoglobin_percent;uint16;[N];;10;;%;;;;;Max percentage of hemoglobin saturated with oxygen;;;;;
;101;avg_left_torque_effectiveness;uint8;;;2;;percent;;;;;;;;;;
;102;avg_right_torque_effectiveness;uint8;;;2;;percent;;;;;;;;;;
;103;avg_left_pedal_smoothness;uint8;;;2;;percent;;;;;;;;;;
;104;avg_right_pedal_smoothness;uint8;;;2;;percent;;;;;;;;;;
;105;avg_combined_pedal_smoothness;uint8;;;2;;percent;;;;;;;;;;
;111;sport_index;uint8;;;;;;;;;;;;1;;;
;112;time_standing;uint32;;;1000;;s;;;;;Total time spend in the standing position;;;;;
;113;stand_count;uint16;;;;;;;;;;Number of transitions to the standing state;;;;;
;114;avg_left_pco;sint8;;;;;mm;;;;;Average platform center offset Left;;;;;
;115;avg_right_pco;sint8;;;;;mm;;;;;Average platform center offset Right;;;;;
;116;avg_left_power_phase;uint8;[N];;0.7111111;;degrees;;;;;Average left power phase angles. Indexes defined by power_phase_type.;;;;;
;117;avg_left_power_phase_peak;uint8;[N];;0.7111111;;degrees;;;;;Average left power phase peak angles. Data value indexes defined by power_phase_type.;;;;;
;118;avg_right_power_phase;uint8;[N];;0.7111111;;degrees;;;;;Average right power phase angles. Data value indexes defined by power_phase_type.;;;;;
;119;avg_right_power_phase_peak;uint8;[N];;0.7111111;;degrees;;;;;Average right power phase peak angles data value indexes  defined by power_phase_type.;;;;;
;120;avg_power_position;uint16;[N];;;;watts;;;;;Average power by position. Data value indexes defined by rider_position_type.;;;;;
;121;max_power_position;uint16;[N];;;;watts;;;;;Maximum power by position. Data value indexes defined by rider_position_type.;;;;;
;122;avg_cadence_position;uint8;[N];;;;rpm;;;;;Average cadence by position. Data value indexes defined by rider_position_type.;;;;;
;123;max_cadence_position;uint8;[N];;;;rpm;;;;;Maximum cadence by position. Data value indexes defined by rider_position_type.;;;;;
;124;enhanced_avg_speed;uint32;;;1000;;m/s;;;;;total_distance / total_timer_time;;1;;;
;125;enhanced_max_speed;uint32;;;1000;;m/s;;;;;;;1;;;
;126;enhanced_avg_altitude;uint32;;;5;500;m;;;;;;;1;;;
;127;enhanced_min_altitude;uint32;;;5;500;m;;;;;;;1;;;
;128;enhanced_max_altitude;uint32;;;5;500;m;;;;;;;1;;;
;129;avg_lev_motor_power;uint16;;;;;watts;;;;;lev average motor power during session;;;;;
;130;max_lev_motor_power;uint16;;;;;watts;;;;;lev maximum motor power during session;;;;;
;131;lev_battery_consumption;uint8;;;2;;percent;;;;;lev battery consumption during session;;;;;
;132;avg_vertical_ratio;uint16;;;100;;percent;;;;;;;;;;
;133;avg_stance_time_balance;uint16;;;100;;percent;;;;;;;;;;
;134;avg_step_length;uint16;;;10;;mm;;;;;;;;;;
;137;total_anaerobic_training_effect;uint8;;;10;;;;;;;;;1;;;
;139;avg_vam;uint16;;;1000;;m/s;16;;;;;;1;;;
lap;;;;;;;;;;;;;;;;;;
;254;message_index;message_index;;;;;;;;;;;;1;;;
;253;timestamp;date_time;;;;;s;;;;;Lap end time.;;1;;;
;0;event;event;;;;;;;;;;;;1;;;
;1;event_type;event_type;;;;;;;;;;;;1;;;
;2;start_time;date_time;;;;;;;;;;;;1;;;
;3;start_position_lat;sint32;;;;;semicircles;;;;;;;1;;;
;4;start_position_long;sint32;;;;;semicircles;;;;;;;1;;;
;5;end_position_lat;sint32;;;;;semicircles;;;;;;;1;;;
;6;end_position_long;sint32;;;;;semicircles;;;;;;;1;;;
;7;total_elapsed_time;uint32;;;1000;;s;;;;;Time (includes pauses);;1;;;
;8;total_timer_time;uint32;;;1000;;s;;;;;Timer Time (excludes pauses);;1;;;
;9;total_distance;uint32;;;100;;m;;;;;;;1;;;
;10;total_cycles;uint32;;;;;cycles;;;;;;;1;;;
;;total_strides;uint32;;;;;strides;;;"sport,
sport";"running,
walking";;;1;;;
;11;total_calories;uint16;;;;;kcal;;;;;;;1;;;
;12;total_fat_calories;uint16;;;;;kcal;;;;;If New Leaf;;1;;;
;13;avg_speed;uint16;;enhanced_avg_speed;1000;;m/s;16;;;;;;1;;;
;14;max_speed;uint16;;enhanced_max_speed;1000;;m/s;16;;;;;;1;;;
;15;avg_heart_rate;uint8;;;;;bpm;;;;;;;1;;;
;16;max_heart_rate;uint8;;;;;bpm;;;;;;;1;;;
;17;avg_cadence;uint8;;;;;rpm;;;;;total_cycles / total_timer_time if non_zero_avg_cadence otherwise total_cycles / total_elapsed_time;;1;;;
;;avg_running_cadence;uint8;;;;;strides/min;;;sport;running;;;1;;;
;18;max_cadence;uint8;;;;;rpm;;;;;;;1;;;
;;max_running_cadence;uint8;;;;;strides/min;;;sport;running;;;1;;;
;19;avg_power;uint16;;;;;watts;;;;;total_power / total_timer_time if non_zero_avg_power otherwise total_power / total_elapsed_time;;1;;;
;20;max_power;uint16;;;;;watts;;;;;;;1;;;
;21;total_ascent;uint16;;;;;m;;;;;;;1;;;
;22;total_descent;uint16;;;;;m;;;;;;;1;;;
;23;intensity;intensity;;;;;;;;;;;;1;;;
;24;lap_trigger;lap_trigger;;;;;;;;;;;;1;;;
;25;sport;sport;;;;;;;;;;;;1;;;
;26;event_group;uint8;;;;;;;;;;;;1;;;
;32;num_lengths;uint16;;;;;lengths;;;;;# of lengths of swim pool;;1;;;
;33;normalized_power;uint16;;;;;watts;;;;;;;1;;;
;34;left_right_balance;left_right_balance_100;;;;;;;;;;;;1;;;
;35;first_length_index;uint16;;;;;;;;;;;;1;;;
;37;avg_stroke_distance;uint16;;;100;;m;;;;;;;1;;;
;38;swim_stroke;swim_stroke;;;;;;;;;;;;1;;;
;39;sub_sport;sub_sport;;;;;;;;;;;;1;;;
;40;num_active_lengths;uint16;;;;;lengths;;;;;# of active lengths of swim pool;;1;;;
;41;total_work;uint32;;;;;J;;;;;;;1;;;
;42;avg_altitude;uint16;;enhanced_avg_altitude;5;500;m;16;;;;;;1;;;
;43;max_altitude;uint16;;enhanced_max_altitude;5;500;m;16;;;;;;1;;;
;44;gps_accuracy;uint8;;;;;m;;;;;;;1;;;
;45;avg_grade;sint16;;;100;;%;;;;;;;1;;;
;46;avg_pos_grade;sint16;;;100;;%;;;;;;;1;;;
;47;avg_neg_grade;sint16;;;100;;%;;;;;;;1;;;
;48;max_pos_grade;sint16;;;100;;%;;;;;;;1;;;
;49;max_neg_grade;sint16;;;100;;%;;;;;;;1;;;
;50;avg_temperature;sint8;;;;;C;;;;;;;1;;;
;51;max_temperature;sint8;;;;;C;;;;;;;1;;;
;52;total_moving_time;uint32;;;1000;;s;;;;;;;1;;;
;53;avg_pos_vertical_speed;sint16;;;1000;;m/s;;;;;;;1;;;
;54;avg_neg_vertical_speed;sint16;;;1000;;m/s;;;;;;;1;;;
;55;max_pos_vertical_speed;sint16;;;1000;;m/s;;;;;;;1;;;
;56;max_neg_vertical_speed;sint16;;;1000;;m/s;;;;;;;1;;;
;57;time_in_hr_zone;uint32;[N];;1000;;s;;;;;;;1;;;
;58;time_in_speed_zone;uint32;[N];;1000;;s;;;;;;;1;;;
;59;time_in_cadence_zone;uint32;[N];;1000;;s;;;;;;;1;;;
;60;time_in_power_zone;uint32;[N];;1000;;s;;;;;;;1;;;
;61;repetition_num;uint16;;;;;;;;;;;;1;;;
;62;min_altitude;uint16;;enhanced_min_altitude;5;500;m;16;;;;;;1;;;
;63;min_heart_rate;uint8;;;;;bpm;;;;;;;1;;;
;71;wkt_step_index;message_index;;;;;;;;;;;;1;;;
;74;opponent_score;uint16;;;;;;;;;;;;1;;;
;75;stroke_count;uint16;[N];;;;counts;;;;;stroke_type enum used as the index;;1;;;
;76;zone_count;uint16;[N];;;;counts;;;;;zone number used as the index;;1;;;
;77;avg_vertical_oscillation;uint16;;;10;;mm;;;;;;;1;;;
;78;avg_stance_time_percent;uint16;;;100;;percent;;;;;;;1;;;
;79;avg_stance_time;uint16;;;10;;ms;;;;;;;1;;;
;80;avg_fractional_cadence;uint8;;;128;;rpm;;;;;fractional part of the avg_cadence;;1;;;
;81;max_fractional_cadence;uint8;;;128;;rpm;;;;;fractional part of the max_cadence;;1;;;
;82;total_fractional_cycles;uint8;;;128;;cycles;;;;;fractional part of the total_cycles;;1;;;
;83;player_score;uint16;;;;;;;;;;;;1;;;
;84;avg_total_hemoglobin_conc;uint16;[N];;100;;g/dL;;;;;Avg saturated and unsaturated hemoglobin;;1;;;
;85;min_total_hemoglobin_conc;uint16;[N];;100;;g/dL;;;;;Min saturated and unsaturated hemoglobin;;1;;;
;86;max_total_hemoglobin_conc;uint16;[N];;100;;g/dL;;;;;Max saturated and unsaturated hemoglobin;;1;;;
;87;avg_saturated_hemoglobin_percent;uint16;[N];;10;;%;;;;;Avg percentage of hemoglobin saturated with oxygen;;1;;;
;88;min_saturated_hemoglobin_percent;uint16;[N];;10;;%;;;;;Min percentage of hemoglobin saturated with oxygen;;1;;;
;89;max_saturated_hemoglobin_percent;uint16;[N];;10;;%;;;;;Max percentage of hemoglobin saturated with oxygen;;1;;;
;91;avg_left_torque_effectiveness;uint8;;;2;;percent;;;;;;;;;;
;92;avg_right_torque_effectiveness;uint8;;;2;;percent;;;;;;;;;;
;93;avg_left_pedal_smoothness;uint8;;;2;;percent;;;;;;;;;;
;94;avg_right_pedal_smoothness;uint8;;;2;;percent;;;;;;;;;;
;95;avg_combined_pedal_smoothness;uint8;;;2;;percent;;;;;;;;;;
;98;time_standing;uint32;;;1000;;s;;;;;Total time spent in the standing position;;;;;
;99;stand_count;uint16;;;;;;;;;;Number of transitions to the standing state;;;;;
;100;avg_left_pco;sint8;;;;;mm;;;;;Average left platform center offset;;;;;
;101;avg_right_pco;sint8;;;;;mm;;;;;Average right platform center offset;;;;;
;102;avg_left_power_phase;uint8;[N];;0.7111111;;degrees;;;;;Average left power phase angles. Data value indexes defined by power_phase_type.;;;;;
;103;avg_left_power_phase_peak;uint8;[N];;0.7111111;;degrees;;;;;Average left power phase peak angles. Data value indexes  defined by power_phase_type.;;;;;
;104;avg_right_power_phase;uint8;[N];;0.7111111;;degrees;;;;;Average right power phase angles. Data value indexes defined by power_phase_type.;;;;;
;105;avg_right_power_phase_peak;uint8;[N];;0.7111111;;degrees;;;;;Average right power phase peak angles. Data value indexes  defined by power_phase_type.;;;;;
;106;avg_power_position;uint16;[N];;;;watts;;;;;Average power by position. Data value indexes defined by rider_position_type.;;;;;
;107;max_power_position;uint16;[N];;;;watts;;;;;Maximum power by position. Data value indexes defined by rider_position_type.;;;;;
;108;avg_cadence_position;uint8;[N];;;;rpm;;;;;Average cadence by position. Data value indexes defined by rider_position_type.;;;;;
;109;max_cadence_position;uint8;[N];;;;rpm;;;;;Maximum cadence by position. Data value indexes defined by rider_position_type.;;;;;
;110;enhanced_avg_speed;uint32;;;1000;;m/s;;;;;;;1;;;
;111;enhanced_max_speed;uint32;;;1000;;m/s;;;;;;;1;;;
;112;enhanced_avg_altitude;uint32;;;5;500;m;;;;;;;1;;;
;113;enhanced_min_altitude;uint32;;;5;500;m;;;;;;;1;;;
;114;enhanced_max_altitude;uint32;;;5;500;m;;;;;;;1;;;
;115;avg_lev_motor_power;uint16;;;;;watts;;;;;lev average motor power during lap;;;;;
;116;max_lev_motor_power;uint16;;;;;watts;;;;;lev maximum motor power during lap;;;;;
;117;lev_battery_consumption;uint8;;;2;;percent;;;;;lev battery consumption during lap;;;;;
;118;avg_vertical_ratio;uint16;;;100;;percent;;;;;;;;;;
;119;avg_stance_time_balance;uint16;;;100;;percent;;;;;;;;;;
;120;avg_step_length;uint16;;;10;;mm;;;;;;;;;;
;121;avg_vam;uint16;;;1000;;m/s;16;;;;;;1;;;
;;;;;;;;;;;;;;;;;;
length;;;;;;;;;;;;;;;;;;
;254;message_index;message_index;;;;;;;;;;;;1;;;
;253;timestamp;date_time;;;;;;;;;;;;1;;;
;0;event;event;;;;;;;;;;;;1;;;
;1;event_type;event_type;;;;;;;;;;;;1;;;
;2;start_time;date_time;;;;;;;;;;;;1;;;
;3;total_elapsed_time;uint32;;;1000;;s;;;;;;;1;;;
;4;total_timer_time;uint32;;;1000;;s;;;;;;;1;;;
;5;total_strokes;uint16;;;;;strokes;;;;;;;1;;;
;6;avg_speed;uint16;;;1000;;m/s;;;;;;;1;;;
;7;swim_stroke;swim_stroke;;;;;swim_stroke;;;;;;;1;;;
;9;avg_swimming_cadence;uint8;;;;;strokes/min;;;;;;;1;;;
;10;event_group;uint8;;;;;;;;;;;;1;;;
;11;total_calories;uint16;;;;;kcal;;;;;;;1;;;
;12;length_type;length_type;;;;;;;;;;;;1;;;
;18;player_score;uint16;;;;;;;;;;;;1;;;
;19;opponent_score;uint16;;;;;;;;;;;;1;;;
;20;stroke_count;uint16;[N];;;;counts;;;;;stroke_type enum used as the index;;1;;;
;21;zone_count;uint16;[N];;;;counts;;;;;zone number used as the index;;1;;;
;;;;;;;;;;;;;;;;;;
record;;;;;;;;;;;;;;;;;;
;253;timestamp;date_time;;;;;s;;;;;;;1;;;
;0;position_lat;sint32;;;;;semicircles;;;;;;;1;;;
;1;position_long;sint32;;;;;semicircles;;;;;;;1;;;
;2;altitude;uint16;;enhanced_altitude;5;500;m;16;;;;;;1;;;
;3;heart_rate;uint8;;;;;bpm;;;;;;;1;;;
;4;cadence;uint8;;;;;rpm;;;;;;;1;;;
;5;distance;uint32;;;100;;m;;;;;;;1;;;
;6;speed;uint16;;enhanced_speed;1000;;m/s;16;;;;;;1;;;
;7;power;uint16;;;;;watts;;;;;;;1;;;
;8;compressed_speed_distance;byte;[3];"speed,
distance";"100,
16";;"m/s,
m";"12,
12";"0,
1";;;;;1;;;
;9;grade;sint16;;;100;;%;;;;;;;1;;;
;10;resistance;uint8;;;;;;;;;;Relative. 0 is none  254 is Max.;;1;;;
;11;time_from_course;sint32;;;1000;;s;;;;;;;1;;;
;12;cycle_length;uint8;;;100;;m;;;;;;;1;;;
;13;temperature;sint8;;;;;C;;;;;;;1;;;
;17;speed_1s;uint8;[N];;16;;m/s;;;;;Speed at 1s intervals.  Timestamp field indicates time of last array element.;;5;;;
;18;cycles;uint8;;total_cycles;;;cycles;8;1;;;;;1;;;
;19;total_cycles;uint32;;;;;cycles;;;;;;;1;;;
;28;compressed_accumulated_power;uint16;;accumulated_power;;;watts;16;1;;;;;1;;;
;29;accumulated_power;uint32;;;;;watts;;;;;;;1;;;
;30;left_right_balance;left_right_balance;;;;;;;;;;;;1;;;
;31;gps_accuracy;uint8;;;;;m;;;;;;;1;;;
;32;vertical_speed;sint16;;;1000;;m/s;;;;;;;1;;;
;33;calories;uint16;;;;;kcal;;;;;;;1;;;
;39;vertical_oscillation;uint16;;;10;;mm;;;;;;;1;;;
;40;stance_time_percent;uint16;;;100;;percent;;;;;;;1;;;
;41;stance_time;uint16;;;10;;ms;;;;;;;1;;;
;42;activity_type;activity_type;;;;;;;;;;;;1;;;
;43;left_torque_effectiveness;uint8;;;2;;percent;;;;;;;1;;;
;44;right_torque_effectiveness;uint8;;;2;;percent;;;;;;;1;;;
;45;left_pedal_smoothness;uint8;;;2;;percent;;;;;;;1;;;
;46;right_pedal_smoothness;uint8;;;2;;percent;;;;;;;1;;;
;47;combined_pedal_smoothness;uint8;;;2;;percent;;;;;;;1;;;
;48;time128;uint8;;;128;;s;;;;;;;1;;;
;49;stroke_type;stroke_type;;;;;;;;;;;;1;;;
;50;zone;uint8;;;;;;;;;;;;1;;;
;51;ball_speed;uint16;;;100;;m/s;;;;;;;1;;;
;52;cadence256;uint16;;;256;;rpm;;;;;Log cadence and fractional cadence for backwards compatability;;1;;;
;53;fractional_cadence;uint8;;;128;;rpm;;;;;;;1;;;
;54;total_hemoglobin_conc;uint16;;;100;;g/dL;;;;;Total saturated and unsaturated hemoglobin;;1;;;
;55;total_hemoglobin_conc_min;uint16;;;100;;g/dL;;;;;Min saturated and unsaturated hemoglobin;;1;;;
;56;total_hemoglobin_conc_max;uint16;;;100;;g/dL;;;;;Max saturated and unsaturated hemoglobin;;1;;;
;57;saturated_hemoglobin_percent;uint16;;;10;;%;;;;;Percentage of hemoglobin saturated with oxygen;;1;;;
;58;saturated_hemoglobin_percent_min;uint16;;;10;;%;;;;;Min percentage of hemoglobin saturated with oxygen;;1;;;
;59;saturated_hemoglobin_percent_max;uint16;;;10;;%;;;;;Max percentage of hemoglobin saturated with oxygen;;1;;;
;62;device_index;device_index;;;;;;;;;;;;1;;;
;67;left_pco;sint8;;;;;mm;;;;;Left platform center offset;;;;;
;68;right_pco;sint8;;;;;mm;;;;;Right platform center offset;;;;;
;69;left_power_phase;uint8;[N];;0.7111111;;degrees;;;;;Left power phase angles. Data value indexes defined by power_phase_type.;;;;;
;70;left_power_phase_peak;uint8;[N];;0.7111111;;degrees;;;;;Left power phase peak angles. Data value indexes defined by power_phase_type.;;;;;
;71;right_power_phase;uint8;[N];;0.7111111;;degrees;;;;;Right power phase angles. Data value indexes defined by power_phase_type.;;;;;
;72;right_power_phase_peak;uint8;[N];;0.7111111;;degrees;;;;;Right power phase peak angles. Data value indexes defined by power_phase_type.;;;;;
;73;enhanced_speed;uint32;;;1000;;m/s;;;;;;;1;;;
;78;enhanced_altitude;uint32;;;5;500;m;;;;;;;1;;;
;81;battery_soc;uint8;;;2;;percent;;;;;lev battery state of charge;;;;;
;82;motor_power;uint16;;;;;watts;;;;;lev motor power;;;;;
;83;vertical_ratio;uint16;;;100;;percent;;;;;;;;;;
;84;stance_time_balance;uint16;;;100;;percent;;;;;;;;;;
;85;step_length;uint16;;;10;;mm;;;;;;;;;;
;91;absolute_pressure;uint32;;;;;Pa;;;;;Includes atmospheric pressure;;;;;
;92;depth;uint32;;;1000;;m;;;;;0 if above water;;;;;
;93;next_stop_depth;uint32;;;1000;;m;;;;;0 if above water;;;;;
;94;next_stop_time;uint32;;;1;;s;;;;;;;;;;
;95;time_to_surface;uint32;;;1;;s;;;;;;;;;;
;96;ndl_time;uint32;;;1;;s;;;;;;;;;;
;97;cns_load;uint8;;;;;percent;;;;;;;;;;
;98;n2_load;uint16;;;1;;percent;;;;;;;;;;
;;;;;;;;;;;;;;;;;;
event;;;;;;;;;;;;;;;;;;
;253;timestamp;date_time;;;;;s;;;;;;;1;;;
;0;event;event;;;;;;;;;;;;1;;;
;1;event_type;event_type;;;;;;;;;;;;1;;;
;2;data16;uint16;;data;;;;16;;;;;;1;;;
;3;data;uint32;;;;;;;;;;;;1;;;
;;timer_trigger;timer_trigger;;;;;;;;event;timer;;;1;;;
;;course_point_index;message_index;;;;;;;;event;course_point;;;1;;;
;;battery_level;uint16;;;1000;;V;;;event;battery;;;1;;;
;;virtual_partner_speed;uint16;;;1000;;m/s;;;event;virtual_partner_pace;;;1;;;
;;hr_high_alert;uint8;;;;;bpm;;;event;hr_high_alert;;;1;;;
;;hr_low_alert;uint8;;;;;bpm;;;event;hr_low_alert;;;1;;;
;;speed_high_alert;uint32;;;1000;;m/s;;;event;speed_high_alert;;;1;;;
;;speed_low_alert;uint32;;;1000;;m/s;;;event;speed_low_alert;;;1;;;
;;cad_high_alert;uint16;;;;;rpm;;;event;cad_high_alert;;;1;;;
;;cad_low_alert;uint16;;;;;rpm;;;event;cad_low_alert;;;1;;;
;;power_high_alert;uint16;;;;;watts;;;event;power_high_alert;;;1;;;
;;power_low_alert;uint16;;;;;watts;;;event;power_low_alert;;;1;;;
;;time_duration_alert;uint32;;;1000;;s;;;event;time_duration_alert;;;1;;;
;;distance_duration_alert;uint32;;;100;;m;;;event;distance_duration_alert;;;1;;;
;;calorie_duration_alert;uint32;;;;;calories;;;event;calorie_duration_alert;;;1;;;
;;fitness_equipment_state;fitness_equipment_state;;;;;;;;event;fitness_equipment;;;1;;;
;;sport_point;uint32;;score,opponent_score;1,1;;;16,16;;event;sport_point;;;1;;;
;;gear_change_data;uint32;;"rear_gear_num,
rear_gear,
front_gear_num,
front_gear";1,1,1,1;;;"8,
8,
8,
8";;"event,
event";"front_gear_change,
rear_gear_change";;;1;;;
;;rider_position;rider_position_type;;;;;;;;event;rider_position_change;Indicates the rider position value.;;;;;
;;comm_timeout;comm_timeout_type;;;;;;;;event;comm_timeout;;;;;;
;4;event_group;uint8;;;;;;;;;;;;1;;;
;7;score;uint16;;;;;;;;;;Do not populate directly.  Autogenerated by decoder for sport_point subfield components;;1;;;
;8;opponent_score;uint16;;;;;;;;;;Do not populate directly.  Autogenerated by decoder for sport_point subfield components;;1;;;
;9;front_gear_num;uint8z;;;;;;;;;;Do not populate directly.  Autogenerated by decoder for gear_change subfield components.  Front gear number. 1 is innermost.;;1;;;
;10;front_gear;uint8z;;;;;;;;;;Do not populate directly.  Autogenerated by decoder for gear_change subfield components.  Number of front teeth.;;1;;;
;11;rear_gear_num;uint8z;;;;;;;;;;Do not populate directly.  Autogenerated by decoder for gear_change subfield components.  Rear gear number. 1 is innermost.;;1;;;
;12;rear_gear;uint8z;;;;;;;;;;Do not populate directly.  Autogenerated by decoder for gear_change subfield components.  Number of rear teeth.;;1;;;
;13;device_index;device_index;;;;;;;;;;;;;;;
device_info;;;;;;;;;;;;;;;;;;
;253;timestamp;date_time;;;;;s;;;;;;;1;;;
;0;device_index;device_index;;;;;;;;;;;;1;;;
;1;device_type;uint8;;;;;;;;;;;;1;;;
;;antplus_device_type;antplus_device_type;;;;;;;;source_type;antplus;;;1;;;
;;ant_device_type;uint8;;;;;;;;source_type;ant;;;1;;;
;2;manufacturer;manufacturer;;;;;;;;;;;;1;;;
;3;serial_number;uint32z;;;;;;;;;;;;1;;;
;4;product;uint16;;;;;;;;;;;;1;;;
;;favero_product;favero_product;;;;;;;;manufacturer;favero_electronics;;;;;;
;;garmin_product;garmin_product;;;;;;;;"manufacturer,
manufacturer,
manufacturer";"garmin,
dynastream,
dynastream_oem";;;1;;;
;5;software_version;uint16;;;100;;;;;;;;;1;;;
;6;hardware_version;uint8;;;;;;;;;;;;1;;;
;7;cum_operating_time;uint32;;;;;s;;;;;Reset by new battery or charge.;;1;;;
;10;battery_voltage;uint16;;;256;;V;;;;;;;1;;;
;11;battery_status;battery_status;;;;;;;;;;;;1;;;
;18;sensor_position;body_location;;;;;;;;;;Indicates the location of the sensor;;1;;;
;19;descriptor;string;;;;;;;;;;Used to describe the sensor or location;;1;;;
;20;ant_transmission_type;uint8z;;;;;;;;;;;;1;;;
;21;ant_device_number;uint16z;;;;;;;;;;;;1;;;
;22;ant_network;ant_network;;;;;;;;;;;;1;;;
;25;source_type;source_type;;;;;;;;;;;;1;;;
;27;product_name;string;;;;;;;;;;Optional free form string to indicate the devices name or model;;20;;;
;;;;;;;;;;;;;;;;;;
training_file;;;;;;;;;;;;;Corresponds to file_id of workout or course.;;;;;
;253;timestamp;date_time;;;;;;;;;;;;1;;;
;0;type;file;;;;;;;;;;;;1;;;
;1;manufacturer;manufacturer;;;;;;;;;;;;1;;;
;2;product;uint16;;;;;;;;;;;;1;;;
;;favero_product;favero_product;;;;;;;;manufacturer;favero_electronics;;;;;;
;;garmin_product;garmin_product;;;;;;;;"manufacturer,
manufacturer,
manufacturer";"garmin,
dynastream,
dynastream_oem";;;1;;;
;3;serial_number;uint32z;;;;;;;;;;;;1;;;
;4;time_created;date_time;;;;;;;;;;;;1;;;
;;;;;;;;;;;;;;;;;;
hrv;;;;;;;;;;;;;Heart rate variability;;;;;
;0;time;uint16;[N];;1000;;s;;;;;Time between beats;;1;;;
;;;;;;;;;;;;;;;;;;
weather_conditions;;;;;;;;;;;;;;;;;;
;253;timestamp;date_time;;;;;;;;;;time of update for current conditions, else forecast time;;1;;;
;0;weather_report;weather_report;;;;;;;;;;Current or forecast;;1;;;
;1;temperature;sint8;;;;;C;;;;;;;1;;;
;2;condition;weather_status;;;;;;;;;;Corresponds to GSC Response weatherIcon field;;1;;;
;3;wind_direction;uint16;;;;;degrees;;;;;;;1;;;
;4;wind_speed;uint16;;;1000;;m/s;;;;;;;1;;;
;5;precipitation_probability;uint8;;;;;;;;;;range 0-100;;1;;;
;6;temperature_feels_like;sint8;;;;;C;;;;;Heat Index if  GCS heatIdx above or equal to 90F or wind chill if GCS windChill below or equal to 32F;;1;;;
;7;relative_humidity;uint8;;;;;;;;;;;;1;;;
;8;location;string;;;;;;;;;;string corresponding to GCS response location string;;64;;;
;9;observed_at_time;date_time;;;;;;;;;;;;1;;;
;10;observed_location_lat;sint32;;;;;semicircles;;;;;;;1;;;
;11;observed_location_long;sint32;;;;;semicircles;;;;;;;1;;;
;12;day_of_week;day_of_week;;;;;;;;;;;;1;;;
;13;high_temperature;sint8;;;;;C;;;;;;;1;;;
;14;low_temperature;sint8;;;;;C;;;;;;;1;;;
;;;;;;;;;;;;;;;;;;
weather_alert;;;;;;;;;;;;;;;;;;
;253;timestamp;date_time;;;;;;;;;;;;1;;;
;0;report_id;string;;;;;;;;;;Unique identifier from GCS report ID string, length is 12;;12;;;
;1;issue_time;date_time;;;;;;;;;;Time alert was issued;;1;;;
;2;expire_time;date_time;;;;;;;;;;Time alert expires;;1;;;
;3;severity;weather_severity;;;;;;;;;;Warning, Watch, Advisory, Statement;;1;;;
;4;type;weather_severe_type;;;;;;;;;;Tornado, Severe Thunderstorm, etc.;;1;;;
gps_metadata;;;;;;;;;;;;;;;;;;
;253;timestamp;date_time;;;;;s;;;;;Whole second part of the timestamp.;;;;;
;0;timestamp_ms;uint16;;;;;ms;;;;;Millisecond part of the timestamp.;;;;;
;1;position_lat;sint32;;;;;semicircles;;;;;;;;;;
;2;position_long;sint32;;;;;semicircles;;;;;;;;;;
;3;enhanced_altitude;uint32;;;5;500;m;;;;;;;;;;
;4;enhanced_speed;uint32;;;1000;;m/s;;;;;;;;;;
;5;heading;uint16;;;100;;degrees;;;;;;;;;;
;6;utc_timestamp;date_time;;;;;s;;;;;Used to correlate UTC to system time if the timestamp of the message is in system time.  This UTC time is derived from the GPS data.;;;;;
;7;velocity;sint16;[3];;100;;m/s;;;;;velocity[0] is lon velocity.  Velocity[1] is lat velocity.  Velocity[2] is altitude velocity.;;;;;
camera_event;;;;;;;;;;;;;;;;;;
;253;timestamp;date_time;;;;;s;;;;;Whole second part of the timestamp.;;;;;
;0;timestamp_ms;uint16;;;;;ms;;;;;Millisecond part of the timestamp.;;;;;
;1;camera_event_type;camera_event_type;;;;;;;;;;;;;;;
;2;camera_file_uuid;string;;;;;;;;;;;;;;;
;3;camera_orientation;camera_orientation_type;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;
gyroscope_data;;;;;;;;;;;;;;;;;;
;253;timestamp;date_time;;;;;s;;;;;Whole second part of the timestamp;;;;;
;0;timestamp_ms;uint16;;;;;ms;;;;;Millisecond part of the timestamp.;;;;;
;1;sample_time_offset;uint16;[N];;;;ms;;;;;Each time in the array describes the time at which the gyro sample with the corrosponding index was taken. Limited to 30 samples in each message. The samples may span across seconds. Array size must match the number of samples in gyro_x and gyro_y and gyro_z;;;;;
;2;gyro_x;uint16;[N];;;;counts;;;;;These are the raw ADC reading. Maximum number of samples is 30 in each message. The samples may span across seconds. A conversion will need to be done on this data once read.;;;;;
;3;gyro_y;uint16;[N];;;;counts;;;;;These are the raw ADC reading. Maximum number of samples is 30 in each message. The samples may span across seconds. A conversion will need to be done on this data once read.;;;;;
;4;gyro_z;uint16;[N];;;;counts;;;;;These are the raw ADC reading. Maximum number of samples is 30 in each message. The samples may span across seconds. A conversion will need to be done on this data once read.;;;;;
;5;calibrated_gyro_x;float32;[N];;;;deg/s;;;;;Calibrated gyro reading;;;;;
;6;calibrated_gyro_y;float32;[N];;;;deg/s;;;;;Calibrated gyro reading;;;;;
;7;calibrated_gyro_z;float32;[N];;;;deg/s;;;;;Calibrated gyro reading;;;;;
;;;;;;;;;;;;;;;;;;
accelerometer_data;;;;;;;;;;;;;;;;;;
;253;timestamp;date_time;;;;;s;;;;;Whole second part of the timestamp;;;;;
;0;timestamp_ms;uint16;;;;;ms;;;;;Millisecond part of the timestamp.;;;;;
;1;sample_time_offset;uint16;[N];;;;ms;;;;;Each time in the array describes the time at which the accelerometer sample with the corrosponding index was taken. Limited to 30 samples in each message. The samples may span across seconds. Array size must match the number of samples in accel_x and accel_y and accel_z;;;;;
;2;accel_x;uint16;[N];;;;counts;;;;;These are the raw ADC reading. Maximum number of samples is 30 in each message. The samples may span across seconds. A conversion will need to be done on this data once read.;;;;;
;3;accel_y;uint16;[N];;;;counts;;;;;These are the raw ADC reading. Maximum number of samples is 30 in each message. The samples may span across seconds. A conversion will need to be done on this data once read.;;;;;
;4;accel_z;uint16;[N];;;;counts;;;;;These are the raw ADC reading. Maximum number of samples is 30 in each message. The samples may span across seconds. A conversion will need to be done on this data once read.;;;;;
;5;calibrated_accel_x;float32;[N];;;;g;;;;;Calibrated accel reading;;;;;
;6;calibrated_accel_y;float32;[N];;;;g;;;;;Calibrated accel reading;;;;;
;7;calibrated_accel_z;float32;[N];;;;g;;;;;Calibrated accel reading;;;;;
;8;compressed_calibrated_accel_x;sint16;[N];;;;mG;;;;;Calibrated accel reading;;;;;
;9;compressed_calibrated_accel_y;sint16;[N];;;;mG;;;;;Calibrated accel reading;;;;;
;10;compressed_calibrated_accel_z;sint16;[N];;;;mG;;;;;Calibrated accel reading;;;;;
;;;;;;;;;;;;;;;;;;
magnetometer_data;;;;;;;;;;;;;;;;;;
;253;timestamp;date_time;;;;;s;;;;;Whole second part of the timestamp;;;;;
;0;timestamp_ms;uint16;;;;;ms;;;;;Millisecond part of the timestamp.;;;;;
;1;sample_time_offset;uint16;[N];;;;ms;;;;;Each time in the array describes the time at which the compass sample with the corrosponding index was taken. Limited to 30 samples in each message. The samples may span across seconds. Array size must match the number of samples in cmps_x and cmps_y and cmps_z;;;;;
;2;mag_x;uint16;[N];;;;counts;;;;;These are the raw ADC reading. Maximum number of samples is 30 in each message. The samples may span across seconds. A conversion will need to be done on this data once read.;;;;;
;3;mag_y;uint16;[N];;;;counts;;;;;These are the raw ADC reading. Maximum number of samples is 30 in each message. The samples may span across seconds. A conversion will need to be done on this data once read.;;;;;
;4;mag_z;uint16;[N];;;;counts;;;;;These are the raw ADC reading. Maximum number of samples is 30 in each message. The samples may span across seconds. A conversion will need to be done on this data once read.;;;;;
;5;calibrated_mag_x;float32;[N];;;;G;;;;;Calibrated Magnetometer reading;;;;;
;6;calibrated_mag_y;float32;[N];;;;G;;;;;Calibrated Magnetometer reading;;;;;
;7;calibrated_mag_z;float32;[N];;;;G;;;;;Calibrated Magnetometer reading;;;;;
;;;;;;;;;;;;;;;;;;
barometer_data;;;;;;;;;;;;;;;;;;
;253;timestamp;date_time;;;;;s;;;;;Whole second part of the timestamp;;;;;
;0;timestamp_ms;uint16;;;;;ms;;;;;Millisecond part of the timestamp.;;;;;
;1;sample_time_offset;uint16;[N];;;;ms;;;;;Each time in the array describes the time at which the barometer sample with the corrosponding index was taken. The samples may span across seconds. Array size must match the number of samples in baro_cal;;;;;
;2;baro_pres;uint32;[N];;;;Pa;;;;;These are the raw ADC reading. The samples may span across seconds. A conversion will need to be done on this data once read.;;;;;
;;;;;;;;;;;;;;;;;;
three_d_sensor_calibration;;;;;;;;;;;;;;;;;;
;253;timestamp;date_time;;;;;s;;;;;Whole second part of the timestamp;;;;;
;0;sensor_type;sensor_type;;;;;;;;;;Indicates which sensor the calibration is for;;;;;
;1;calibration_factor;uint32;;;;;;;;;;Calibration factor used to convert from raw ADC value to degrees, g,  etc.;;;;;
;;accel_cal_factor;uint32;;;;;g;;;sensor_type;accelerometer;Accelerometer calibration factor;;;;;
;;gyro_cal_factor;uint32;;;;;deg/s;;;sensor_type;gyroscope;Gyro calibration factor;;;;;
;2;calibration_divisor;uint32;;;;;counts;;;;;Calibration factor divisor;;;;;
;3;level_shift;uint32;;;;;;;;;;Level shift value used to shift the ADC value back into range;;;;;
;4;offset_cal;sint32;[3];;;;;;;;;Internal calibration factors, one for each: xy, yx, zx;;;;;
;5;orientation_matrix;sint32;[9];;65535;;;;;;;3 x 3 rotation matrix (row major);;;;;
;;;;;;;;;;;;;;;;;;
one_d_sensor_calibration;;;;;;;;;;;;;;;;;;
;253;timestamp;date_time;;;;;s;;;;;Whole second part of the timestamp;;;;;
;0;sensor_type;sensor_type;;;;;;;;;;Indicates which sensor the calibration is for;;;;;
;1;calibration_factor;uint32;;;;;;;;;;Calibration factor used to convert from raw ADC value to degrees, g,  etc.;;;;;
;;baro_cal_factor;uint32;;;;;Pa;;;sensor_type;barometer;Barometer calibration factor;;;;;
;2;calibration_divisor;uint32;;;;;counts;;;;;Calibration factor divisor;;;;;
;3;level_shift;uint32;;;;;;;;;;Level shift value used to shift the ADC value back into range;;;;;
;4;offset_cal;sint32;;;;;;;;;;Internal Calibration factor;;;;;
;;;;;;;;;;;;;;;;;;
video_frame;;;;;;;;;;;;;;;;;;
;253;timestamp;date_time;;;;;s;;;;;Whole second part of the timestamp;;;;;
;0;timestamp_ms;uint16;;;;;ms;;;;;Millisecond part of the timestamp.;;;;;
;1;frame_number;uint32;;;;;;;;;;Number of the frame that the timestamp and timestamp_ms correlate to;;;;;
;;;;;;;;;;;;;;;;;;
obdii_data;;;;;;;;;;;;;;;;;;
;253;timestamp;date_time;;;;;s;;;;;Timestamp message was output;;;;;
;0;timestamp_ms;uint16;;;;;ms;;;;;Fractional part of timestamp, added to timestamp;;;;;
;1;time_offset;uint16;[N];;;;ms;;;;;Offset of PID reading [i] from start_timestamp+start_timestamp_ms. Readings may span accross seconds.;;;;;
;2;pid;byte;;;;;;;;;;Parameter ID;;;;;
;3;raw_data;byte;[N];;;;;;;;;Raw parameter data;;;;;
;4;pid_data_size;uint8;[N];;;;;;;;;Optional, data size of PID[i].  If not specified refer to SAE J1979.;;;;;
;5;system_time;uint32;[N];;;;;;;;;System time associated with sample expressed in ms, can be used instead of time_offset.  There will be a system_time value for each raw_data element.  For multibyte pids the system_time is repeated.;;;;;
;6;start_timestamp;date_time;;;;;;;;;;Timestamp of first sample recorded in the message.  Used with time_offset to generate time of each sample;;;;;
;7;start_timestamp_ms;uint16;;;;;ms;;;;;Fractional part of start_timestamp;;;;;
;;;;;;;;;;;;;;;;;;
nmea_sentence;;;;;;;;;;;;;;;;;;
;253;timestamp;date_time;;;;;s;;;;;Timestamp message was output;;1;;;
;0;timestamp_ms;uint16;;;;;ms;;;;;Fractional part of timestamp, added to timestamp;;1;;;
;1;sentence;string;;;;;;;;;;NMEA sentence;;83;;;
;;;;;;;;;;;;;;;;;;
aviation_attitude;;;;;;;;;;;;;;;;;;
;253;timestamp;date_time;;;;;s;;;;;Timestamp message was output;;1;;;
;0;timestamp_ms;uint16;;;;;ms;;;;;Fractional part of timestamp, added to timestamp;;1;;;
;1;system_time;uint32;[N];;;;ms;;;;;System time associated with sample expressed in ms.;;1;;;
;2;pitch;sint16;[N];;10430.38;;radians;;;;;Range -PI/2 to +PI/2;;1;;;
;3;roll;sint16;[N];;10430.38;;radians;;;;;Range -PI to +PI;;1;;;
;4;accel_lateral;sint16;[N];;100;;m/s^2;;;;;Range -78.4 to +78.4 (-8 Gs to 8 Gs);;1;;;
;5;accel_normal;sint16;[N];;100;;m/s^2;;;;;Range -78.4 to +78.4 (-8 Gs to 8 Gs);;1;;;
;6;turn_rate;sint16;[N];;1024;;radians/second;;;;;Range -8.727 to +8.727 (-500 degs/sec to +500 degs/sec);;1;;;
;7;stage;attitude_stage;[N];;;;;;;;;;;1;;;
;8;attitude_stage_complete;uint8;[N];;;;%;;;;;The percent complete of the current attitude stage.  Set to 0 for attitude stages 0, 1 and 2 and to 100 for attitude stage 3 by AHRS modules that do not support it.  Range - 100;;1;;;
;9;track;uint16;[N];;10430.38;;radians;;;;;Track Angle/Heading Range 0 - 2pi;;1;;;
;10;validity;attitude_validity;[N];;;;;;;;;;;1;;;
;;;;;;;;;;;;;;;;;;
video;;;;;;;;;;;;;;;;;;
;0;url;string;;;;;;;;;;;;;;;
;1;hosting_provider;string;;;;;;;;;;;;;;;
;2;duration;uint32;;;;;ms;;;;;Playback time of video;;;;;
;;;;;;;;;;;;;;;;;;
video_title;;;;;;;;;;;;;;;;;;
;254;message_index;message_index;;;;;;;;;;Long titles will be split into multiple parts;;1;;;
;0;message_count;uint16;;;;;;;;;;Total number of title parts;;1;;;
;1;text;string;;;;;;;;;;;;80;;;
;;;;;;;;;;;;;;;;;;
video_description;;;;;;;;;;;;;;;;;;
;254;message_index;message_index;;;;;;;;;;Long descriptions will be split into multiple parts;;1;;;
;0;message_count;uint16;;;;;;;;;;Total number of description parts;;1;;;
;1;text;string;;;;;;;;;;;;250;;;
;;;;;;;;;;;;;;;;;;
video_clip;;;;;;;;;;;;;;;;;;
;0;clip_number;uint16;;;;;;;;;;;;;;;
;1;start_timestamp;date_time;;;;;;;;;;;;;;;
;2;start_timestamp_ms;uint16;;;;;;;;;;;;;;;
;3;end_timestamp;date_time;;;;;;;;;;;;;;;
;4;end_timestamp_ms;uint16;;;;;;;;;;;;;;;
;6;clip_start;uint32;;;;;ms;;;;;Start of clip in video time;;;;;
;7;clip_end;uint32;;;;;ms;;;;;End of clip in video time;;;;;
;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;
set;;;;;;;;;;;;;;;;;;
;254;timestamp;date_time;;;;;;;;;;Timestamp of the set;;;;;
;0;duration;uint32;;;1000;;s;;;;;;;;;;
;3;repetitions;uint16;;;;;;;;;;# of repitions of the movement;;;;;
;4;weight;uint16;;;16;;kg;;;;;Amount of weight applied for the set;;;;;
;5;set_type;set_type;;;;;;;;;;;;;;;
;6;start_time;date_time;;;;;;;;;;Start time of the set;;;;;
;7;category;exercise_category;[N];;;;;;;;;;;;;;
;8;category_subtype;uint16;[N];;;;;;;;;Based on the associated category, see [category]_exercise_names;;;;;
;9;weight_display_unit;fit_base_unit;;;;;;;;;;;;1;;;
;10;message_index;message_index;;;;;;;;;;;;;;;
;11;wkt_step_index;message_index;;;;;;;;;;;;;;;
;;;COURSE FILE MESSAGES;;;;;;;;;;;;;;;
course;;;;;;;;;;;;;;;;;;
;4;sport;sport;;;;;;;;;;;;1;;;
;5;name;string;;;;;;;;;;;;16;;;
;6;capabilities;course_capabilities;;;;;;;;;;;;1;;;
;7;sub_sport;sub_sport;;;;;;;;;;;;1;;;
;;;;;;;;;;;;;;;;;;
course_point;;;;;;;;;;;;;;;;;;
;254;message_index;message_index;;;;;;;;;;;;1;;;
;1;timestamp;date_time;;;;;;;;;;;;1;;;
;2;position_lat;sint32;;;;;semicircles;;;;;;;1;;;
;3;position_long;sint32;;;;;semicircles;;;;;;;1;;;
;4;distance;uint32;;;100;;m;;;;;;;1;;;
;5;type;course_point;;;;;;;;;;;;1;;;
;6;name;string;;;;;;;;;;;;16;;;
;8;favorite;bool;;;;;;;;;;;;1;;;
;;;;;;;;;;;;;;;;;;
;;;SEGMENT FILE MESSAGES;;;;;;;;;;;;;;;
segment_id;;;;;;;;;;;;;Unique Identification data for a segment file;;;;;
;0;name;string;;;;;;;;;;Friendly name assigned to segment;;1;;;
;1;uuid;string;;;;;;;;;;UUID of the segment;;1;;;
;2;sport;sport;;;;;;;;;;Sport associated with the segment;;1;;;
;3;enabled;bool;;;;;;;;;;Segment enabled for evaluation;;1;;;
;4;user_profile_primary_key;uint32;;;;;;;;;;Primary key of the user that created the segment;;1;;;
;5;device_id;uint32;;;;;;;;;;ID of the device that created the segment;;1;;;
;6;default_race_leader;uint8;;;;;;;;;;Index for the Leader Board entry selected as the default race participant;;1;;;
;7;delete_status;segment_delete_status;;;;;;;;;;Indicates if any segments should be deleted;;1;;;
;8;selection_type;segment_selection_type;;;;;;;;;;Indicates how the segment was selected to be sent to the device;;1;;;
;;;;;;;;;;;;;;;;;;
segment_leaderboard_entry;;;;;;;;;;;;;Unique Identification data for an individual segment leader within a segment file;;;;;
;254;message_index;message_index;;;;;;;;;;;;1;;;
;0;name;string;;;;;;;;;;Friendly name assigned to leader;;1;;;
;1;type;segment_leaderboard_type;;;;;;;;;;Leader classification;;1;;;
;2;group_primary_key;uint32;;;;;;;;;;Primary user ID of this leader;;1;;;
;3;activity_id;uint32;;;;;;;;;;ID of the activity associated with this leader time;;1;;;
;4;segment_time;uint32;;;1000;;s;;;;;Segment Time (includes pauses);;1;;;
;5;activity_id_string;string;;;;;;;;;;String version of the activity_id. 21 characters long, express in decimal;;;;;
;;;;;;;;;;;;;;;;;;
segment_point;;;;;;;;;;;;;Navigation and race evaluation point for a segment decribing a point along the segment path and time it took each segment leader to reach that point;;;;;
;254;message_index;message_index;;;;;;;;;;;;1;;;
;1;position_lat;sint32;;;;;semicircles;;;;;;;1;;;
;2;position_long;sint32;;;;;semicircles;;;;;;;1;;;
;3;distance;uint32;;;100;;m;;;;;Accumulated distance along the segment at the described point;;1;;;
;4;altitude;uint16;;;5;500;m;;;;;Accumulated altitude along the segment at the described point;;1;;;
;5;leader_time;uint32;[N];;1000;;s;;;;;Accumualted time each leader board member required to reach the described point. This value is zero for all leader board members at the starting point of the segment.;;1;;;
;;;;;;;;;;;;;;;;;;
segment_lap;;;;;;;;;;;;;;;;;;
;254;message_index;message_index;;;;;;;;;;;;1;;;
;253;timestamp;date_time;;;;;s;;;;;Lap end time.;;1;;;
;0;event;event;;;;;;;;;;;;1;;;
;1;event_type;event_type;;;;;;;;;;;;1;;;
;2;start_time;date_time;;;;;;;;;;;;1;;;
;3;start_position_lat;sint32;;;;;semicircles;;;;;;;1;;;
;4;start_position_long;sint32;;;;;semicircles;;;;;;;1;;;
;5;end_position_lat;sint32;;;;;semicircles;;;;;;;1;;;
;6;end_position_long;sint32;;;;;semicircles;;;;;;;1;;;
;7;total_elapsed_time;uint32;;;1000;;s;;;;;Time (includes pauses);;1;;;
;8;total_timer_time;uint32;;;1000;;s;;;;;Timer Time (excludes pauses);;1;;;
;9;total_distance;uint32;;;100;;m;;;;;;;1;;;
;10;total_cycles;uint32;;;;;cycles;;;;;;;1;;;
;;total_strokes;uint32;;;;;strokes;;;sport;cycling;;;1;;;
;11;total_calories;uint16;;;;;kcal;;;;;;;1;;;
;12;total_fat_calories;uint16;;;;;kcal;;;;;If New Leaf;;1;;;
;13;avg_speed;uint16;;;1000;;m/s;;;;;;;1;;;
;14;max_speed;uint16;;;1000;;m/s;;;;;;;1;;;
;15;avg_heart_rate;uint8;;;;;bpm;;;;;;;1;;;
;16;max_heart_rate;uint8;;;;;bpm;;;;;;;1;;;
;17;avg_cadence;uint8;;;;;rpm;;;;;total_cycles / total_timer_time if non_zero_avg_cadence otherwise total_cycles / total_elapsed_time;;1;;;
;18;max_cadence;uint8;;;;;rpm;;;;;;;1;;;
;19;avg_power;uint16;;;;;watts;;;;;total_power / total_timer_time if non_zero_avg_power otherwise total_power / total_elapsed_time;;1;;;
;20;max_power;uint16;;;;;watts;;;;;;;1;;;
;21;total_ascent;uint16;;;;;m;;;;;;;1;;;
;22;total_descent;uint16;;;;;m;;;;;;;1;;;
;23;sport;sport;;;;;;;;;;;;1;;;
;24;event_group;uint8;;;;;;;;;;;;1;;;
;25;nec_lat;sint32;;;;;semicircles;;;;;North east corner latitude.;;1;;;
;26;nec_long;sint32;;;;;semicircles;;;;;North east corner longitude.;;1;;;
;27;swc_lat;sint32;;;;;semicircles;;;;;South west corner latitude.;;1;;;
;28;swc_long;sint32;;;;;semicircles;;;;;South west corner latitude.;;1;;;
;29;name;string;;;;;;;;;;;;16;;;
;30;normalized_power;uint16;;;;;watts;;;;;;;1;;;
;31;left_right_balance;left_right_balance_100;;;;;;;;;;;;1;;;
;32;sub_sport;sub_sport;;;;;;;;;;;;1;;;
;33;total_work;uint32;;;;;J;;;;;;;1;;;
;34;avg_altitude;uint16;;;5;500;m;;;;;;;1;;;
;35;max_altitude;uint16;;;5;500;m;;;;;;;1;;;
;36;gps_accuracy;uint8;;;;;m;;;;;;;1;;;
;37;avg_grade;sint16;;;100;;%;;;;;;;1;;;
;38;avg_pos_grade;sint16;;;100;;%;;;;;;;1;;;
;39;avg_neg_grade;sint16;;;100;;%;;;;;;;1;;;
;40;max_pos_grade;sint16;;;100;;%;;;;;;;1;;;
;41;max_neg_grade;sint16;;;100;;%;;;;;;;1;;;
;42;avg_temperature;sint8;;;;;C;;;;;;;1;;;
;43;max_temperature;sint8;;;;;C;;;;;;;1;;;
;44;total_moving_time;uint32;;;1000;;s;;;;;;;1;;;
;45;avg_pos_vertical_speed;sint16;;;1000;;m/s;;;;;;;1;;;
;46;avg_neg_vertical_speed;sint16;;;1000;;m/s;;;;;;;1;;;
;47;max_pos_vertical_speed;sint16;;;1000;;m/s;;;;;;;1;;;
;48;max_neg_vertical_speed;sint16;;;1000;;m/s;;;;;;;1;;;
;49;time_in_hr_zone;uint32;[N];;1000;;s;;;;;;;1;;;
;50;time_in_speed_zone;uint32;[N];;1000;;s;;;;;;;1;;;
;51;time_in_cadence_zone;uint32;[N];;1000;;s;;;;;;;1;;;
;52;time_in_power_zone;uint32;[N];;1000;;s;;;;;;;1;;;
;53;repetition_num;uint16;;;;;;;;;;;;1;;;
;54;min_altitude;uint16;;;5;500;m;;;;;;;1;;;
;55;min_heart_rate;uint8;;;;;bpm;;;;;;;1;;;
;56;active_time;uint32;;;1000;;s;;;;;;;1;;;
;57;wkt_step_index;message_index;;;;;;;;;;;;1;;;
;58;sport_event;sport_event;;;;;;;;;;;;1;;;
;59;avg_left_torque_effectiveness;uint8;;;2;;percent;;;;;;;1;;;
;60;avg_right_torque_effectiveness;uint8;;;2;;percent;;;;;;;1;;;
;61;avg_left_pedal_smoothness;uint8;;;2;;percent;;;;;;;1;;;
;62;avg_right_pedal_smoothness;uint8;;;2;;percent;;;;;;;1;;;
;63;avg_combined_pedal_smoothness;uint8;;;2;;percent;;;;;;;1;;;
;64;status;segment_lap_status;;;;;;;;;;;;1;;;
;65;uuid;string;;;;;;;;;;;;33;;;
;66;avg_fractional_cadence;uint8;;;128;;rpm;;;;;fractional part of the avg_cadence;;1;;;
;67;max_fractional_cadence;uint8;;;128;;rpm;;;;;fractional part of the max_cadence;;1;;;
;68;total_fractional_cycles;uint8;;;128;;cycles;;;;;fractional part of the total_cycles;;1;;;
;69;front_gear_shift_count;uint16;;;;;;;;;;;;1;;;
;70;rear_gear_shift_count;uint16;;;;;;;;;;;;1;;;
;71;time_standing;uint32;;;1000;;s;;;;;Total time spent in the standing position;;;;;
;72;stand_count;uint16;;;;;;;;;;Number of transitions to the standing state;;;;;
;73;avg_left_pco;sint8;;;;;mm;;;;;Average left platform center offset;;;;;
;74;avg_right_pco;sint8;;;;;mm;;;;;Average right platform center offset;;;;;
;75;avg_left_power_phase;uint8;[N];;0.7111111;;degrees;;;;;Average left power phase angles. Data value indexes defined by power_phase_type.;;;;;
;76;avg_left_power_phase_peak;uint8;[N];;0.7111111;;degrees;;;;;Average left power phase peak angles. Data value indexes defined by power_phase_type.;;;;;
;77;avg_right_power_phase;uint8;[N];;0.7111111;;degrees;;;;;Average right power phase angles. Data value indexes defined by power_phase_type.;;;;;
;78;avg_right_power_phase_peak;uint8;[N];;0.7111111;;degrees;;;;;Average right power phase peak angles. Data value indexes defined by power_phase_type.;;;;;
;79;avg_power_position;uint16;[N];;;;watts;;;;;Average power by position. Data value indexes defined by rider_position_type.;;;;;
;80;max_power_position;uint16;[N];;;;watts;;;;;Maximum power by position. Data value indexes defined by rider_position_type.;;;;;
;81;avg_cadence_position;uint8;[N];;;;rpm;;;;;Average cadence by position. Data value indexes defined by rider_position_type.;;;;;
;82;max_cadence_position;uint8;[N];;;;rpm;;;;;Maximum cadence by position. Data value indexes defined by rider_position_type.;;;;;
;83;manufacturer;manufacturer;;;;;;;;;;Manufacturer that produced the segment;;;;;
;;;;;;;;;;;;;;;;;;
;;;SEGMENT LIST FILE MESSAGES;;;;;;;;;;;;;;;
segment_file;;;;;;;;;;;;;Summary of the unique segment and leaderboard information associated with a segment file. This message is used to compile a segment list file describing all segment files on a device. The segment list file is used when refreshing the contents of a segment file with the latest available leaderboard information.;;;;;
;254;message_index;message_index;;;;;;;;;;;;1;;;
;1;file_uuid;string;;;;;;;;;;UUID of the segment file;;1;;;
;3;enabled;bool;;;;;;;;;;Enabled state of the segment file;;1;;;
;4;user_profile_primary_key;uint32;;;;;;;;;;Primary key of the user that created the segment file;;1;;;
;7;leader_type;segment_leaderboard_type;[N];;;;;;;;;Leader type of each leader in the segment file;;1;;;
;8;leader_group_primary_key;uint32;[N];;;;;;;;;Group primary key of each leader in the segment file;;1;;;
;9;leader_activity_id;uint32;[N];;;;;;;;;Activity ID of each leader in the segment file;;1;;;
;10;leader_activity_id_string;string;[N];;;;;;;;;String version of the activity ID of each leader in the segment file. 21 characters long for each ID, express in decimal;;;;;
;11;default_race_leader;uint8;;;;;;;;;;Index for the Leader Board entry selected as the default race participant;;;;;
;;;WORKOUT FILE MESSAGES;;;;;;;;;;;;;;;
workout;;;;;;;;;;;;;;;;;;
;4;sport;sport;;;;;;;;;;;;1;;;
;5;capabilities;workout_capabilities;;;;;;;;;;;;1;;;
;6;num_valid_steps;uint16;;;;;;;;;;number of valid steps;;1;;;
;8;wkt_name;string;;;;;;;;;;;;16;;;
;11;sub_sport;sub_sport;;;;;;;;;;;;1;;;
;14;pool_length;uint16;;;100;;m;;;;;;;1;;;
;15;pool_length_unit;display_measure;;;;;;;;;;;;1;;;
;;;;;;;;;;;;;;;;;;
workout_session;;;;;;;;;;;;;;;;;;
;254;message_index;message_index;;;;;;;;;;;;1;;;
;0;sport;sport;;;;;;;;;;;;1;;;
;1;sub_sport;sub_sport;;;;;;;;;;;;1;;;
;2;num_valid_steps;uint16;;;;;;;;;;;;1;;;
;3;first_step_index;uint16;;;;;;;;;;;;1;;;
;4;pool_length;uint16;;;100;;m;;;;;;;1;;;
;5;pool_length_unit;display_measure;;;;;;;;;;;;1;;;
workout_step;;;;;;;;;;;;;;;;;;
;254;message_index;message_index;;;;;;;;;;;;1;;;
;0;wkt_step_name;string;;;;;;;;;;;;16;;;
;1;duration_type;wkt_step_duration;;;;;;;;;;;;1;;;
;2;duration_value;uint32;;;;;;;;;;;;1;;;
;;duration_time;uint32;;;1000;;s;;;duration_type,duration_type;time,repetition_time;;;1;;;
;;duration_distance;uint32;;;100;;m;;;duration_type;distance;;;1;;;
;;duration_hr;workout_hr;;;;;% or bpm;;;duration_type,duration_type;hr_less_than,hr_greater_than;;;1;;;
;;duration_calories;uint32;;;;;calories;;;duration_type;calories;;;1;;;
;;duration_step;uint32;;;;;;;;duration_type,duration_type,duration_type,duration_type,duration_type,duration_type,duration_type,duration_type;repeat_until_steps_cmplt,repeat_until_time,repeat_until_distance,repeat_until_calories,repeat_until_hr_less_than,repeat_until_hr_greater_than,repeat_until_power_less_than,repeat_until_power_greater_than;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.;;1;;;
;;duration_power;workout_power;;;;;% or watts;;;duration_type,duration_type;power_less_than,power_greater_than;;;1;;;
;;duration_reps;uint32;;;;;;;;duration_type;reps;;;1;;;
;3;target_type;wkt_step_target;;;;;;;;;;;;1;;;
;4;target_value;uint32;;;;;;;;;;;;1;;;
;;target_speed_zone;uint32;;;;;;;;target_type;speed;"speed zone (1-10);Custom =0;";;1;;;
;;target_hr_zone;uint32;;;;;;;;target_type;heart_rate;"hr zone (1-5);Custom =0;";;1;;;
;;target_cadence_zone;uint32;;;;;;;;target_type;cadence;"Zone (1-?); Custom = 0;";;1;;;
;;target_power_zone;uint32;;;;;;;;target_type;power;"Power Zone ( 1-7); Custom = 0;";;1;;;
;;repeat_steps;uint32;;;;;;;;duration_type;repeat_until_steps_cmplt;# of repetitions;;1;;;
;;repeat_time;uint32;;;1000;;s;;;duration_type;repeat_until_time;;;1;;;
;;repeat_distance;uint32;;;100;;m;;;duration_type;repeat_until_distance;;;1;;;
;;repeat_calories;uint32;;;;;calories;;;duration_type;repeat_until_calories;;;1;;;
;;repeat_hr;workout_hr;;;;;% or bpm;;;"duration_type,
duration_type";"repeat_until_hr_less_than,
repeat_until_hr_greater_than";;;1;;;
;;repeat_power;workout_power;;;;;% or watts;;;"duration_type,
duration_type";"repeat_until_power_less_than,
repeat_until_power_greater_than";;;1;;;
;;target_stroke_type;swim_stroke;;;;;;;;target_type;swim_stroke;;;1;;;
;5;custom_target_value_low;uint32;;;;;;;;;;;;1;;;
;;custom_target_speed_low;uint32;;;1000;;m/s;;;target_type;speed;;;1;;;
;;custom_target_heart_rate_low;workout_hr;;;;;% or bpm;;;target_type;heart_rate;;;1;;;
;;custom_target_cadence_low;uint32;;;;;rpm;;;target_type;cadence;;;1;;;
;;custom_target_power_low;workout_power;;;;;% or watts;;;target_type;power;;;1;;;
;6;custom_target_value_high;uint32;;;;;;;;;;;;1;;;
;;custom_target_speed_high;uint32;;;1000;;m/s;;;target_type;speed;;;1;;;
;;custom_target_heart_rate_high;workout_hr;;;;;% or bpm;;;target_type;heart_rate;;;1;;;
;;custom_target_cadence_high;uint32;;;;;rpm;;;target_type;cadence;;;1;;;
;;custom_target_power_high;workout_power;;;;;% or watts;;;target_type;power;;;1;;;
;7;intensity;intensity;;;;;;;;;;;;1;;;
;8;notes;string;;;;;;;;;;;;50;;;
;9;equipment;workout_equipment;;;;;;;;;;;;1;;;
;10;exercise_category;exercise_category;;;;;;;;;;;;1;;;
;11;exercise_name;uint16;;;;;;;;;;;;;;;
;12;exercise_weight;uint16;;;100;;kg;;;;;;;;;;
;13;weight_display_unit;fit_base_unit;;;;;;;;;;;;;;;
exercise_title;;;;;;;;;;;;;;;;;;
;254;message_index;message_index;;;;;;;;;;;;1;;;
;0;exercise_category;exercise_category;;;;;;;;;;;;1;;;
;1;exercise_name;uint16;;;;;;;;;;;;1;;;
;2;wkt_step_name;string;[N];;;;;;;;;;;200;;;
;;;;;;;;;;;;;;;;;;
;;;SCHEDULE FILE MESSAGES;;;;;;;;;;;;;;;
schedule;;;;;;;;;;;;;;;;;;
;0;manufacturer;manufacturer;;;;;;;;;;Corresponds to file_id of scheduled workout / course.;;1;;;
;1;product;uint16;;;;;;;;;;Corresponds to file_id of scheduled workout / course.;;1;;;
;;favero_product;favero_product;;;;;;;;manufacturer;favero_electronics;;;;;;
;;garmin_product;garmin_product;;;;;;;;"manufacturer,
manufacturer,
manufacturer";"garmin,
dynastream,
dynastream_oem";;;1;;;
;2;serial_number;uint32z;;;;;;;;;;Corresponds to file_id of scheduled workout / course.;;1;;;
;3;time_created;date_time;;;;;;;;;;Corresponds to file_id of scheduled workout / course.;;1;;;
;4;completed;bool;;;;;;;;;;TRUE if this activity has been started;;1;;;
;5;type;schedule;;;;;;;;;;;;1;;;
;6;scheduled_time;local_date_time;;;;;;;;;;;;1;;;
;;;;;;;;;;;;;;;;;;
;;;TOTALS FILE MESSAGES;;;;;;;;;;;;;;;
totals;;;;;;;;;;;;;;;;;;
;254;message_index;message_index;;;;;;;;;;;;1;;;
;253;timestamp;date_time;;;;;s;;;;;;;1;;;
;0;timer_time;uint32;;;;;s;;;;;Excludes pauses;;1;;;
;1;distance;uint32;;;;;m;;;;;;;1;;;
;2;calories;uint32;;;;;kcal;;;;;;;1;;;
;3;sport;sport;;;;;;;;;;;;1;;;
;4;elapsed_time;uint32;;;;;s;;;;;Includes pauses;;1;;;
;5;sessions;uint16;;;;;;;;;;;;1;;;
;6;active_time;uint32;;;;;s;;;;;;;1;;;
;9;sport_index;uint8;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;
;;;WEIGHT SCALE FILE MESSAGES;;;;;;;;;;;;;;;
weight_scale;;;;;;;;;;;;;;;;;;
;253;timestamp;date_time;;;;;s;;;;;;;1;;;
;0;weight;weight;;;100;;kg;;;;;;;1;;;
;1;percent_fat;uint16;;;100;;%;;;;;;;1;;;
;2;percent_hydration;uint16;;;100;;%;;;;;;;1;;;
;3;visceral_fat_mass;uint16;;;100;;kg;;;;;;;1;;;
;4;bone_mass;uint16;;;100;;kg;;;;;;;1;;;
;5;muscle_mass;uint16;;;100;;kg;;;;;;;1;;;
;7;basal_met;uint16;;;4;;kcal/day;;;;;;;1;;;
;8;physique_rating;uint8;;;;;;;;;;;;1;;;
;9;active_met;uint16;;;4;;kcal/day;;;;;~4kJ per kcal, 0.25 allows max 16384 kcal;;1;;;
;10;metabolic_age;uint8;;;;;years;;;;;;;1;;;
;11;visceral_fat_rating;uint8;;;;;;;;;;;;1;;;
;12;user_profile_index;message_index;;;;;;;;;;Associates this weight scale message to a user.  This corresponds to the index of the user profile message in the weight scale file.;;1;;;
;;;;;;;;;;;;;;;;;;
;;;BLOOD PRESSURE FILE MESSAGES;;;;;;;;;;;;;;;
blood_pressure;;;;;;;;;;;;;;;;;;
;253;timestamp;date_time;;;;;s;;;;;;;1;;;
;0;systolic_pressure;uint16;;;;;mmHg;;;;;;;1;;;
;1;diastolic_pressure;uint16;;;;;mmHg;;;;;;;1;;;
;2;mean_arterial_pressure;uint16;;;;;mmHg;;;;;;;1;;;
;3;map_3_sample_mean;uint16;;;;;mmHg;;;;;;;1;;;
;4;map_morning_values;uint16;;;;;mmHg;;;;;;;1;;;
;5;map_evening_values;uint16;;;;;mmHg;;;;;;;1;;;
;6;heart_rate;uint8;;;;;bpm;;;;;;;1;;;
;7;heart_rate_type;hr_type;;;;;;;;;;;;1;;;
;8;status;bp_status;;;;;;;;;;;;1;;;
;9;user_profile_index;message_index;;;;;;;;;;Associates this blood pressure message to a user.  This corresponds to the index of the user profile message in the blood pressure file.;;1;;;
;;;;;;;;;;;;;;;;;;
;;;MONITORING FILE MESSAGES;;;;;;;;;;;;;;;
monitoring_info;;;;;;;;;;;;;;;;;;
;253;timestamp;date_time;;;;;s;;;;;;;1;;;
;0;local_timestamp;local_date_time;;;;;s;;;;;Use to convert activity timestamps to local time if device does not support time zone and daylight savings time correction.;;1;;;
;1;activity_type;activity_type;[N];;;;;;;;;;;;;;
;3;cycles_to_distance;uint16;[N];;5000;;m/cycle;;;;;Indexed by activity_type;;;;;
;4;cycles_to_calories;uint16;[N];;5000;;kcal/cycle;;;;;Indexed by activity_type;;;;;
;5;resting_metabolic_rate;uint16;;;;;kcal / day;;;;;;;;;;
;;;;;;;;;;;;;;;;;;
monitoring;;;;;;;;;;;;;;;;;;
;253;timestamp;date_time;;;;;s;;;;;Must align to logging interval, for example, time must be 00:00:00 for daily log.;;1;;;
;0;device_index;device_index;;;;;;;;;;Associates this data to device_info message.  Not required for file with single device (sensor).;;1;;;
;1;calories;uint16;;;;;kcal;;;;;Accumulated total calories.  Maintained by MonitoringReader for each activity_type.  See SDK documentation;;1;;;
;2;distance;uint32;;;100;;m;;;;;Accumulated distance.  Maintained by MonitoringReader for each activity_type.  See SDK documentation.;;1;;;
;3;cycles;uint32;;;2;;cycles;;;;;Accumulated cycles.  Maintained by MonitoringReader for each activity_type.  See SDK documentation.;;1;;;
;;steps;uint32;;;1;;steps;;;"activity_type,
activity_type";"walking,
running";;;;;;
;;strokes;uint32;;;2;;strokes;;;"activity_type,
activity_type";"cycling,
swimming";;;1;;;
;4;active_time;uint32;;;1000;;s;;;;;;;1;;;
;5;activity_type;activity_type;;;;;;;;;;;;1;;;
;6;activity_subtype;activity_subtype;;;;;;;;;;;;1;;;
;7;activity_level;activity_level;;;;;;;;;;;;;;;
;8;distance_16;uint16;;;;;100 * m;;;;;;;1;;;
;9;cycles_16;uint16;;;;;2 * cycles (steps);;;;;;;1;;;
;10;active_time_16;uint16;;;;;s;;;;;;;1;;;
;11;local_timestamp;local_date_time;;;;;;;;;;Must align to logging interval, for example, time must be 00:00:00 for daily log.;;1;;;
;12;temperature;sint16;;;100;;C;;;;;Avg temperature during the logging interval ended at timestamp;;;;;
;14;temperature_min;sint16;;;100;;C;;;;;Min temperature during the logging interval ended at timestamp;;;;;
;15;temperature_max;sint16;;;100;;C;;;;;Max temperature during the logging interval ended at timestamp;;;;;
;16;activity_time;uint16;[8];;;;minutes;;;;;Indexed using minute_activity_level enum;;;;;
;19;active_calories;uint16;;;;;kcal;;;;;;;;;;
;24;current_activity_type_intensity;byte;;activity_type,intensity;;;;5,3;;;;Indicates single type / intensity for duration since last monitoring message.;;;;;
;25;timestamp_min_8;uint8;;;;;min;;;;;;;;;;
;26;timestamp_16;uint16;;;;;s;;;;;;;;;;
;27;heart_rate;uint8;;;;;bpm;;;;;;;;;;
;28;intensity;uint8;;;10;;;;;;;;;;;;
;29;duration_min;uint16;;;;;min;;;;;;;;;;
;30;duration;uint32;;;;;s;;;;;;;;;;
;31;ascent;uint32;;;1000;;m;;;;;;;;;;
;32;descent;uint32;;;1000;;m;;;;;;;;;;
;33;moderate_activity_minutes;uint16;;;;;minutes;;;;;;;;;;
;34;vigorous_activity_minutes;uint16;;;;;minutes;;;;;;;;;;
;;;;;;;;;;;;;;;;;;
hr;;;;;;;;;;;;;;;;;;
;253;timestamp;date_time;;;;;;;;;;;;1;;;
;0;fractional_timestamp;uint16;;;32768;;s;;;;;;;1;;;
;1;time256;uint8;;fractional_timestamp;256;;s;8;;;;;;1;;;
;6;filtered_bpm;uint8;[N];;;;bpm;;;;;;;1;;;
;9;event_timestamp;uint32;[N];;1024;;s;;;;;;;1;;;
;10;event_timestamp_12;byte;[N];"event_timestamp,
event_timestamp,
event_timestamp,
event_timestamp,
event_timestamp,
event_timestamp,
event_timestamp,
event_timestamp,
event_timestamp,
event_timestamp
";"1024,
1024,
1024,
1024,
1024,
1024,
1024,
1024,
1024,
1024";;s;"12,
12,
12,
12,
12,
12,
12,
12,
12,
12";"1,
1,
1,
1,
1,
1,
1,
1,
1,
1";;;;;1;;;
stress_level;;;;;;;;;;;;;Value from 1 to 100 calculated by FirstBeat;;;;;
;0;stress_level_value;sint16;;;;;;;;;;;;;;;
;1;stress_level_time;date_time;;;;;s;;;;;Time stress score was calculated;;;;;
;;;OTHER MESSAGES;;;;;;;;;;;;;;;
memo_glob;;;;;;;;;;;;;;;;;;
;250;part_index;uint32;;;;;;;;;;Sequence number of memo blocks;;;;;
;0;memo;byte;[N];;;;;;;;;Block of utf8 bytes;;;;;
;1;message_number;uint16;;;;;;;;;;Allows relating glob to another mesg  If used only required for first part of each memo_glob;;;;;
;2;message_index;message_index;;;;;;;;;;Index of external mesg;;;;;
;;;;;;;;;;;;;;;;;;
ant_channel_id;;;;;;;;;;;;;;;;;;
;0;channel_number;uint8;;;;;;;;;;;;;;;
;1;device_type;uint8z;;;;;;;;;;;;;;;
;2;device_number;uint16z;;;;;;;;;;;;;;;
;3;transmission_type;uint8z;;;;;;;;;;;;;;;
;4;device_index;device_index;;;;;;;;;;;;;;;
ant_rx;;;;;;;;;;;;;;;;;;
;253;timestamp;date_time;;;;;s;;;;;;;1;;;
;0;fractional_timestamp;uint16;;;32768;;s;;;;;;;1;;;
;1;mesg_id;byte;;;;;;;;;;;;1;;;
;2;mesg_data;byte;[N];channel_number,data,data,data,data,data,data,data,data;;;;8,8,8,8,8,8,8,8,8;;;;;;9;;;
;3;channel_number;uint8;;;;;;;;;;;;1;;;
;4;data;byte;[N];;;;;;;;;;;8;;;
;;;;;;;;;;;;;;;;;;
ant_tx;;;;;;;;;;;;;;;;;;
;253;timestamp;date_time;;;;;s;;;;;;;1;;;
;0;fractional_timestamp;uint16;;;32768;;s;;;;;;;1;;;
;1;mesg_id;byte;;;;;;;;;;;;1;;;
;2;mesg_data;byte;[N];channel_number,data,data,data,data,data,data,data,data;;;;8,8,8,8,8,8,8,8,8;;;;;;9;;;
;3;channel_number;uint8;;;;;;;;;;;;1;;;
;4;data;byte;[N];;;;;;;;;;;8;;;
exd_screen_configuration;;;;;;;;;;;;;;;;;;
;0;screen_index;uint8;;;;;;;;;;;;1;;;
;1;field_count;uint8;;;;;;;;;;number of fields in screen;;1;;;
;2;layout;exd_layout;;;;;;;;;;;;1;;;
;3;screen_enabled;bool;;;;;;;;;;;;1;;;
;;;;;;;;;;;;;;;;;;
exd_data_field_configuration;;;;;;;;;;;;;;;;;;
;0;screen_index;uint8;;;;;;;;;;;;1;;;
;1;concept_field;byte;;field_id,concept_count;;;;4,4;;;;;;1;;;
;2;field_id;uint8;;;;;;;;;;;;1;;;
;3;concept_count;uint8;;;;;;;;;;;;1;;;
;4;display_type;exd_display_type;;;;;;;;;;;;1;;;
;5;title;string;[32];;;;;;;;;;;1;;;
;;;;;;;;;;;;;;;;;;
exd_data_concept_configuration;;;;;;;;;;;;;;;;;;
;0;screen_index;uint8;;;;;;;;;;;;1;;;
;1;concept_field;byte;;field_id,concept_index;;;;4,4;;;;;;1;;;
;2;field_id;uint8;;;;;;;;;;;;1;;;
;3;concept_index;uint8;;;;;;;;;;;;1;;;
;4;data_page;uint8;;;;;;;;;;;;1;;;
;5;concept_key;uint8;;;;;;;;;;;;1;;;
;6;scaling;uint8;;;;;;;;;;;;1;;;
;8;data_units;exd_data_units;;;;;;;;;;;;1;;;
;9;qualifier;exd_qualifiers;;;;;;;;;;;;1;;;
;10;descriptor;exd_descriptors;;;;;;;;;;;;1;;;
;11;is_signed;bool;;;;;;;;;;;;1;;;
field_description;;;;;;;;;;;;;Must be logged before developer field is used;;;;;
;0;developer_data_index;uint8;;;;;;;;;;;;1;;;
;1;field_definition_number;uint8;;;;;;;;;;;;1;;;
;2;fit_base_type_id;fit_base_type;;;;;;;;;;;;1;;;
;3;field_name;string;[N];;;;;;;;;;;64;;;
;4;array;uint8;;;;;;;;;;;;0;;;
;5;components;string;;;;;;;;;;;;0;;;
;6;scale;uint8;;;;;;;;;;;;1;;;
;7;offset;sint8;;;;;;;;;;;;1;;;
;8;units;string;[N];;;;;;;;;;;16;;;
;9;bits;string;;;;;;;;;;;;0;;;
;10;accumulate;string;;;;;;;;;;;;0;;;
;13;fit_base_unit_id;fit_base_unit;;;;;;;;;;;;1;;;
;14;native_mesg_num;mesg_num;;;;;;;;;;;;1;;;
;15;native_field_num;uint8;;;;;;;;;;;;1;;;
;;;;;;;;;;;;;;;;;;
developer_data_id;;;;;;;;;;;;;Must be logged before field description;;;;;
;0;developer_id;byte;[N];;;;;;;;;;;16;;;
;1;application_id;byte;[N];;;;;;;;;;;16;;;
;2;manufacturer_id;manufacturer;;;;;;;;;;;;1;;;
;3;developer_data_index;uint8;;;;;;;;;;;;1;;;
;4;application_version;uint32;;;;;;;;;;;;1;;;
dive_summary;;;;;;;;;;;;;;;;;;
;253;timestamp;date_time;;;;;s;;;;;;;;;;
;0;reference_mesg;mesg_num;;;;;;;;;;;;;;;
;1;reference_index;message_index;;;;;;;;;;;;;;;
;2;avg_depth;uint32;;;1000;;m;;;;;0 if above water;;;;;
;3;max_depth;uint32;;;1000;;m;;;;;0 if above water;;;;;
;4;surface_interval;uint32;;;1;;s;;;;;Time since end of last dive;;;;;
;5;start_cns;uint8;;;1;;percent;;;;;;;;;;
;6;end_cns;uint8;;;1;;percent;;;;;;;;;;
;7;start_n2;uint16;;;1;;percent;;;;;;;;;;
;8;end_n2;uint16;;;1;;percent;;;;;;;;;;
;9;o2_toxicity;uint16;;;;;OTUs;;;;;;;;;;
;10;dive_number;uint32;;;;;;;;;;;;;;;
;11;bottom_time;uint32;;;1000;;s;;;;;;;;;;