Teric sample rate fail

Jef Driesen jef at libdivecomputer.org
Thu Dec 8 07:58:01 CET 2022


On 7/12/2022 16:57, Peter B wrote:
> Alright! good to here about timestamp update!
> 
> Is it possible to use the dctool with ble on windows to do the dump?
> 
> Can you give me a copy/paste command line I could use? I never really got it to 
> work..
> 
> The Teric can do sample rate of 250, 500,1000,2000,5000ms. I notice when I was 
> debugging that in
> 
> interval = array_uint16_be (data + parser->opening[5] + 23);
> 
> interval is 250

You can use this build:

https://libdivecomputer.org/builds/experimental/windows/dctool-ble.exe

And download with these options:

dctool-ble.exe -vv -l petrel.log -f petrel download -o dive.%n.bin -f raw -t ble

Normally it should autodetect your Shearwater dive computer, but sometimes it 
doesn't (the BLE implementation is still work in progress). In that case, run 
this command to detect the MAC address of the dive computer:

dctool-ble.exe -vv -l scan.log scan -t ble

And then execute the download command again, but this time with the correct MAC 
address appended as an extra argument.

Jef


More information about the devel mailing list