Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Garmin sdk in maven + add support for surface interval #6

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

lucagiovagnoli
Copy link

Just opening a pull request here in case it's useful to anyone, doesn't need to be merged in, I used the following code to convert my dives from my Mosquito.

What

  1. I added the Garmin SDK import from Maven repository
  2. Building as a fat jar.
  3. Supports conversion of surface interval time too.

Testing

  • Tested with Suunto Mosquito SDE divelog on Linux.
java -cp ./target/SdeToFit-1.0-SNAPSHOT-jar-with-dependencies.jar  com.github.nradov.sdetofit.SdeToFit  ./Divelogs.SDE  output/
Converting dive log: "0.xml"
Converting dive log: "1.xml"
Converting dive log: "2.xml"
Converting dive log: "3.xml"
  • I had to remove the check for DOCUMENT_ELEMENT_NAME because the Mosquito doesn't log that. Hopefully this doesn't break for the D3 or other computers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant