Reading log files

John Van Ostrand john at vanostrand.com
Fri Aug 11 06:59:55 PDT 2017


Should libdivecomputer be able to read other sources of dives other than
dive computers? It seems to me that the interface is suitable for reading a
dive log file.

The idea would be that instead of passing LDC a serial file, you give it a
log file name and instead of a family, model and device you give it a
manufacturer, software and file type. LDC opens the file, decodes what it
needs to, and starts passing dives to the callback function.

I don't know about other software logs but the Cochran Analyst logs that
I've been working with basically stores the log and dive data in the exact
same format as was retrieved from the DC. So the parse functions are
probably identical.

-- 
John Van Ostrand
At large on sabbatical
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://libdivecomputer.org/pipermail/devel/attachments/20170811/98093f9d/attachment.html>


More information about the devel mailing list