[PATCH] More events from Suunto DM4 added

Dirk Hohndel dirk at hohndel.org
Thu Mar 7 10:32:03 PST 2013


Miika Turkia <miika.turkia at gmail.com> writes:

> On Thu, Mar 7, 2013 at 9:40 AM, Jef Driesen <jefdriesen at telenet.be> wrote:
>> 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.
>
> Thanks for the tip. I have noticed at least one difference, Surface is
> 19 or 0x13 in DM4 and on suunto_d9_parse.c that is Deep Safety Stop.
> However, this of course could be dependent on the DC. I have Stinger,
> Vyper Air and D6 on the sample databases I have received but I have
> not really tried to see whether the events are same or different.

Do they store the names as well or just the numbers?

/D


More information about the subsurface mailing list