G2 HUD support?

Linus Torvalds torvalds at linux-foundation.org
Wed Apr 24 09:23:33 PDT 2019


On Wed, Apr 24, 2019 at 7:58 AM Jef Driesen <jef at libdivecomputer.org> wrote:
>
> No, I didn't look for the GPS info. Since the Uwatec data format uses a
> type/value encoding for the sample data and I didn't notice a new type,
> the only place where GPS info can be stored is in the MISC sample. I
> have seen some unknown subtypes before. A quick check shows there are
> indeed some unknown subtypes present in the G2 HUD data:
>
> Unknown misc sample with type 24 and length 3.
> Unknown misc sample with type 16 and length 91.
> Unknown misc sample with type 17 and length 67.

Hmm. The 3-byte length is too small for GPS data, and the others are too large.

At a guess, 16/17 might some "beginning dive state" and "ending dive
state", and that GPS data might be embedded in them as part of "more
data".

> I have pushed the changes now.

Thanks, updated subsurface.

                Linus


More information about the subsurface mailing list