Integration of Sentinel rebreather dowload-library to Subsurface (or libdivecomputer)

Dirk Hohndel dirk at
Mon Jun 5 18:56:14 PDT 2017

> On Jun 5, 2017, at 10:18 AM, Paul-Erik Törrönen <poltsi at> wrote:
> I recently got the libsentinel¹ completed (thanks to Miika) to the degree that it now downloads and parses the dive data from the rebreather.


> It returns a struct with (almost, some data still mystifies me) all data.
> The question is, how can this be integrated to Subsurface?
> Some background: I'm a complete newbie when it comes to writing C-code. I originally tried to write this as a part of the libdivecomputer but since I did not (and still not) understand quite what the data model for the dive profiles are in libdc, I had problems in creating a new 'driver' for it. Instead I wrote the libsentinel which let me use (and comprehend) very simple structures to store the dive data.
> Or should this after all be added to libdivecomputer? I guess the serial handling would then be working also for Windows.

I think having it in libdivecomputer is preferable, but not always worth the effort. Especially if the user community is relatively small.
How are you using it to import data into Subsurface today?


More information about the subsurface mailing list