OSTC sport DL porblem

Miika Turkia miika.turkia at gmail.com
Tue Jul 5 05:45:22 PDT 2016


On Tue, Jul 5, 2016 at 2:32 PM, Jef Driesen <jef at libdivecomputer.org> wrote:
> On 2016-07-05 12:28, Miika Turkia wrote:
>>
>> With OSTC Sport fw v10.25 and v10.26, I get the following error:
>>
>> [5.913449] ERROR: Unknown data format version. [in
>> hw_ostc_parser.c:239 (hw_ostc_parser_cache)]
>>
>> Subsurface v4.5.2-1446-gd221fbab7f34, built with libdivecomputer
>> v0.5.0-devel-Subsurface-branch
>> (da0073c971efb2b69fed3440db8850d3a1a0f146)
>>
>> I should have the latest versions of Subsurface, and our branch of
>> libdivecomputer. And did not spot anything related on upstream that
>> would be missing from subsurface-branch.
>>
>> memory dump attached
>
>
> Can you send me the raw of each dive? That's easier to work with, because I
> have no code to parse ostc3 memory dumps.
>
> Run libdivecomputer's dctool with these options
>
> dctool -v -l ostc3.log -f ostc3 download -f raw -o dive.%n.bin <serialport>
>
> and send back the ostc3.log and all dive.*.bin files.


Something is not working properly. Trying this with rfcomm channel 1
and getting the following on the terminal:

DATETIME 2016-07-05T12:41:54Z (1467722514)
VERSION 0.5.0-devel-Subsurface-branch (8356e22e61bf80234e5a1ccc3ed0f4ea81e0245d)
Opening the device (Heinrichs Weikamp OSTC 2, /dev/rfcomm0).
INFO: Open: name=/dev/rfcomm0
INFO: Configure: baudrate=115200, databits=8, parity=0, stopbits=1,
flowcontrol=0
INFO: Timeout: value=3000
INFO: Sleep: value=300
INFO: Flush: queue=3, input=0, output=0
Registering the event handler.
Registering the cancellation handler.
Downloading the dives.
Event: progress 0.00% (0/4194304)
INFO: Write: size=1, data=BB
INFO: Read: size=0, data=
ERROR: Failed to receive the echo. [in hw_ostc3.c:211 (hw_ostc3_transfer)]
ERROR: Failed to send the command. [in hw_ostc3.c:444
(hw_ostc3_device_init_download)]
ERROR: Error downloading the dives. [in dctool_download.c:218 (download)]
ERROR: Input/output error (5) [in serial_posix.c:205 (serial_close)]
ERROR: Timeout

miika


More information about the subsurface mailing list