Hi Ralf.
First of all it has to be said that the Apeks DSX, together with a lot
of other dive computers distributed by Oceanic, Aeris, Genesis,
Sherwood, Tusa, and others, is designed and made by a company called
'Pelagic Pressure Systems'. They are well known for obfuscating their
protocols and actively trying to prevent the products they make from
interacting with third party applications, and instead bind the
customers who have paid for the hardware that they produce into their
own non-free / freemium dive log software.
So even if we get this to work it is entirely possible that this will be
breaking again when device firmware updates introduce new layers of
obfuscation - unfortunately this has happened before.
On 4/05/24 02:32, Ralf Mengwasser wrote:
> Now where is Subsurface standing as far as integration of the Apex
> DSX? Will this ever work? Can I do something to make it work?
Like many other dive log programs (AFAIK including Diving Log),
Subsurface uses the libdivecomputer
(
https://github.com/libdivecomputer/libdivecomputer) library to
interface with dive computers. We run our own branch of it that has some
improvements over, and supports some dive computer models / transports
that are not supported in the 'vanilla' version of the library.
Our last update to the latest version of libdivecomputer was in February
(
https://github.com/subsurface/subsurface/pull/4106) - and I had not
planned to do another one of these for another 3 months or so as they
are quite a bit of work to make our custom changes work around the
changes in libdivecomputer.
But if you have a look into the code in libdivecomputer you'll see that
the Apeks DSX is really just a variation of the Oceanic i330R, so for
now, and until the next libdivecomputer update in Subsurface, you might
be able to create a custom branch of Subsurface with the changes in the
respective files (`src/pelagic_i330r.c`, `src/oceanic_atom2_parser.c`)
to make importing work natively in Subsurface.
Cheers
Michael Keller