<div dir="ltr">Hello Max,<div><br></div><div>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">https://github.com/Subsurface-divelog/subsurface/blob/master/core/parse-xml.c</a></div><div><br></div><div>Good reading,</div><div><br></div><div>Jeremie</div></div><div class="gmail_extra"><br><div class="gmail_quote">2017-03-09 16:27 GMT+07:00 Max Lindqvist <span dir="ltr"><<a href="mailto:maax614@gmail.com" target="_blank">maax614@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Hi,<div><br></div><div>I am working on a small program for analysing freedive data from Sunnto DM4.</div><div><br></div><div>I’ve got some troubles understanding the SampleBlob and found this email from the link below.</div><div><br></div><div><a href="http://lists.subsurface-divelog.org/pipermail/subsurface/2014-November/015798.html" target="_blank">http://lists.subsurface-<wbr>divelog.org/pipermail/<wbr>subsurface/2014-November/<wbr>015798.html</a></div><div><br></div><div>Could you give some advice on how I can convert bytes 4-7 to a depth in meters?</div><div><br></div><div>Best regards,</div><div><br></div><div>Max</div></div><br>______________________________<wbr>_________________<br>
subsurface mailing list<br>
<a href="mailto:subsurface@subsurface-divelog.org">subsurface@subsurface-divelog.<wbr>org</a><br>
<a href="http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface" rel="noreferrer" target="_blank">http://lists.subsurface-<wbr>divelog.org/cgi-bin/mailman/<wbr>listinfo/subsurface</a><br>
<br></blockquote></div><br></div>