Search found 62 matches

by TnT
28 Oct 2022, 13:09
Forum: OSTC+, 3, cR, sport, nano and OSTC 2 (Mod. 2015 and later)
Topic: Unable to download logbook
Replies: 3
Views: 7770

Re: Unable to download logbook

It looks like there is one logbook entry that contains invalid data:

0F000000000000000000000000FFFF00

This is the dive that should have number 710 at index 197.

This particular entry does mess up the logic to find your most recent dive. It has number 65535 (0xFFFF), so it gets selected as your ...
by TnT
10 Apr 2020, 10:19
Forum: OSTC 4 and OSTC 5
Topic: Kann Log nicht auslesen obwohl im OSTC Log alle TG i.O. sind
Replies: 19
Views: 33110

Re: Kann Log nicht auslesen obwohl im OSTC Log alle TG i.O. sind

The error in the Subsurface 4.9.3 (16 dives) log file is a bug in subsurface. There is an error parsing the dive data. Subsurface handles that as a fatal error, and aborts the download. I believe this has already been fixed. This is already visible in the Subsurface 4.9.3-1331. (18 dives), because ...
by TnT
07 Apr 2020, 16:00
Forum: OSTC 4 and OSTC 5
Topic: Kann Log nicht auslesen obwohl im OSTC Log alle TG i.O. sind
Replies: 19
Views: 33110

Re: Kann Log nicht auslesen obwohl im OSTC Log alle TG i.O. sind

Can you download again, but this time with the "libdivecomputer-Protokolldatei speichern" checkbox enabled? Email the logfile to jef@libdivecomputer.org, or attach it to the forum topic.
by TnT
08 Jan 2020, 07:58
Forum: OSTC+, 3, cR, sport, nano and OSTC 2 (Mod. 2015 and later)
Topic: OSTC2 Download of dives not possible in Subsurface
Replies: 14
Views: 19695

Re: OSTC2 Download of dives not possible in Subsurface

@Goose_66: You shouldn't get an "unsupported operation" error. Can you try to download your dives again with the "enable libdivecomputer logfile" checkbox enabled? Afterwards, send the log file, so I can see what is going wrong.

@divemasterjaap: Enable the "Log Errors" checkbox under advanced ...
by TnT
07 Jan 2020, 12:05
Forum: OSTC+, 3, cR, sport, nano and OSTC 2 (Mod. 2015 and later)
Topic: OSTC2 Download of dives not possible in Subsurface
Replies: 14
Views: 19695

Re: OSTC2 Download of dives not possible in Subsurface

Both subsurface and macdive use libdivecomputer for downloading dives. So it's not unexpected you see the same problem in both applications. This particular issue has already been fixed in libdivecomputer, but the latest subsurface release (v4.9.3) is older and doesn't have this fix. If you can't ...
by TnT
25 Nov 2019, 13:10
Forum: OSTC 4 and OSTC 5
Topic: Tauchprofil stimmt nicht im Logbuch
Replies: 32
Views: 182854

Re: Tauchprofil stimmt nicht im Logbuch

I can certainly have a look a the download code. But for that, I need the libdivecomputer log file from a download with an OSTC4 computer that shows the problem. Both Diving Log and Subsurface have an option to create such a log file.
by TnT
21 Nov 2019, 07:55
Forum: OSTC+, 3, cR, sport, nano and OSTC 2 (Mod. 2015 and later)
Topic: Hw OS TECH Version 3.07
Replies: 18
Views: 52275

Re: Hw OS TECH Version 3.07

I can always use some extra data to test the workaround.

To download the raw data from your OSTC, you can use the libdivecomputer command-line tool:

https://libdivecomputer.org/builds/stable/windows/dctool.exe

Download two times, using these options:

dctool.exe -vv -l ostc3-download.log -f ostc3 ...
by TnT
06 Nov 2017, 21:24
Forum: OSTC+, 3, cR, sport, nano and OSTC 2 (Mod. 2015 and later)
Topic: Bluetooth Connection Issue
Replies: 12
Views: 11612

Re: Bluetooth Connection Issue

