Need testers for dive computer downloader

3rd party extensions (phpDivingLog, dive computer downloader,...)
Post Reply
TnT
Posts: 244
Joined: Thu Nov 29, 2007 14:53
Contact:

Need testers for dive computer downloader

Post by TnT » Fri Jun 20, 2008 18:41

A few months ago, I started a project to create an open source and cross platform software library to communicate with dive computers from various manufacturers. Third party applications (such as Diving Log) will be able to use this library to implement a download function without the need to know the underlying transfer protocol.

We have made quite some progress and already support most devices from Suunto, Uwatec and Reefnet. And in the past weeks, we started working on adding support for Oceanic dive computers (more precisely the Atom 2). Since adding support for new models/manufacturers is not trivial, we need your help!

If your device is not supported yet, you can help us by providing a capture file of a transfer with the software of the manufacturer. Since most devices are communicating over a serial port (either directly or by means of a builtin serial to usb converter), you can simply run an application that intercepts all serial communication to and from the device.

Capturing a transfer is not very difficult. The procedure is as follows:
  1. Download PortMon from the Microsoft website [1,2].
  2. Open this zip file and start the portmon.exe program. This program is only a single exe and needs no installation.
  3. In the menu "Computer" choose "Connect Local". If this option is not available (greyed-out), the program has done this automatically.
  4. In the menu "Edit" choose "Max Output Bytes..." Change the value in the next dialog to a large value (such as 3072) and click "Apply".
  5. In the menu "Options" enable "Show Hex".
  6. In the menu "Capture" enable "Capture Events" .
  7. In the menu "Capture -> Ports" enable only the COM port which is connected to the dive computer interface. If you don't know which port is used, you may enable all of them.
  8. Start the manufacturer's software and initiate a transfer.
  9. Wait until the transfer is finished and go back to PortMon. If you did everything right, you should see a large list of data now.
  10. In the menu "File" choose "Save As". Save the logfile somewhere where you can easily find it again. On the desktop for instance.
[1] http://www.microsoft.com/technet/sysint ... rtmon.mspx
[2] http://download.sysinternals.com/Files/PortMon.zip (142 KB)

If your device is already supported and we have created the test application, you can help us by providing memory dumps of your device. Together with the data in the manufacturer's application, we use this memory dump to decipher the downloaded data. Since this is the hardest part for us, we need as much data as we can get.

All test applications are available from my website (see list at the end of this post). Connect the dive computer to the PC and put it into transfer mode (if that is necessary for your device). Now, run the test application and wait until it is finished. It will show you lots of information in an old fashioned "dos window". To make it easy to email the info, the output is written to a logfile and a number of memory dumps.

Suunto:

http://users.telenet.be/sacn/suunto/vyper.exe (for Vyper, Cobra, Stinger, Mosquito, Vytec and Gekko)
http://users.telenet.be/sacn/suunto/d9.exe (for D6 and D9)
http://users.telenet.be/sacn/suunto/vyper2.exe (for Vyper2 and Cobra2)
http://users.telenet.be/sacn/suunto/solution.exe (for Solution)
http://users.telenet.be/sacn/suunto/eon.exe (for EON, Solution Alpha and Solution Nitrox/Vario)

Uwatec:

http://users.telenet.be/sacn/suunto/memomouse.exe (for Uwatec Aladin, transfer from memomouse)
http://users.telenet.be/sacn/suunto/aladin.exe (for Uwatec Aladin, direct transfer with DataTrak DOS kabel)
http://users.telenet.be/sacn/suunto/smart.exe (for Uwatec Smart)

Reefnet:

http://users.telenet.be/sacn/suunto/sensus.exe (for Sensus Original)
http://users.telenet.be/sacn/suunto/sensuspro.exe (for Sensus Pro)
http://users.telenet.be/sacn/suunto/sensusultra.exe (for Sensus Ultra)

Oceanic:

http://users.telenet.be/sacn/suunto/atom2.exe (for Atom 2, VT3 and Datamask)
http://users.telenet.be/sacn/suunto/veo250.exe (for Veo 250)
http://users.telenet.be/sacn/suunto/vtpro.exe (for VT Pro)

