fit_parser 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/fit_parser/file/types.rb +78 -78
- data/lib/fit_parser/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b56993101d5100d9f50e1800a2b1baeb899196e5
|
4
|
+
data.tar.gz: ec3ec76279fd144075424452676918816148437f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 120c201648c304eebb7fa641ba71adf69a00435b12a3724c6614eb0adb14999a40be80d666a05c76fd86c3e5106fefe83e1f587ae28696ef77f4d7183d935606
|
7
|
+
data.tar.gz: 3057771c78e636afe103bf5f12fea089c68ae3dded29da589a56f5730cc0417021aff8e7a667e719a8d61ecd19db4015658d63324986b274009a43df2bb0995a
|
@@ -46,23 +46,23 @@ module FitParser
|
|
46
46
|
end
|
47
47
|
|
48
48
|
# basic types
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
49
|
+
FitParser::File::Types.add_type :enum, nil, :invalid => 0xFF
|
50
|
+
FitParser::File::Types.add_type :sint8, nil, :invalid => 0x7F
|
51
|
+
FitParser::File::Types.add_type :uint8, nil, :invalid => 0xFF
|
52
|
+
FitParser::File::Types.add_type :sint16, nil, :invalid => 0x7FFF
|
53
|
+
FitParser::File::Types.add_type :uint16, nil, :invalid => 0xFFFF
|
54
|
+
FitParser::File::Types.add_type :sint32, nil, :invalid => 0x7FFFFFFF
|
55
|
+
FitParser::File::Types.add_type :uint32, nil, :invalid => 0xFFFFFFFF
|
56
|
+
FitParser::File::Types.add_type :string, nil, :invalid => 0x00
|
57
|
+
FitParser::File::Types.add_type :float32, nil, :invalid => 0xFFFFFFFF
|
58
|
+
FitParser::File::Types.add_type :float64, nil, :invalid => 0xFFFFFFFFFFFFFFFF
|
59
|
+
FitParser::File::Types.add_type :uint8z, nil, :invalid => 0x00
|
60
|
+
FitParser::File::Types.add_type :uint16z, nil, :invalid => 0x0000
|
61
|
+
FitParser::File::Types.add_type :uint32z, nil, :invalid => 0x00000000
|
62
|
+
FitParser::File::Types.add_type :byte, nil, :invalid => 0xFF
|
63
63
|
|
64
64
|
# derived types
|
65
|
-
|
65
|
+
FitParser::File::Types.add_type :file, :enum, :values => {
|
66
66
|
1 => 'device',
|
67
67
|
2 => 'settings',
|
68
68
|
3 => 'sport',
|
@@ -78,7 +78,7 @@ Fit::File::Types.add_type :file, :enum, :values => {
|
|
78
78
|
20 => 'activity_summary',
|
79
79
|
28 => 'monitoring_daily',
|
80
80
|
32 => 'monitoring_b' }
|
81
|
-
|
81
|
+
FitParser::File::Types.add_type :mesg_num, :uint16, :values => {
|
82
82
|
0 => 'file_id',
|
83
83
|
1 => 'capabilities',
|
84
84
|
2 => 'device_settings',
|
@@ -123,31 +123,31 @@ Fit::File::Types.add_type :mesg_num, :uint16, :values => {
|
|
123
123
|
145 => 'memo_glob',
|
124
124
|
65280 => 'mfg_range_min',
|
125
125
|
65534 => 'mfg_range_max' }
|
126
|
-
|
126
|
+
FitParser::File::Types.add_type :checksum, :uint8, :values => {
|
127
127
|
0 => 'clear',
|
128
128
|
1 => 'ok' }
|
129
|
-
|
129
|
+
FitParser::File::Types.add_type :file_flags, :uint8z, :values => {
|
130
130
|
0x02 => 'read',
|
131
131
|
0x04 => 'write',
|
132
132
|
0x08 => 'erase' }, :method => :bitfield_value
|
133
|
-
|
133
|
+
FitParser::File::Types.add_type :mesg_count, :enum, :values => {
|
134
134
|
0 => 'num_per_file',
|
135
135
|
1 => 'max_per_file',
|
136
136
|
2 => 'max_per_file_type' }
|
137
|
-
|
137
|
+
FitParser::File::Types.add_type :date_time, :uint32, :values => {
|
138
138
|
268435456 => 'min' }, :method => :date_time_value, :parameters => {:utc => true}
|
139
|
-
|
139
|
+
FitParser::File::Types.add_type :local_date_time, :uint32, :values => {
|
140
140
|
268435456 => 'min' }, :method => :date_time_value, :parameters => {:utc => false}
|
141
|
-
|
141
|
+
FitParser::File::Types.add_type :message_index, :uint16, :values => {
|
142
142
|
32768 => 'selected',
|
143
143
|
26872 => 'reserved',
|
144
144
|
4095 => 'mask' }, :method => :message_index_value
|
145
|
-
|
145
|
+
FitParser::File::Types.add_type :device_index, :uint8, :values => {
|
146
146
|
0 => 'creator' }
|
147
|
-
|
147
|
+
FitParser::File::Types.add_type :gender, :enum, :values => {
|
148
148
|
0 => 'female',
|
149
149
|
1 => 'male' }
|
150
|
-
|
150
|
+
FitParser::File::Types.add_type :language, :enum, :values => {
|
151
151
|
0 => 'english',
|
152
152
|
1 => 'french',
|
153
153
|
2 => 'italian',
|
@@ -175,7 +175,7 @@ Fit::File::Types.add_type :language, :enum, :values => {
|
|
175
175
|
24 => 'bulgarian',
|
176
176
|
25 => 'romanian',
|
177
177
|
254 => 'custom' }
|
178
|
-
|
178
|
+
FitParser::File::Types.add_type :time_zone, :enum, :values => {
|
179
179
|
0 => 'almaty',
|
180
180
|
1 => 'bangkok',
|
181
181
|
2 => 'bombay',
|
@@ -282,17 +282,17 @@ Fit::File::Types.add_type :time_zone, :enum, :values => {
|
|
282
282
|
103 => 'santiago',
|
283
283
|
253 => 'manual',
|
284
284
|
254 => 'automatic' }
|
285
|
-
|
285
|
+
FitParser::File::Types.add_type :display_measure, :enum, :values => {
|
286
286
|
0 => 'metric',
|
287
287
|
1 => 'statute' }
|
288
|
-
|
288
|
+
FitParser::File::Types.add_type :display_heart, :enum, :values => {
|
289
289
|
0 => 'bpm',
|
290
290
|
1 => 'max',
|
291
291
|
2 => 'reserve' }
|
292
|
-
|
292
|
+
FitParser::File::Types.add_type :display_power, :enum, :values => {
|
293
293
|
0 => 'watts',
|
294
294
|
1 => 'percent_ftp' }
|
295
|
-
|
295
|
+
FitParser::File::Types.add_type :display_position, :enum, :values => {
|
296
296
|
0 => 'degree',
|
297
297
|
1 => 'degree_minute',
|
298
298
|
2 => 'degree_minute_second',
|
@@ -335,7 +335,7 @@ Fit::File::Types.add_type :display_position, :enum, :values => {
|
|
335
335
|
39 => 'estonian_grid',
|
336
336
|
40 => 'latvian_grid',
|
337
337
|
41 => 'swedish_ref_99_grid' }
|
338
|
-
|
338
|
+
FitParser::File::Types.add_type :sport, :enum, :values => {
|
339
339
|
0 => 'generic',
|
340
340
|
1 => 'running',
|
341
341
|
2 => 'cycling',
|
@@ -357,7 +357,7 @@ Fit::File::Types.add_type :sport, :enum, :values => {
|
|
357
357
|
18 => 'multisport',
|
358
358
|
19 => 'paddling',
|
359
359
|
254 => 'all' }
|
360
|
-
|
360
|
+
FitParser::File::Types.add_type :sport_bits_0, :uint8z, :values => {
|
361
361
|
1 => 'generic',
|
362
362
|
2 => 'running',
|
363
363
|
4 => 'cycling',
|
@@ -366,7 +366,7 @@ Fit::File::Types.add_type :sport_bits_0, :uint8z, :values => {
|
|
366
366
|
32 => 'swimming',
|
367
367
|
64 => 'basketball',
|
368
368
|
128 => 'soccer' }
|
369
|
-
|
369
|
+
FitParser::File::Types.add_type :sport_bits_1, :uint8z, :values => {
|
370
370
|
1 => 'tennis',
|
371
371
|
2 => 'american_football',
|
372
372
|
4 => 'training',
|
@@ -375,12 +375,12 @@ Fit::File::Types.add_type :sport_bits_1, :uint8z, :values => {
|
|
375
375
|
32 => 'alpine_skiing',
|
376
376
|
64 => 'snowboarding',
|
377
377
|
128 => 'rowing' }
|
378
|
-
|
378
|
+
FitParser::File::Types.add_type :sport_bits_2, :uint8z, :values => {
|
379
379
|
1 => 'mountaineering',
|
380
380
|
2 => 'hiking',
|
381
381
|
4 => 'multisport',
|
382
382
|
8 => 'paddling' }
|
383
|
-
|
383
|
+
FitParser::File::Types.add_type :sub_sport, :enum, :values => {
|
384
384
|
0 => 'generic',
|
385
385
|
1 => 'treadmill',
|
386
386
|
2 => 'street',
|
@@ -409,20 +409,20 @@ Fit::File::Types.add_type :sub_sport, :enum, :values => {
|
|
409
409
|
25 => 'indoor_skiing',
|
410
410
|
26 => 'cardio_training',
|
411
411
|
254 => 'all' }
|
412
|
-
|
412
|
+
FitParser::File::Types.add_type :activity, :enum, :values => {
|
413
413
|
0 => 'manual',
|
414
414
|
1 => 'auto_multi_sport' }
|
415
|
-
|
415
|
+
FitParser::File::Types.add_type :intensity, :enum, :values => {
|
416
416
|
0 => 'active',
|
417
417
|
1 => 'rest',
|
418
418
|
2 => 'warmup',
|
419
419
|
3 => 'cooldown' }
|
420
|
-
|
420
|
+
FitParser::File::Types.add_type :session_trigger, :enum, :values => {
|
421
421
|
0 => 'activity_end',
|
422
422
|
1 => 'manual',
|
423
423
|
2 => 'auto_multi_sport',
|
424
424
|
3 => 'fitness_equipment' }
|
425
|
-
|
425
|
+
FitParser::File::Types.add_type :autolap_trigger, :enum, :values => {
|
426
426
|
0 => 'time',
|
427
427
|
1 => 'distance',
|
428
428
|
2 => 'position_start',
|
@@ -430,7 +430,7 @@ Fit::File::Types.add_type :autolap_trigger, :enum, :values => {
|
|
430
430
|
4 => 'position_waypoint',
|
431
431
|
5 => 'position_marked',
|
432
432
|
6 => 'off' }
|
433
|
-
|
433
|
+
FitParser::File::Types.add_type :lap_trigger, :enum, :values => {
|
434
434
|
0 => 'manual',
|
435
435
|
1 => 'time',
|
436
436
|
2 => 'distance',
|
@@ -440,7 +440,7 @@ Fit::File::Types.add_type :lap_trigger, :enum, :values => {
|
|
440
440
|
6 => 'position_marked',
|
441
441
|
7 => 'session_end',
|
442
442
|
8 => 'fitness_equipment' }
|
443
|
-
|
443
|
+
FitParser::File::Types.add_type :event, :enum, :values => {
|
444
444
|
0 => 'timer',
|
445
445
|
3 => 'workout',
|
446
446
|
4 => 'workout_step',
|
@@ -475,7 +475,7 @@ Fit::File::Types.add_type :event, :enum, :values => {
|
|
475
475
|
43 => 'rear_gear_change',
|
476
476
|
45 => 'elev_high_alert',
|
477
477
|
46 => 'elev_low_alert' }
|
478
|
-
|
478
|
+
FitParser::File::Types.add_type :event_type, :enum, :values => {
|
479
479
|
0 => 'start',
|
480
480
|
1 => 'stop',
|
481
481
|
2 => 'consecutive_depreciated',
|
@@ -486,27 +486,27 @@ Fit::File::Types.add_type :event_type, :enum, :values => {
|
|
486
486
|
7 => 'end_all_depreciated',
|
487
487
|
8 => 'stop_disable',
|
488
488
|
9 => 'stop_disable_all' }
|
489
|
-
|
489
|
+
FitParser::File::Types.add_type :timer_trigger, :enum, :values => {
|
490
490
|
0 => 'manual',
|
491
491
|
1 => 'auto',
|
492
492
|
2 => 'fitness_equipment' }
|
493
|
-
|
493
|
+
FitParser::File::Types.add_type :fitness_equipment_state, :enum, :values => {
|
494
494
|
0 => 'ready',
|
495
495
|
1 => 'in_use',
|
496
496
|
2 => 'paused',
|
497
497
|
3 => 'unknown' }
|
498
|
-
|
498
|
+
FitParser::File::Types.add_type :activity_class, :enum, :values => {
|
499
499
|
127 => 'level',
|
500
500
|
100 => 'level_max',
|
501
501
|
128 => 'athlete' }
|
502
|
-
|
502
|
+
FitParser::File::Types.add_type :hr_zone_calc, :enum, :values => {
|
503
503
|
0 => 'custom',
|
504
504
|
1 => 'percent_max_hr',
|
505
505
|
2 => 'percent_hrr' }
|
506
|
-
|
506
|
+
FitParser::File::Types.add_type :pwr_zone_calc, :enum, :values => {
|
507
507
|
0 => 'custom',
|
508
508
|
1 => 'percent_ftp' }
|
509
|
-
|
509
|
+
FitParser::File::Types.add_type :wkt_step_duration, :enum, :values => {
|
510
510
|
0 => 'time',
|
511
511
|
1 => 'distance',
|
512
512
|
2 => 'hr_less_than',
|
@@ -524,7 +524,7 @@ Fit::File::Types.add_type :wkt_step_duration, :enum, :values => {
|
|
524
524
|
14 => 'power_less_than',
|
525
525
|
15 => 'power_greater_than',
|
526
526
|
28 => 'repetition_time' }
|
527
|
-
|
527
|
+
FitParser::File::Types.add_type :wkt_step_target, :enum, :values => {
|
528
528
|
0 => 'speed',
|
529
529
|
1 => 'heart_rate',
|
530
530
|
2 => 'open',
|
@@ -532,23 +532,23 @@ Fit::File::Types.add_type :wkt_step_target, :enum, :values => {
|
|
532
532
|
4 => 'power',
|
533
533
|
5 => 'grade',
|
534
534
|
6 => 'resistance' }
|
535
|
-
|
535
|
+
FitParser::File::Types.add_type :goal, :enum, :values => {
|
536
536
|
0 => 'time',
|
537
537
|
1 => 'distance',
|
538
538
|
2 => 'calories',
|
539
539
|
3 => 'frequency',
|
540
540
|
4 => 'steps' }
|
541
|
-
|
541
|
+
FitParser::File::Types.add_type :goal_recurrence, :enum, :values => {
|
542
542
|
0 => 'off',
|
543
543
|
1 => 'daily',
|
544
544
|
2 => 'weekly',
|
545
545
|
3 => 'monthly',
|
546
546
|
4 => 'yearly',
|
547
547
|
5 => 'custom' }
|
548
|
-
|
548
|
+
FitParser::File::Types.add_type :schedule, :enum, :values => {
|
549
549
|
0 => 'workout',
|
550
550
|
1 => 'course' }
|
551
|
-
|
551
|
+
FitParser::File::Types.add_type :course_point, :enum, :values => {
|
552
552
|
0 => 'generic',
|
553
553
|
1 => 'summit',
|
554
554
|
2 => 'valley',
|
@@ -573,7 +573,7 @@ Fit::File::Types.add_type :course_point, :enum, :values => {
|
|
573
573
|
21 => 'slight_right',
|
574
574
|
22 => 'sharp_right',
|
575
575
|
23 => 'u_turn' }
|
576
|
-
|
576
|
+
FitParser::File::Types.add_type :manufacturer, :uint16, :values => {
|
577
577
|
1 => 'garmin',
|
578
578
|
2 => 'garmin_fr405_antfs',
|
579
579
|
3 => 'zephyr',
|
@@ -669,7 +669,7 @@ Fit::File::Types.add_type :manufacturer, :uint16, :values => {
|
|
669
669
|
258 => 'lezyne',
|
670
670
|
259 => 'scribe_labs',
|
671
671
|
5759 => 'actigraphcorp' }
|
672
|
-
|
672
|
+
FitParser::File::Types.add_type :garmin_product, :uint16, :values => {
|
673
673
|
1 => 'hrm1',
|
674
674
|
2 => 'axh01',
|
675
675
|
3 => 'axb01',
|
@@ -751,7 +751,7 @@ Fit::File::Types.add_type :garmin_product, :uint16, :values => {
|
|
751
751
|
20119 => 'training_center',
|
752
752
|
65532 => 'android_antplus_plugin',
|
753
753
|
65534 => 'connect' }
|
754
|
-
|
754
|
+
FitParser::File::Types.add_type :antplus_device_type, :uint8, :values => {
|
755
755
|
1 => 'antfs',
|
756
756
|
11 => 'bike_power',
|
757
757
|
12 => 'environment_sensor_legacy',
|
@@ -769,12 +769,12 @@ Fit::File::Types.add_type :antplus_device_type, :uint8, :values => {
|
|
769
769
|
122 => 'bike_cadence',
|
770
770
|
123 => 'bike_speed',
|
771
771
|
124 => 'stride_speed_distance' }
|
772
|
-
|
772
|
+
FitParser::File::Types.add_type :ant_network, :enum, :values => {
|
773
773
|
0 => 'public',
|
774
774
|
1 => 'antplus',
|
775
775
|
2 => 'antfs',
|
776
776
|
3 => 'private' }
|
777
|
-
|
777
|
+
FitParser::File::Types.add_type :workout_capabilities, :uint32z, :values => {
|
778
778
|
0x00000001 => 'interval',
|
779
779
|
0x00000002 => 'custom',
|
780
780
|
0x00000004 => 'fitness_equipment',
|
@@ -789,16 +789,16 @@ Fit::File::Types.add_type :workout_capabilities, :uint32z, :values => {
|
|
789
789
|
0x00001000 => 'grade',
|
790
790
|
0x00002000 => 'resistance',
|
791
791
|
0x00004000 => 'protected' }, :method => :bitfield_value
|
792
|
-
|
792
|
+
FitParser::File::Types.add_type :battery_status, :uint8, :values => {
|
793
793
|
1 => 'new',
|
794
794
|
2 => 'good',
|
795
795
|
3 => 'ok',
|
796
796
|
4 => 'low',
|
797
797
|
5 => 'critical' }
|
798
|
-
|
798
|
+
FitParser::File::Types.add_type :hr_type, :enum, :values => {
|
799
799
|
0 => 'normal',
|
800
800
|
1 => 'irregular' }
|
801
|
-
|
801
|
+
FitParser::File::Types.add_type :course_capabilities, :uint32z, :values => {
|
802
802
|
0x00000001 => 'processed',
|
803
803
|
0x00000002 => 'valid',
|
804
804
|
0x00000004 => 'time',
|
@@ -809,26 +809,26 @@ Fit::File::Types.add_type :course_capabilities, :uint32z, :values => {
|
|
809
809
|
0x00000080 => 'cadence',
|
810
810
|
0x00000100 => 'training',
|
811
811
|
0x00000200 => 'navigation' }, :method => :bitfield_value
|
812
|
-
|
812
|
+
FitParser::File::Types.add_type :weight, :uint16, :values => {
|
813
813
|
65534 => 'calculating' }
|
814
|
-
|
814
|
+
FitParser::File::Types.add_type :workout_hr, :uint32, :values => {
|
815
815
|
100 => 'bpm_offset' }
|
816
|
-
|
816
|
+
FitParser::File::Types.add_type :workout_power, :uint32, :values => {
|
817
817
|
1000 => 'watts_offset' }
|
818
|
-
|
818
|
+
FitParser::File::Types.add_type :bp_status, :enum, :values => {
|
819
819
|
0 => 'no_error',
|
820
820
|
1 => 'error_incomplete_data',
|
821
821
|
2 => 'error_no_measurement',
|
822
822
|
3 => 'error_data_out_of_range',
|
823
823
|
4 => 'error_irregular_heart_rate' }
|
824
|
-
|
824
|
+
FitParser::File::Types.add_type :user_local_id, :uint16, :values => {
|
825
825
|
0 => 'local_min',
|
826
826
|
15 => 'local_max',
|
827
827
|
16 => 'stationary_min',
|
828
828
|
255 => 'stationary_max',
|
829
829
|
256 => 'portable_min',
|
830
830
|
65534 => 'portable_max' }
|
831
|
-
|
831
|
+
FitParser::File::Types.add_type :swim_stroke, :enum, :values => {
|
832
832
|
0 => 'freestyle',
|
833
833
|
1 => 'backstroke',
|
834
834
|
2 => 'breaststroke',
|
@@ -836,7 +836,7 @@ Fit::File::Types.add_type :swim_stroke, :enum, :values => {
|
|
836
836
|
4 => 'drill',
|
837
837
|
5 => 'mixed',
|
838
838
|
6 => 'im' }
|
839
|
-
|
839
|
+
FitParser::File::Types.add_type :activity_type, :enum, :values => {
|
840
840
|
0 => 'generic',
|
841
841
|
1 => 'running',
|
842
842
|
2 => 'cycling',
|
@@ -845,7 +845,7 @@ Fit::File::Types.add_type :activity_type, :enum, :values => {
|
|
845
845
|
5 => 'swimming',
|
846
846
|
6 => 'walking',
|
847
847
|
254 => 'all' }
|
848
|
-
|
848
|
+
FitParser::File::Types.add_type :activity_subtype, :enum, :values => {
|
849
849
|
0 => 'generic',
|
850
850
|
1 => 'treadmill',
|
851
851
|
2 => 'street',
|
@@ -866,20 +866,20 @@ Fit::File::Types.add_type :activity_subtype, :enum, :values => {
|
|
866
866
|
17 => 'lap_swimming',
|
867
867
|
18 => 'open_water',
|
868
868
|
254 => 'all' }
|
869
|
-
|
869
|
+
FitParser::File::Types.add_type :activity_level, :enum, :values => {
|
870
870
|
0 => 'low',
|
871
871
|
1 => 'medium',
|
872
872
|
2 => 'high' }
|
873
|
-
|
873
|
+
FitParser::File::Types.add_type :left_right_balance, :uint8, :values => {
|
874
874
|
127 => 'mask',
|
875
875
|
128 => 'right' }
|
876
|
-
|
876
|
+
FitParser::File::Types.add_type :left_right_balance_100, :uint16, :values => {
|
877
877
|
16383 => 'mask',
|
878
878
|
32768 => 'right' }
|
879
|
-
|
879
|
+
FitParser::File::Types.add_type :length_type, :enum, :values => {
|
880
880
|
0 => 'idle',
|
881
881
|
1 => 'active' }
|
882
|
-
|
882
|
+
FitParser::File::Types.add_type :connectivity_capabilities, :uint32z, :values => {
|
883
883
|
1 => 'bluetooth',
|
884
884
|
2 => 'bluetooth_le',
|
885
885
|
4 => 'ant',
|
@@ -894,14 +894,14 @@ Fit::File::Types.add_type :connectivity_capabilities, :uint32z, :values => {
|
|
894
894
|
2048 => 'setup_incomplete',
|
895
895
|
4096 => 'continue_sync_after_software_update',
|
896
896
|
8192 => 'connect_iq_app_download' }
|
897
|
-
|
897
|
+
FitParser::File::Types.add_type :stroke_type, :enum, :values => {
|
898
898
|
0 => 'no_event',
|
899
899
|
1 => 'other',
|
900
900
|
2 => 'serve',
|
901
901
|
3 => 'forehand',
|
902
902
|
4 => 'backhand',
|
903
903
|
5 => 'smash' }
|
904
|
-
|
904
|
+
FitParser::File::Types.add_type :body_location, :enum, :values => {
|
905
905
|
0 => 'left_leg',
|
906
906
|
1 => 'left_calf',
|
907
907
|
2 => 'left_shin',
|
@@ -938,7 +938,7 @@ Fit::File::Types.add_type :body_location, :enum, :values => {
|
|
938
938
|
33 => 'right_forearm_extensors',
|
939
939
|
34 => 'neck',
|
940
940
|
35 => 'throat' }
|
941
|
-
|
941
|
+
FitParser::File::Types.add_type :source_type, :enum, :values => {
|
942
942
|
0 => 'ant',
|
943
943
|
1 => 'antplus',
|
944
944
|
2 => 'bluetooth',
|
@@ -949,6 +949,6 @@ Fit::File::Types.add_type :source_type, :enum, :values => {
|
|
949
949
|
# the type below is assigned to some fileds, but
|
950
950
|
# it is not defined in terms of values and basic type in FIT SDK as
|
951
951
|
# of 2015-01-29
|
952
|
-
|
952
|
+
FitParser::File::Types.add_type :bool, :uint8, :values => {
|
953
953
|
0 => false,
|
954
954
|
1 => true }
|
data/lib/fit_parser/version.rb
CHANGED