Mutley Wrote:
-------------------------------------------------------
> I have com
> 12,13 for incoming connections and com 14 for
> outgoing connections, but each time I attempt to
> connect or download, i get the following response.
> DC_STATUS_NOACCESS. The OSTC screen only shows
> Starting ...
by TnT
23 Jun 2017, 15:54
Forum: OSTC 4 and OSTC 5
Topic: Info: Subsurface android can direct import OSTC4 dives
Replies: 1
Views: 5839

Re: Info: Subsurface android can direct import OSTC4 dives

If you try again, do you get the same behaviour every time? The strange part is that it fails with a timeout, but when you look closer at the timestamps, there is no sign of a 3 second timeout. The entire session lasts only about 1.5 seconds.

Are you able to download a full memory dump?

dctool.exe ...
by TnT
02 Nov 2016, 15:23
Forum: OSTC Mk.2, 2N and 2C (Sold between 2007 and 2014)
Topic: Gaswechsel im Logbuch
Replies: 7
Views: 61844

Re: Gaswechsel im Logbuch

Libdivecomputer reports a gaschange on the first sample to indicate the initial gas mix. So if you join two dives in subsurface, that switch is probably the initial mix of the second half. If you join two dives with the same initial mix (e.g. Air), then the switch is basically a no-op (e.g. air to ...
by TnT
03 Oct 2016, 08:21
Forum: OSTC 4 and OSTC 5
Topic: Firmware V1.1.2 – what’s new?
Replies: 11
Views: 18759

Re: Firmware V1.1.2 – what’s new?

tanomogi Wrote:
-------------------------------------------------------
> * via dctool[dctool --family ostc3 --model 0x3B
> --verbose --logfile dctool.log fwupdate --firmware
> OSTC4_update_160919_V1_1_2__RTE_0_90.bin ] //
> can't connect well
> [pre]
> [0.000373] DATETIME 2016-09-27T15:10:46Z ...
by TnT
02 Jul 2016, 21:03
Forum: OSTC 4 and OSTC 5
Topic: Wie macht man einen Memory dump mit dctool.exe ?
Replies: 1
Views: 5716

Re: Wie macht man einen Memory dump mit dctool.exe ?

You can't. The OSTC4 protocol doesn't support memory dumps. What you can do is dump the individual dives:

dctool -v -l dctool.log -f ostc3 download -f raw -o dive.%n.bin

(The ostc3 option is NOT a mistake. The correct model is autodetected during the download.)
by TnT
24 Jun 2016, 20:53
Forum: OSTC 4 and OSTC 5
Topic: OSTC 4: New Firmware V1.0.5
Replies: 21
Views: 25463

Re: OSTC 4: New Firmware V1.0.5

@tanomogi: Can you download the raw dives again, after you have upgraded to the new firmware? Just to confirm everything is working now.
by TnT
22 Jun 2016, 07:58
Forum: OSTC 4 and OSTC 5
Topic: OSTC 4: New Firmware V1.0.5
Replies: 21
Views: 25463

Re: OSTC 4: New Firmware V1.0.5

tanomogi Wrote:
-------------------------------------------------------
> dctool --family ostc3 --model 0x3B --verbose --logfile dctool.log download --output dctool.raw --format RAW /dev/tty.OSTC4-00051-SPP

Can you retry again after changing "dctool.raw" to "dctool.%n.raw"? Without that placeholder ...
by TnT
20 Jun 2016, 09:09
Forum: OSTC 4 and OSTC 5
Topic: OSTC 4: New Firmware V1.0.5
Replies: 21
Views: 25463

Re: OSTC 4: New Firmware V1.0.5

tanomogi Wrote:
-------------------------------------------------------
> * Subsurface import log time/date problem.(Win/MAC, OSTC4 v1.02 ~ 1.05)
> - Subsurface doesn't show actual Date/Time field.
> It subtracts duration.
> E.G) 08 H 45 dive starts with duration 59 min ,
> subsurface date field ...
by TnT
09 Jun 2016, 19:50
Forum: OSTC+, 3, cR, sport, nano and OSTC 2 (Mod. 2015 and later)
Topic: Divelog Software
Replies: 3
Views: 6410

Re: Divelog Software

AMM2T Wrote:
-------------------------------------------------------
> tried Subsurface, which worked
> once, but now reports 'error parsing date/time'
> and the OSTC2 drops the bluetooth connection.