Mares:

http://users.telenet.be/sacn/suunto/nemo.exe (for Nemo)

Note: If the interface is not connected to the first serial port (COM1), you need to select the correct port with a command line parameter. The easiest way to do this choosing "run" from the windows start menu and browse for the test application. Now you'll see the full path to the application (possibly with quotes around it). Add a space to the end and the name of the port. Something like this:

"C:\some directory here\application.exe" COM3

And press "OK" of course :-)
Last edited by TnT on Fri Jan 23, 2009 13:24, edited 2 times in total.

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

Post by divinglog » Fri Jun 20, 2008 21:00

I want to encourage everyone who wants a direct download function from their dive computer to participate in this very promising project. There is a good chance that we have direct downloads for a lot of dive computers in the future, without the need to use the manufacturers software.

Thank you Jef for your efforts!

@rno
Posts: 28
Joined: Wed Nov 15, 2006 10:58
Location: Wanroij, Holland

Post by @rno » Tue Jun 24, 2008 07:27

When I use the smart.exe app for my Uwatec SmartCom will it ONLY read information from the computer and not store anything back?

TnT
Posts: 244
Joined: Thu Nov 29, 2007 14:53
Contact:

Post by TnT » Tue Jun 24, 2008 08:47

The test applications do NOT modify any settings on your dive computer.

bowlofpetunias
Posts: 25
Joined: Tue Apr 08, 2008 10:49
Location: Sydney, Australia

Post by bowlofpetunias » Tue Jun 24, 2008 09:33

Have emailed you data from both my smartcoms.

wurzl
Posts: 2
Joined: Mon Mar 03, 2008 18:26

Post by wurzl » Sun Jun 29, 2008 06:33

ich würde ja gern behilflich sein
habe selber einen oceanic pro plus 2

aber leider kann ich hierfür zu wenig englisch und würde mich freuen wenn ihr eure fragen auch in deutschl stellen könntet .

eurer progarmm ist wirklich super genial und da würde ich gerne behilflich sein

grüße

iris das wurzl

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

Post by divinglog » Mon Jun 30, 2008 12:06

Hallo Iris

Das Entwicklerteam kommt aus den verschiedensten Ländern und sie sprechen leider kein Deutsch. Es handelt sich um ein Open Source Projekt das eine Reihe von Download Bibliotheken für die verschiedensten Tauchcomputer entwickeln möchte. Das Projekt steht in keinem Zusammenhang mit Diving Log, die fertigen Bibliotheken können dann aber von Programmen wie z.B. Diving Log verwendet werden.

Schöne Grüße,
Sven

TnT
Posts: 244
Joined: Thu Nov 29, 2007 14:53
Contact:

Post by TnT » Mon Jun 30, 2008 18:06

@Sven

Ich spreche ein bisschen Deutsch. Nicht perfekt, aber genug um die Frage zu verstehen.

@wurzl

Bevor ich versuche meine Beitrag manuell zu übersetzen, können Sie die Google-Übersetzung probieren? Das wäre viel einfacher für mich.

http://translate.google.com/translate?u ... l=en&tl=de

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

Post by divinglog » Wed Aug 06, 2008 23:49

Due to this project, a first set of 3 downloaders use now this library: Uwatec Smart, Aladin and Sensus Ultra.

I want to declare these 3 downloads as beta, but they already work well. The download progress is not yet reported correct and there are maybe some other smaller issues.

The Uwatec Smart irda downloader uses fully the library, the Aladin and Sensus Ultra can use both methods, the already existing "Diving Log" method and the currently named "OSDL" (Open Source Downloader) method. To switch to the OSDL method, click the "Advanced Settings" button in the download window and change the setting "Download Method" to "OSDL". To use the Smart download you must start the Downloader.exe file from the Explorer, as there is no link yet in Diving Log. To download this beta version, click here: DownloaderSmart.zip

