[PATCH] More events from Suunto DM4 added

Jef Driesen jefdriesen at telenet.be
Wed Mar 6 23:40:16 PST 2013


On 2013-03-07 06:23, Miika Turkia wrote:
> I got a few more events from a new sample database. Bookmark heading 
> is
> now shown if such information is stored. Also the unknown events 
> display
> the event number for easier identification.

The event numbers in your patch seem to match with the raw data from 
the dive computer, so you can likely re-use the interpretation from 
libdivecomputer (see src/suunto_d9_parser.c) for the unknown events. 
However, that might also mean the interpretation depends on the device 
family. For example the events for the D9 and vyper type devices are not 
the same. Although it's of course also possible that suunto converts to 
a common representation, which happens to be that of the D9 family. I 
never looked at the logbook format, so I don't know for sure.

Jef


More information about the subsurface mailing list