If you enable the libdivecomputer logfile option in subsurface and send me the log file, then I'll ...
by TnT
15 May 2016, 20:03
Forum: OSTC 4 and OSTC 5
Topic: Darstellungsfehler innerhalb des hwOS - OSTC 4
Replies: 6
Views: 11245

Re: Darstellungsfehler innerhalb des hwOS - OSTC 4

The OSTC4 is already supported in the latest version of subsurface. Changing settings may not work yet (because it works different compared to the OSTC3), but downloading your dives and upgrading the firmware should work fine.
by TnT
07 May 2016, 20:54
Forum: OSTC 4 and OSTC 5
Topic: How to change advance settings via PC(dctools)
Replies: 1
Views: 6062

Re: How to change advance settings via PC(dctools)

The dctool application doesn't support changing settings. Maybe it will in the future, but not right now.
by TnT
29 Apr 2016, 14:20
Forum: OSTC 4 and OSTC 5
Topic: Firmware Update Tool OSTC4
Replies: 10
Views: 13202

Re: Firmware Update Tool OSTC4

FYI, the command-line dctool application is also available for Mac OS X and Linux. Builds can be downloaded from the libdivecomputer website.

In theory, the lastest version of subsurface should support updating the OSTC4 firmware too, although I haven't confirmed that yet.
by TnT
06 Apr 2016, 08:05
Forum: OSTC+, 3, cR, sport, nano and OSTC 2 (Mod. 2015 and later)
Topic: Ostc 2/Subsurface Problem Error parsing the Header
Replies: 3
Views: 5212

Re: Ostc 2/Subsurface Problem Error parsing the Header

The available gas mixes in the dive data are configured as follows:

O2%, Change depth, Type
21%, 0m, deco
51%, 15m, deco
21%, 0m, disabled
21%, 0m, travel
21%, 0m, disabled

The problem is that none of them is marked as the first gas, and that causes the parsing to fail. In the latest ...
by TnT
22 Jan 2016, 15:36
Forum: OSTC+, 3, cR, sport, nano and OSTC 2 (Mod. 2015 and later)
Topic: Feature Request/Suggestion: Changeable Timezone
Replies: 4
Views: 6531

Re: Feature Request/Suggestion: Changeable Timezone

I support this feature! It might even be possible to implement this without having to modify the existing data format. We can discuss the technical details at the boot show this weekend.
by TnT
16 Dec 2015, 23:49
Forum: OSTC+, 3, cR, sport, nano and OSTC 2 (Mod. 2015 and later)
Topic: Update 10.22 und Subsurface
Replies: 4
Views: 7908

Re: Update 10.22 und Subsurface

Enable the "save libdivecomputer logfile" option, and attach (or email me) the logfile.
by TnT
31 Aug 2015, 14:01
Forum: OSTC+, 3, cR, sport, nano and OSTC 2 (Mod. 2015 and later)
Topic: OSTC2 Bluetooth Windows 10 Problems
Replies: 20
Views: 30094

Re: OSTC2 Bluetooth Windows 10 Problems

ChristofM Wrote:
-------------------------------------------------------
> I´m able to update the OSTC 2 with the companion,

On the exact same Windows 10 system? Or another one?
by TnT
29 Aug 2015, 12:15
Forum: OSTC+, 3, cR, sport, nano and OSTC 2 (Mod. 2015 and later)
Topic: OSTC2 Bluetooth Windows 10 Problems
Replies: 20
Views: 30094

Re: OSTC2 Bluetooth Windows 10 Problems

This appears to be the same problem as in this topic. Allthough we have configured a timeout of 20 seconds, the read operation already returns after less than a millisecond:

[0.001389] INFO: Timeout: value=20000
...
[0.415721] INFO: Write: size=1, data=6D
[0.512096] INFO: Read: size=1, data=6D
[0 ...
by TnT
21 Aug 2015, 16:47
Forum: OSTC+, 3, cR, sport, nano and OSTC 2 (Mod. 2015 and later)
Topic: OSTC2 Bluetooth Windows 10 Problems
Replies: 20
Views: 30094

Re: OSTC2 Bluetooth Windows 10 Problems

When you start the Command Prompt, you are probably in a different directory then the one where the exe is located. Either you move the exe to the same directory, or you change the current directory of the Command Prompt.