Hi,
Date: Thu, 21 May 2020 13:50:57 -0700 From: Linus Torvalds <[email protected]>
Yeah, IO is working and data is transferring. At least to begin with. The libdivecomputer log is more clear about the actual data transfer, but they look fine too - all the way until it just starts sending all FF (with then very occasional noise of other things that again look like valid data).
On the 6D command, the OSTC sends a list of 256 "short (or compact) headers" (16 bytes each, so 4096Bytes in total). If I look into the libdivecomputer log, I see 5 dives in the logbook. 4 at the beginning and one at pos 229 which is a bit odd. But should work anyway. Profile lengths in bytes are 5828, 5276, 6020, 4879, (Normal) but 8470530 for the dive at pos. 229 (not normal)).
After sending the 4096bytes the OSTC sends it's "Ready" byte 0x4D and then we have the error:
[1.440125] WARNING: Unexpected empty header found. [in /android/subsurface/libdivecomputer/src/hw_ostc3.c:756 (hw_ostc3_device_foreach)]
So, assuming the bytes are transferred correctly into the correct locations within subsurface/libdivecomputer I can only guess that this fifth dive causes the issue.
Our "official" downloader is libdivecomputer, btw. We decided long ago not to make our own download software but better support third party logbook software.
Regards, Matthias _______________________________________________ subsurface mailing list [email protected] http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface
