Shearwater Petrel will not connecter to Diving log

3rd party extensions (phpDivingLog, dive computer downloader,...)
absalon
Posts: 40
Joined: Sat Jan 28, 2006 08:40
Location: Vojens / Denmark
Contact:

Shearwater Petrel will not connecter to Diving log

Post by absalon »

Hello
I can not get my Shearwater Petrel to connecte with downloader, my bluetooth using Port 9 on the computer, and it is also the one I have chosen to download from.
but it does not connect to my dive computer

Anyone have an idea what it might be?

Regards

Henrik
Denmark
TnT
Posts: 262
Joined: Thu Nov 29, 2007 14:53
Contact:

Re: Shearwater Petrel will not connecter to Diving log

Post by TnT »

Do you have firmware V12? Older versions will not work.
libdivecomputer developer
Support the libdivecomputer project with a donation!
http://www.libdivecomputer.org/donate.html
absalon
Posts: 40
Joined: Sat Jan 28, 2006 08:40
Location: Vojens / Denmark
Contact:

Re: Shearwater Petrel will not connecter to Diving log

Post by absalon »

Yes it is V12 :-(
divinglog
Site Admin
Posts: 5764
Joined: Sat Feb 08, 2003 21:02
Location: Coburg
Contact:

Re: Shearwater Petrel will not connecter to Diving log

Post by divinglog »

Hi Henrik

Make also sure you have Diving Log 5.0.11 installed. I've pushed out another update 1 day after the official 5.0.11 release to add a checkbox "Bluetooth only" below the port list in the universal downloader. If you don't see this checkbox, run the linked installer again.

When you check this box, Diving Log will use another function to retrieve only Bluetooth ports. There was an issue with the Frog in the past where the correct port was not recognized. Activate this check box and try it again with the COM9. It probably doesn't make a difference, but it is worth trying.

Kind regards,
Sven
absalon
Posts: 40
Joined: Sat Jan 28, 2006 08:40
Location: Vojens / Denmark
Contact:

Re: Shearwater Petrel will not connecter to Diving log

Post by absalon »

I have tried to download the new version of the DL.

when I select Bluetooth only, and choose my bluetooth port,
the downloader write "Downloading Dive Data" while my dive computer writes "Wait PC", it does not get signal from downloader :-(
divinglog
Site Admin
Posts: 5764
Joined: Sat Feb 08, 2003 21:02
Location: Coburg
Contact:

Re: Shearwater Petrel will not connecter to Diving log

Post by divinglog »

Hi Henrik

Does it work with the manufacturer software? If so, you can still import from that one into Diving Log. But I'm not sure why it doesn't work with Diving Log directly.

Kind regards,
Sven
absalon
Posts: 40
Joined: Sat Jan 28, 2006 08:40
Location: Vojens / Denmark
Contact:

Re: Shearwater Petrel will not connecter to Diving log

Post by absalon »

Hello Sven

Yes it works with Shearwater own software, and I also upload my dives the way across.
Can you get a Blueetoth log that I can use, so that I can see what happens when I try to connect?
TnT
Posts: 262
Joined: Thu Nov 29, 2007 14:53
Contact:

Re: Shearwater Petrel will not connecter to Diving log

Post by TnT »

Can you enable the "Log errors" checkbox, and then when the download fails, click the "Show error logfile" link to open the error log? Then send me this file. You can find my email address on the libdivecomputer website.
libdivecomputer developer
Support the libdivecomputer project with a donation!
http://www.libdivecomputer.org/donate.html
wmcyow
Posts: 6
Joined: Mon Oct 12, 2009 12:45

Re: Shearwater Petrel will not connecter to Diving log

Post by wmcyow »

Hi there,

Just want to indicate that I am having the same issue. Petrel works fine with Shearwater software - and required no configuration, it just worked. When I try to download using diving log it doesn’t seem to be able to find the correct Bluetooth “port”. On the screen where I can select the port it displays COM1 and COM2 both which result in an error in downloading. If I select the Bluetooth only box then then everything except cancel gets greyed out.
TnT
Posts: 262
Joined: Thu Nov 29, 2007 14:53
Contact:

Re: Shearwater Petrel will not connecter to Diving log

Post by TnT »

The Shearwater application uses native bluetooth communication, while the Universal Downloader in divinglog uses serial port emulation. Unfortunately, in most cases this serial emulation mode isn't activated by default (e.g. no serial port is assigned to bluetooth device) and you'll need to create the serial port manually. You only have to do this once. If a PIN is asked during pairing, use 4 zeros.

http://windows.microsoft.com/en-us/wind ... led-device
http://www.acroname.com/garcia/tutorial ... ction.html
libdivecomputer developer
Support the libdivecomputer project with a donation!
http://www.libdivecomputer.org/donate.html
absalon
Posts: 40
Joined: Sat Jan 28, 2006 08:40
Location: Vojens / Denmark
Contact:

Re: Shearwater Petrel will not connecter to Diving log

Post by absalon »

I can see Bluetooth serial port, but the downloader connecter not to my dive computer, and there fore I can not use the "Log Erroes"

I do not think Diving computer receives signals from the downloader!

Is there a bluetooth data logger program so I can try to use it when I transfer data to Shearwater program?
TnT
Posts: 262
Joined: Thu Nov 29, 2007 14:53
Contact:

Re: Shearwater Petrel will not connecter to Diving log

Post by TnT »

The "Log Errors" checkbox is shown before the downloader tries to connect to the dive computer. So if the bluetooth serial port is present, you can use this logging feature. If the download fails, this log will tell what went wrong.
libdivecomputer developer
Support the libdivecomputer project with a donation!
http://www.libdivecomputer.org/donate.html
divinglog
Site Admin
Posts: 5764
Joined: Sat Feb 08, 2003 21:02
Location: Coburg
Contact:

Re: Shearwater Petrel will not connecter to Diving log

Post by divinglog »

Hi Henrik

The "Log Errors" checkbox is on the first page. When you you select the "Bluetooth only" checkbox and no ports are listed, I guess something is not right. When this checkbox is disabled, all ports are listed using the standard .NET function. When the Bluetooth only checkbox is activated, only Bluetooth ports are retrieved from the system. So I guess this might be the reason it doesn't work, because normally the right port must be listed with the checkbox activated.

Sven
Image1.jpg
Image1.jpg (38.47 KiB) Viewed 33781 times
absalon
Posts: 40
Joined: Sat Jan 28, 2006 08:40
Location: Vojens / Denmark
Contact:

Re: Shearwater Petrel will not connecter to Diving log

Post by absalon »

I get this error:



ERROR: Adgang nægtet (5) [in serial_win32.c:96 (serial_open)]
ERROR: Failed to open the serial port. [in shearwater_common.c:46 (shearwater_common_open)]


libdivecomputer version: 0.4.1-devel
TnT
Posts: 262
Joined: Thu Nov 29, 2007 14:53
Contact:

Re: Shearwater Petrel will not connecter to Diving log

Post by TnT »

The "access denied" error (thanks google translate!) is usually because some other application has already opened the serial port. On Windows, serial ports are opened with exclusive access permissions, which means only one application can have the serial port open. Try to find out which application has opened the serial port, and close that. The easiest is probably to reboot your pc, and then launch divinglog again.
libdivecomputer developer
Support the libdivecomputer project with a donation!
http://www.libdivecomputer.org/donate.html
Post Reply