Extract the zip file into the Diving Log program folder and start the Aladin and Sensus Ultra download as usual (don't forget to switch the download method to try the new one).

TnT
Posts: 244
Joined: Thu Nov 29, 2007 14:53
Contact:

Post by TnT » Sat Oct 25, 2008 06:26

I can use some more data from these Uwatec models:
  • Uwatec Aladin O2
    Uwatec Smart (all models)
    Uwatec Galileo (all models)
Memory dumps from other manufacturers/models are also welcome of course. In the meantime, I have also prepared a downloader for the Mares Nemo. It is available here:

http://users.telenet.be/sacn/suunto/nemo.exe (windows)
http://users.telenet.be/sacn/suunto/nemo (linux)

As usual, all data and can be send to my email address: jefdriesen_at_hotmail.com

For those who are interested in the source code of our project, have a look at our new website:

http://www.divesoftware.org/libdc/

AndyDragon
Posts: 110
Joined: Tue Nov 14, 2006 08:38
Location: Penetanguishene, Ontario
Contact:

Post by AndyDragon » Tue Nov 04, 2008 14:27

The Oceanic VT3 seems to have the same memory layout as the ATOM2. I have been able to dump out the whole of memory and navigate through the dives in the same manner (as I understand, these are the same computer with different layouts anyway).

Is there any format specification for the actual logbook entry/profile data? I'd like to parse the data for some analysis...
Andrew Forget
PADI IDC Staff Instructor 212158

gjc999
Posts: 22
Joined: Wed Apr 30, 2008 17:26

Oceanic Veo 250 Data

Post by gjc999 » Thu Nov 06, 2008 07:46

I have e-mailed data for a data capture from an Oceanic Veo 250. I hope it helps with any efforts that you are putting towards the Oceanic line.

bowlofpetunias
Posts: 25
Joined: Tue Apr 08, 2008 10:49
Location: Sydney, Australia

Post by bowlofpetunias » Thu Nov 06, 2008 08:46

Do you want me to send the downloads from my smartcoms again?
TnT wrote:I can use some more data from these Uwatec models:
  • Uwatec Aladin O2
    Uwatec Smart (all models)
    Uwatec Galileo (all models)
Memory dumps from other manufacturers/models are also welcome of course. In the meantime, I have also prepared a downloader for the Mares Nemo. It is available here:

http://users.telenet.be/sacn/suunto/nemo.exe (windows)
http://users.telenet.be/sacn/suunto/nemo (linux)

As usual, all data and can be send to my email address: jefdriesen_at_hotmail.com

For those who are interested in the source code of our project, have a look at our new website:

http://www.divesoftware.org/libdc/

TnT
Posts: 244
Joined: Thu Nov 29, 2007 14:53
Contact:

Post by TnT » Thu Nov 06, 2008 14:36

AndyDragon wrote:The Oceanic VT3 seems to have the same memory layout as the ATOM2. I have been able to dump out the whole of memory and navigate through the dives in the same manner (as I understand, these are the same computer with different layouts anyway).

Is there any format specification for the actual logbook entry/profile data? I'd like to parse the data for some analysis...
We have some (incomplete) information on the profile data, but it's scattered over many files. I'll have to pick out the relevant pieces. I'm already working on the code to parse the downloaded data. Some of the other models (from reefnet, suunto and uwatec) are almost ready and I'll provide an update soon.

BTW, can you send me the memory dump from your device?
bowlofpetunias wrote:Do you want me to send the downloads from my smartcoms again?
Downloading and decoding the data from your smartcom works already fine, so that's not necessary. But I don't have any data from some of the other models (Aladin Tec, Prime, One, Tec 2G, etc).

bowlofpetunias
Posts: 25
Joined: Tue Apr 08, 2008 10:49
Location: Sydney, Australia

Post by bowlofpetunias » Fri Nov 07, 2008 01:25

bowlofpetunias wrote:Do you want me to send the downloads from my smartcoms again?
TnT wrote: Downloading and decoding the data from your smartcom works already fine, so that's not necessary. But I don't have any data from some of the other models (Aladin Tec, Prime, One, Tec 2G, etc).
ok ... you mentioned the smarts again so wasn't sure

Post Reply