Galileo Sol dive log decoding for sidemount dives.
Willem Ferguson
willemferguson at zoology.up.ac.za
Wed Apr 15 02:23:59 PDT 2015
Hi Jef,
Attached is my modification of Simon's code for decoding Uwatec dive
logs. For your convenience I also attach a dive log. If you look around
line 388, there is decoding of bookmarks. If you look at lines 390-440
there is decoding of cylinder changes. The Uwatec Sol registers cylinder
changes even if the gases are identical. I use the hex value f9x value
to detect a cylinder change. I also managed to decode a number of alarm
conditions such as max depth exceeded, rapid ascent, heavy workload, etc
but I did not spend a lot of time on that, though these are reflected in
my modifications to the code.
I must admit that I am focused on my own need which is to record
sidemount dives accurately, preferably using cylinder change events,
otherwise using bookmarks. Is any of this reasonably easily
implementable within the context of libdivecomputer-subsurface dive
upload? What does libdivecomputer do if there are two successive
gas-change events to the same gas? I get identical information if I
write the data on a slate during the dive and decode the hex dump
afterwards. At the moment I download each dive twice, once into the
Subsurface dive list and then into a hex dump (also using Subsurface).
Then I run the above software on the hex dump which gives me the times
at which I performed cylinder changes. A roundabout way and not
efficient at all, but it works if one is prepared to take the trouble.
What would you suggest I do in order to make a positive contribution? I
would be glad to help in any way.
Kind regards,
willem
-------------- next part --------------
A non-text attachment was scrubbed...
Name: main.cpp
Type: text/x-c++src
Size: 18716 bytes
Desc: not available
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20150415/0f492232/attachment-0001.cpp>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: subsurface.bin
Type: application/octet-stream
Size: 156076 bytes
Desc: not available
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20150415/0f492232/attachment-0001.bin>
More information about the subsurface
mailing list