<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi all,<div class=""><br class=""></div><div class="">Thank you so much! I think I have solved it now! Amazing to get three responses this quickly :)</div><div class=""><br class=""></div><div class="">Best wishes,</div><div class=""><br class=""></div><div class="">Max<br class=""><div><blockquote type="cite" class=""><div class="">On 9 Mar 2017, at 23:30, Jérémie Guichard <<a href="mailto:djeBrest@gmail.com" class="">djeBrest@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Hello Max,<div class=""><br class=""></div><div class="">I guess the easiest would be to look at the dm4_dive and dm5_dive functions in subsurface core/parse-xml.c file <a href="https://github.com/Subsurface-divelog/subsurface/blob/master/core/parse-xml.c" class="">https://github.com/Subsurface-divelog/subsurface/blob/master/core/parse-xml.c</a></div><div class=""><br class=""></div><div class="">Good reading,</div><div class=""><br class=""></div><div class="">Jeremie</div></div><div class="gmail_extra"><br class=""><div class="gmail_quote">2017-03-09 16:27 GMT+07:00 Max Lindqvist <span dir="ltr" class=""><<a href="mailto:maax614@gmail.com" target="_blank" class="">maax614@gmail.com</a>></span>:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word" class="">Hi,<div class=""><br class=""></div><div class="">I am working on a small program for analysing freedive data from Sunnto DM4.</div><div class=""><br class=""></div><div class="">I’ve got some troubles understanding the SampleBlob and found this email from the link below.</div><div class=""><br class=""></div><div class=""><a href="http://lists.subsurface-divelog.org/pipermail/subsurface/2014-November/015798.html" target="_blank" class="">http://lists.subsurface-<wbr class="">divelog.org/pipermail/<wbr class="">subsurface/2014-November/<wbr class="">015798.html</a></div><div class=""><br class=""></div><div class="">Could you give some advice on how I can convert bytes 4-7 to a depth in meters?</div><div class=""><br class=""></div><div class="">Best regards,</div><div class=""><br class=""></div><div class="">Max</div></div><br class="">______________________________<wbr class="">_________________<br class="">
subsurface mailing list<br class="">
<a href="mailto:subsurface@subsurface-divelog.org" class="">subsurface@subsurface-divelog.<wbr class="">org</a><br class="">
<a href="http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface" rel="noreferrer" target="_blank" class="">http://lists.subsurface-<wbr class="">divelog.org/cgi-bin/mailman/<wbr class="">listinfo/subsurface</a><br class="">
<br class=""></blockquote></div><br class=""></div>
</div></blockquote></div><br class=""></div></body></html>