Fwd: direct import form dive computer

Alessandro Volpi volpial at gmail.com
Mon Mar 13 16:43:07 PDT 2017


I have tried once again to obtain the SmartTec memory dump with dctool.exe,
on the WXP VM . VirtualBox was running on my  Ubuntu trusty laptop.

The command was THE RIGHT ONE, as suggested by Jef : "dctool.exe -v -l
smart.log -f smart dump -o smart.bin" ; the failed trials described in my
previous message were carried on with the WRONG COMMAND :
"dctool.exe -v -l smart.log -f smart.dump -o smart.bin"

The smart.log and smart.bin are now available in subdirectory
 smarttec_import within my Dropbox folder :
 https://www.dropbox.com/sh/dsg43qcbo013i1k/AAC_vCS3cZeZar5i3HngCNq3a?dl=0

I apologize for the inconvenience.

Anyway it is still to be understood why does the subsurface memory dump
work with the Galileo and not with the SmartTec; the irda interface is a
FIR and, AFAIK, a FIR device is characterized by high baud rate (16M in my
trusty system), but should also be able to work at lower data rate when the
connected device does not support such a high baud rate. The time required
for the SmartTec memory dump has been much longer, compared to the same
operation carried on the Galileo DC

Kind regards.

Alessandro


---------- Forwarded message ----------
From: Alessandro Volpi <volpial at gmail.com>
Date: Mon, Mar 13, 2017 at 7:45 PM
Subject: Re: direct import form dive computer
To: Jef Driesen <jef at libdivecomputer.org>
Cc: Subsurface Mailing List <subsurface at subsurface-divelog.org>, Salvador
Cuñat <salvador.cunat at gmail.com>, Anton Lundin <glance at acc.umu.se>


Dear Jef,

after  downloading dctool.exe, I have tried to run it with command
dctool.exe -v -l smart.log -f smart dump -o smart.bin and I have got an
error message "dctool.exe: unknown option --o".

I have also tried with command dctool.exe dump -v -l smart.log -f smart
dump -o smart.bin ; the error message is : "No device name or family type
specified"

I was not able to find documentation about the use of dctool.exe ; so I do
not know how to specify the device name.

I am available for further attempt to get the memory dump for the SmartTec,
but I need some more help from you about the use of dctool.exe .

Very best regards.

Alessandro

P.S. I have uploaded two files to subdirectory galileo_trimix_import within
my Dropbox folder: dive_log.slg and ale_dive_log.xml. The former comes from
Smarttrak and the latter was created by importing into subsurface the output
file of smtk2ssrf. The two files are the most recent version, including my
dive on Saturday March 11 2017


On Mon, Mar 13, 2017 at 10:15 AM, Jef Driesen <jef at libdivecomputer.org>
wrote:

> On 2017-03-12 18:52, Alessandro Volpi wrote:
>
>> I apologize for not having actually loaded the
>> subdirectory galileo_trimix_import on my Dropbox folder. The Galileo data
>> download was executed on a laptop computer. The Ubuntu trusty system is
>> not
>> set up so that it automatically starts the Dropbox sync operation, as
>> usual
>> for laptops, which may not be always connected to Internet. I just forgot
>> to manually start the Dropbox sync, after having created the mentioned
>> directory. If you open my Dropbox folder right now you are going to find
>> it
>> as expected.
>>
>> In the same folder you will also find the subdirectory Smarttec_import ,
>> with the log file.
>>
>
> No problem. I have them now.
>
> I have not hitherto considered the chance of installing the Windows version
>> of subsurface on the WXP VM .  I thought it might have been be a good
>> suggestion, just in order to try to get the memory dump. It is  a bit
>> funny, since I have begun to look for linux dive log software mainly in
>> order to get rid of the WXP virtual machine ...
>>
>> I have also tried this possible solution. Subsurface seems to be
>> flawlessly
>> installed, but it does not work. As I try to launch it I only get an error
>> pop-up saying : "The procedure entry-point qsort_s could not be located in
>> the dynamic link library msvcrt.dll" .  This is not surprising since, in
>> the subsurface web site, WXP is not mentioned in the list of the
>> subsurface
>> supported Microsoft operating systems.
>>
>
> That's probably a subsurface issue on Windows XP. As a workaround, you can
> download the memory dump using libdivecomputer's command-line tool. You can
> get it here:
>
> http://libdivecomputer.org/builds/stable/windows/dctool.exe
>
> Execute with these options:
>
> dctool.exe -v -l smart.log -f smart dump -o smart.bin
>
>
> What I would like to confirm with this test is very simple: Since you are
> able to download your smarttec with smarttrak, we know that IrDA is working
> fine on this system. That allows us to check whether the problem is
> located. If downloading with libdivecomputer works on this system, then the
> failure on linux is an IrDA related issue, if it fails then it's in
> libdivecomputer.
>
> As far as the reasons for not being able to connect the SmartTec to the
>> linux ( Ubuntu trusty ) IR interface, I think it may be related to the
>> fact
>> that, even with the SmartTrak program running on the WXP VM, the SmartTec
>> takes much more time than the Galileo for the download, in spite of the
>> fact that the amount of data sent by the former is much smaller than that
>> sent by the latter. This means that the transmission data rate of the
>> SmartTec is much lower.
>>
>
> For the smarttec, we don't even get a chance to download any data. The
> IrDA device was discovered successfully, but connecting to the device
> failed:
>
> INFO: Discover: address=f0e03201, name=Aladin Smart Tec, charset=00,
> hints=8000
> INFO: Connect: address=f0e03201, lsap=1
> ERROR: Connection reset by peer (104) [in irda.c:369
> (dc_irda_connect_lsap)]
> ERROR: Failed to connect the device. [in uwatec_smart.c:188
> (uwatec_smart_device_open)]
>
> This might indeed indicate a problem with the IrDA.
>
> Jef
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20170313/875f9869/attachment-0001.html>


More information about the subsurface mailing list