Alpha test release of the new Suunto Downloader Available

3rd party extensions (phpDivingLog, dive computer downloader,...)
Post Reply
James Connell
Posts: 103
Joined: Fri Dec 08, 2006 05:33
Location: Alaska, USA
Contact:

Alpha test release of the new Suunto Downloader Available

Post by James Connell » Wed Sep 19, 2007 05:06

Yes, I finally got it working - sort of.

This version will output All versions of output.
It Should work fine with Diving Log but Diving Log wouldn't understand the output for a D model (version=2)
Run it as a stand alone from the "Run" option of the "Start" button.
use this as the command line ( <> brackets indicate optional entries)

SuuntoXMLDownloader.exe -port=<COMp> -version=<0|1|2|> -file=<path>

port: Com Port to open.

version: 0 = original output format; 1 = current format; 2 = new DCDML format.

file: path/filename of output file.

I recommend an additional switch of -fmt to format the output for human reading ;-)
you can 'unformat' output with -nfmt

You can move the window around with -top=<n> -left=<n>

you adjust the 'delay' with -d=<1...12>

these are not fully implemented in this release
Additional switchs are -um -ui -us which specify "output units"
um = UseMetric; ui = UseImperial; us = UseScientific;

One thing I'm still working on is the "Events" that is missing in this release.
JConn Inv.
Software Tools for Suunto Dive Computers
http://LiquidImagePhoto.com

divinglog
Site Admin
Posts: 4934
Joined: Sat Feb 08, 2003 21:02
Location: Coburg
Contact:

Post by divinglog » Wed Sep 19, 2007 11:45

Hi James

First of all - great work! Then, can you (and everyone else) send me your xml files in the several formats (version 0, 1 and 2 with the switch -fmt) so I can adjust the import in Diving Log. I don't have any Suunto, so this would be a great help.

Thanks,
Sven

mhedstrom
Posts: 46
Joined: Wed Jun 06, 2007 23:21

Post by mhedstrom » Wed Sep 19, 2007 14:32

James, does this one work with the Cobra 2? (she asks hopefully)

James Connell
Posts: 103
Joined: Fri Dec 08, 2006 05:33
Location: Alaska, USA
Contact:

Post by James Connell » Wed Sep 19, 2007 15:33

mhedstrom wrote:James, does this one work with the Cobra 2? (she asks hopefully)
Sorry, No, not yet. That's next. The cobra2/vyper2 uses a hybrid of both the old and new communication protocols. It appears the internal layout is different from both types as well. I have only had a quick look at a cobra2, enough to figure out the com protocols and get a dump of the memory, but again, it was a new one and didn't contain any dives, so I have nothing to compare it to.

I am also considering a major rewrite of most of the downloader before any work on the cobra2 takes place. The underpinnings of the API are 'C' language based I want to make a change to 'C++' and the ability to use polymorpic classes. That will simplify switching from one computer model to the other, a very 'kunky' and error prone process now.
JConn Inv.
Software Tools for Suunto Dive Computers
http://LiquidImagePhoto.com

James Connell
Posts: 103
Joined: Fri Dec 08, 2006 05:33
Location: Alaska, USA
Contact:

Post by James Connell » Wed Sep 19, 2007 15:51

divinglog wrote: Then, can you (and everyone else) send me your xml files in the several formats (version 0, 1 and 2 with the switch -fmt) so I can adjust the import in Diving Log.
There isn't any change in version 0, it does not support a D model. At this time neither does version 1. The reason for the change to DCDML in version 2 was to support the richer profiles in the Ds.

Yes, I know, that was the reason for version 1! I got caught by surprise by just How different the internals functions were. I just didn't expect Suunto to completely reinvent the wheel for every new model :?
With the older models, you sent a command <nextdive> and the divecomputer handed you a complete dive preformatted, with the Ds you must read raw memory and decode the dives yourself. Version 1 was in anticipation of the the former and it's limitations.

I am going to try to tie in version 1 to D output today, but I don't have a lot of hope!
JConn Inv.
Software Tools for Suunto Dive Computers
http://LiquidImagePhoto.com

James Connell
Posts: 103
Joined: Fri Dec 08, 2006 05:33
Location: Alaska, USA
Contact:

NEW VERSION IS ON THE WEB SITE!

Post by James Connell » Thu Sep 20, 2007 05:41

NEW VERSION IS ON THE WEB SITE!

Version 2.5.4 alpha is ready to be abused.

Most events are now being reported.
I'm still missing a few though.

What I really need is a 'deco ceiling violation' but don't hurt yourselves.
JConn Inv.
Software Tools for Suunto Dive Computers
http://LiquidImagePhoto.com

Post Reply