Dive data import error with Hollis DG03
Hamish Moffatt
hamish at cloud.net.au
Mon Mar 24 04:35:24 PDT 2014
On 24/03/14 21:21, Jef Driesen wrote:
>
> Or make it persistent by disable the low_latency flag when opening the
> serial port in libdivecomputer. See the attached patch for a prototype
> implementation. On Linux, it will clear the low_latency flag, without
> setting the latency_timer value, because that requires root
> permissions. But based on the info we gathered so far, that should
> already do the trick. On Mac OS X, it seems possible to set the
> latency timer directly, although I have no idea whether that actually
> works or not.
>
> Can anyone give this a try?
>
Isn't this the wrong solution? As best I can tell, the dive computer
needs a bit of delay between commands, which it gets by accident due to
the read latency. The default read latency works on Windows and Mac, but
those could be changed by the user. The default read latency doesn't
work on linux.
A short delay within libdivecomputer won't even be noticeable on systems
where the default read latency is already larger.
Hamish
More information about the subsurface
mailing list