Patches to add basic support for the Suunto EON Steel

Linus Torvalds torvalds at linux-foundation.org
Mon Nov 24 09:19:35 PST 2014


On Mon, Nov 24, 2014 at 5:40 AM, Jef Driesen <jef at libdivecomputer.org> wrote:
>
> You're right, I'm only looking at the basic patch without the new string
> stuff. So I left the code, and just fixed the memory leak.
>
> The eonsteel backend is now on the master branch.

.. and here are the updated patches to support the extended
information. Things still seem to work, although subsurface now has a
somewhat misleading debug message:

  string field "FW Version": 1.0.3 -- overwriting the existing firware of (null)
  string field "Serial": #p1437019 -- overwriting the existing serial of (null)

which might even SIGSEGV on non-Linux targets due to that "%s" with
NULL. But that's purely a subsurface debug message issue.

                      Linus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-parser-add-DC_FIELD_STRING-field-type-for-parse-time.patch
Type: text/x-patch
Size: 2505 bytes
Desc: not available
URL: <http://libdivecomputer.org/pipermail/devel/attachments/20141124/073acecb/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Suunto-EON-Steel-populate-dive-surface-pressure-and-.patch
Type: text/x-patch
Size: 7487 bytes
Desc: not available
URL: <http://libdivecomputer.org/pipermail/devel/attachments/20141124/073acecb/attachment-0001.bin>


More information about the devel mailing list