1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-06-02 19:36:14 +02:00
Gadgetbridge/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/garmin/fit/fieldDefinitions
Daniele Gobbetti 57db0c7c33 Garmin protocol: change naming and logic of several FIT classes
- refactor the logic of Global and Local messages
- add some Global messages with naming taken from [1]
- Global messages are not enum because there are too many
- introduce the concept of FieldDefinitionPrimitive
- add new Field Definitions
- add support for developer fields and array fields
- add test case for FIT files taken from [0]

[0] https://github.com/polyvertex/fitdecode/
[1] https://www.fitfileviewer.com/
2024-04-25 18:09:35 +02:00
..
FieldDefinitionAlarm.java Garmin protocol: change naming and logic of several FIT classes 2024-04-25 18:09:35 +02:00
FieldDefinitionDayOfWeek.java Garmin protocol: create specific field definition for day of week 2024-04-25 18:09:35 +02:00
FieldDefinitionFileType.java Garmin protocol: change naming and logic of several FIT classes 2024-04-25 18:09:35 +02:00
FieldDefinitionGoalSource.java Garmin protocol: change naming and logic of several FIT classes 2024-04-25 18:09:35 +02:00
FieldDefinitionGoalType.java Garmin protocol: change naming and logic of several FIT classes 2024-04-25 18:09:35 +02:00
FieldDefinitionLanguage.java Garmin protocol: change naming and logic of several FIT classes 2024-04-25 18:09:35 +02:00
FieldDefinitionMeasurementSystem.java Garmin protocol: change naming and logic of several FIT classes 2024-04-25 18:09:35 +02:00
FieldDefinitionTemperature.java Garmin protocol: refactoring and fixes of BaseTypes 2024-04-25 18:09:35 +02:00
FieldDefinitionTimestamp.java Garmin protocol: move field encode/decode interface to the FieldDefinition 2024-04-25 18:09:35 +02:00
FieldDefinitionWeatherCondition.java Garmin protocol: refactoring and fixes of BaseTypes 2024-04-25 18:09:35 +02:00