Shearwater Perdix AI not connecting.

Discussions about Diving Log 6.0 - questions and hints
divinglog
Site Admin
Posts: 5090
Joined: Sat Feb 08, 2003 21:02
Location: Coburg
Contact:

Re: Shearwater Perdix AI not connecting.

Post by divinglog » Wed May 01, 2019 17:00

Hello Piotr

There are some misunderstandings in your post. The dives in the preview list are always numbered from 1 (for every dive computer model), but this does not matter. During import the dives are numbered based on your last dive number in your logbook.

The dives in the preview list are already fully downloaded, so the transfer time you're seeing is a full download and not comparable to Shearwater Desktop. Once you select the dives to import, it takes only a second. A full download is only necessary on the first download. Once you've imported at least one dive in your logbook, only newer dives are downloaded in the future, which takes a lot less time.

So please try it a few times, import some dives and you will see that it is as fast as Shearwater Desktop.

Kind regards,
Sven

PioM
Posts: 6
Joined: Tue Jan 21, 2014 13:11

Re: Shearwater Perdix AI not connecting.

Post by PioM » Thu May 02, 2019 11:40

Sven,
I will try once more :)
Thanks
Piotr

shortcuts
Posts: 62
Joined: Wed Aug 08, 2007 07:13
Location: UK (Slough)

Re: Shearwater Perdix AI not connecting.

Post by shortcuts » Sun May 26, 2019 09:36

Well I still cannot make a connection with the Perdix AI via BT. I've tried with BT turned on in my computer settings and also with the Shearwater supplied BT (USB) Dongle both without any form of joy. The only way I can get the job done is to download my dives to an ios device (My iphone or ipad) and then sync that device to the PC. This works but is not very satisfactory.
The contents of the zip file you speak of are already in my Diving Log programme folder via a recent update. This is simply not working as it appears it should which is very frustrating.

divinglog
Site Admin
Posts: 5090
Joined: Sat Feb 08, 2003 21:02
Location: Coburg
Contact:

Re: Shearwater Perdix AI not connecting.

Post by divinglog » Mon May 27, 2019 12:14

Then content of the zip file is not needed anymore, because the latest Diving Log update is already out. So please check if you have version 6.0.16 installed. If it still does not work, I need the error log, without I can't say much. Also, does it work with Shearwater Desktop on your PC?

shortcuts
Posts: 62
Joined: Wed Aug 08, 2007 07:13
Location: UK (Slough)

Re: Shearwater Perdix AI not connecting.

Post by shortcuts » Thu May 30, 2019 10:59

divinglog wrote:
Mon May 27, 2019 12:14
Then content of the zip file is not needed anymore, because the latest Diving Log update is already out. So please check if you have version 6.0.16 installed. If it still does not work, I need the error log, without I can't say much. Also, does it work with Shearwater Desktop on your PC?
I have version 6.0.16 installed.
Where do I find and how do I access the error log please?
No it doesn't work with Shearwater Desktop on my PC.
It works via Bluetooth on my ios devices for both Shearwater and Diving Log software but, even though I can see in settings that the Perdix is paired and connected to the PC, the Shearwater and Diving Log cannot 'find' the dive computer.

divinglog
Site Admin
Posts: 5090
Joined: Sat Feb 08, 2003 21:02
Location: Coburg
Contact:

Re: Shearwater Perdix AI not connecting.

Post by divinglog » Thu May 30, 2019 14:16

Do you have Windows 10 installed? Unpair your Shearwater from Windows device settings, activate "Log Errors", activate Bluetooth on your Shearwater and click "Select" in the download dialog. Enable the checkbox at the bottom to find unpaired devices.

Image1.png
Image1.png (20.86 KiB) Viewed 1718 times


How to report download errors

shortcuts
Posts: 62
Joined: Wed Aug 08, 2007 07:13
Location: UK (Slough)

Re: Shearwater Perdix AI not connecting.

Post by shortcuts » Thu May 30, 2019 14:59

divinglog wrote:
Thu May 30, 2019 14:16
Do you have Windows 10 installed? Unpair your Shearwater from Windows device settings, activate "Log Errors", activate Bluetooth on your Shearwater and click "Select" in the download dialog. Enable the checkbox at the bottom to find unpaired devices.


Image1.png



How to report download errors
Yes I have Win10. I've done as you suggest. I select the Perdix from the list of unpaired devices and.................nothing.
Image

Log:
INFO: Open: transport=32
INFO: Configure: baudrate=115200, databits=8, parity=0, stopbits=0, flowcontrol=0
INFO: Timeout: value=3000
INFO: Sleep: value=300
INFO: Purge: direction=3
INFO: Write: size=10, data=0100FF010400228010C0
INFO: Read: size=18, data=010001FF0C006280103336304642333241C0
INFO: Write: size=10, data=0100FF010400228011C0
INFO: Read: size=0, data=
ERROR: Failed to receive the packet. [in shearwater_common.c:239 (shearwater_common_slip_read)]
ERROR: Failed to receive the response packet. [in shearwater_common.c:358 (shearwater_common_transfer)]
ERROR: Failed to read the firmware version. [in shearwater_petrel.c:193 (shearwater_petrel_device_foreach)]
INFO: Write: size=11, data=0100FF0105002E902000C0


BLE Protocol:
00:00:500 Select device BluetoothLE#BluetoothLE10:08:b1:a2:e8:2e-d9:ab:e9:5c:e2:73
00:00:543 Device selected: Perdix
00:00:543 Number of Gatt Services: 0
00:00:543 Device ID: BluetoothLE#BluetoothLE10:08:b1:a2:e8:2e-d9:ab:e9:5c:e2:73
00:00:543 Is Paired: False
00:00:543 Protection Level: None
00:00:543 Starting to pair...
00:01:029 Connection status changed: Connected
00:01:220 Custom Pairing Kind: ConfirmOnly
00:01:220 Custom Pairing Pin:
00:02:077 Pairing Result: Paired (1 Pairing Loops)
00:03:463 Paired device name: Perdix
00:03:463 Number of Gatt Services: 3 (10 Pairing Loops)
00:03:468 Connected to service: fe25c237-0ece-443c-b0aa-e02033e7029d
00:03:593 Characteristics found: 27b7570b-359e-45a3-91bb-cf7e70049bd2 (Write/WriteWithoutResponse/Notify)
00:03:680 GattDescriptor written Notify to 27b7570b-359e-45a3-91bb-cf7e70049bd2: Success (1 Connection Loops)
00:03:680 Connection successful!
00:03:885 Sent data 01-00-FF-01-04-00-22-80-10-C0 to 27b7570b-359e-45a3-91bb-cf7e70049bd2: Success
00:03:887 Data received: 18 Bytes
00:03:942 Sent data 01-00-FF-01-04-00-22-80-11-C0 to 27b7570b-359e-45a3-91bb-cf7e70049bd2: Success
00:13:902 BLE_Read: Timeout


INFO: libdivecomputer-0.dll version: 0.7.0-devel
INFO: Diving Log version: 6.0.16.0
INFO: Windows 10 (1803 | Build 17134), Version 6.3.17134



Does that help you to help me because at the moment I'm no closer to downloading direct to Diving Log Desktop?

divinglog
Site Admin
Posts: 5090
Joined: Sat Feb 08, 2003 21:02
Location: Coburg
Contact:

Re: Shearwater Perdix AI not connecting.

Post by divinglog » Thu May 30, 2019 15:16

Of course this helps, now we can see what's going on. The connection is working, but the communication seems to be stuck. It's interesting that it's also not working with Shearwater desktop, so I guess this is either a problem with the dive computer or the PC/Bluetooth dongle. If you have another PC which you can try, it would be helpful to see if that works. I'll ask Jef Driesen from libdivecomputer if he can see anything in the error log.

shortcuts
Posts: 62
Joined: Wed Aug 08, 2007 07:13
Location: UK (Slough)

Re: Shearwater Perdix AI not connecting.

Post by shortcuts » Thu May 30, 2019 15:21

divinglog wrote:
Thu May 30, 2019 15:16
Of course this helps, now we can see what's going on. The connection is working, but the communication seems to be stuck. It's interesting that it's also not working with Shearwater desktop, so I guess this is either a problem with the dive computer or the PC/Bluetooth dongle. If you have another PC which you can try, it would be helpful to see if that works. I'll ask Jef Driesen from libdivecomputer if he can see anything in the error log.
I don't use the BT dongle supplied with the Shearwater dive computer as it seems to do nothing. I'm using the inbuilt windows BT on my win10 PC.
I don't have access to another computer.
The Perdix connects via BT to Diving Log my two ios devices and also to the Shearwater apps on my ios devices but not my PC.

divinglog
Site Admin
Posts: 5090
Joined: Sat Feb 08, 2003 21:02
Location: Coburg
Contact:

Re: Shearwater Perdix AI not connecting.

Post by divinglog » Mon Jun 03, 2019 14:33

I've got an answer from Jef Driesen:
I've seen similar reports from subsurface users. Apparently the Shearwater BLE stack somehow "remembers" the previously paired device, and it's difficult to convince it to pair with another device. So the reason why it works on iOS, and not on the Windows desktop, is because it's probably still tied to the iOS device.

See for example:

http://lists.subsurface-divelog.org/pip ... 33704.html

It seems nobody really knows how to reset this pairing.
It looks like Shearwaters sometimes have problems connecting to both, PC and phone. So I think you have to decide which one you prefer. If you prefer the connection to the PC, you have to try to unpair the iOS connection. I think the easiest way is probably to remove the battery (if this is possible).

shortcuts
Posts: 62
Joined: Wed Aug 08, 2007 07:13
Location: UK (Slough)

Re: Shearwater Perdix AI not connecting.

Post by shortcuts » Mon Jun 03, 2019 16:24

divinglog wrote:
Mon Jun 03, 2019 14:33
I've got an answer from Jef Driesen:
I've seen similar reports from subsurface users. Apparently the Shearwater BLE stack somehow "remembers" the previously paired device, and it's difficult to convince it to pair with another device. So the reason why it works on iOS, and not on the Windows desktop, is because it's probably still tied to the iOS device.

See for example:

http://lists.subsurface-divelog.org/pip ... 33704.html

It seems nobody really knows how to reset this pairing.
It looks like Shearwaters sometimes have problems connecting to both, PC and phone. So I think you have to decide which one you prefer. If you prefer the connection to the PC, you have to try to unpair the iOS connection. I think the easiest way is probably to remove the battery (if this is possible).
Well that isn’t too confusing........much.
I’ve done the unpairing thing with the PC as you suggested in an earlier post with no change.
The Perdix will connect to two different ios devices (my iphone and ipad) separately so not a case of being ‘locked’ to a single device once paired. Clearly it isn’t possible to remove the battery from ios devices. I have removed and replaced the battery from the Perdix. No change. This is really quite annoying although not the end of the world because I can download my dives to diving log on ios then sync to diving log on PC. Tedious and shouldn’t be the case. Such is life.

shortcuts
Posts: 62
Joined: Wed Aug 08, 2007 07:13
Location: UK (Slough)

Re: Shearwater Perdix AI not connecting.

Post by shortcuts » Fri Jul 05, 2019 07:07

That doesn't work. I've tried. In fact nothing works.

Richter
Posts: 1
Joined: Wed Jul 10, 2019 19:28

Re: Shearwater Perdix AI not connecting.

Post by Richter » Wed Jul 10, 2019 19:50

Hi

I too am having issue downloading perdix logs to diving logs 6.0 directly. However, I have found a way to download my logs to both Shearwater Desktop and Shearwater cloud desktop.

1. Remove the Perdix that is paired in Windows 10.
2. Launch the Shearwater software.
3. Start bluetooth in Perdix.
4. Download logs in Shearwater software.

I have been able to download the logs everytime by removing the paired Perdix from the computer first. However, doing the same with Diving Logs does not help. Though not optimum, I have to do this for now then sync the logs from ShearWater Desktop to DivingLog 6.0 now.

Below is the logs when I tried the same method using Diving Logs.

BLE Protocol:
00:00:510 Select device BluetoothLE#BluetoothLE00:1a:7d:da:71:14-c3:90:30:73:09:b2
00:00:524 Device selected: Perdix
00:00:525 Number of Gatt Services: 0
00:00:525 Device ID: BluetoothLE#BluetoothLE00:1a:7d:da:71:14-c3:90:30:73:09:b2
00:00:526 Is Paired: False
00:00:526 Protection Level: None
00:00:526 Starting to pair...
00:01:199 Connection status changed: Connected
00:01:501 Custom Pairing Kind: ConfirmOnly
00:01:501 Custom Pairing Pin:
00:02:337 Pairing Result: Paired (1 Pairing Loops)
00:02:342 Paired device name: Perdix
00:02:342 Number of Gatt Services: 1 (0 Pairing Loops)
00:02:344 Could not connect to service fe25c237-0ece-443c-b0aa-e02033e7029d
00:02:344 Service available: 00001801-0000-1000-8000-00805f9b34fb


INFO: libdivecomputer-0.dll version: 0.7.0-devel
INFO: Diving Log version: 6.0.16.0
INFO: Windows 10 ( | Build 18362), Version 6.3.18362

Please see if this helps.

Thank you.

divinglog
Site Admin
Posts: 5090
Joined: Sat Feb 08, 2003 21:02
Location: Coburg
Contact:

Re: Shearwater Perdix AI not connecting.

Post by divinglog » Wed Jul 10, 2019 20:07

Hi

Thank you for testing and reporting! Actually Diving Log (and as far as I know also the Shearwater software) will unpair any paired Shearwater and re-pair it again before downloading. I found that this seems to do usually the trick (as you also found out).

The last 3 lines of your protocol are interesting:

00:02:342 Number of Gatt Services: 1 (0 Pairing Loops)
00:02:344 Could not connect to service fe25c237-0ece-443c-b0aa-e02033e7029d
00:02:344 Service available: 00001801-0000-1000-8000-00805f9b34fb

Looks like there seems to be a timing issue and I might have to apply a short timeout.

shortcuts
Posts: 62
Joined: Wed Aug 08, 2007 07:13
Location: UK (Slough)

Re: Shearwater Perdix AI not connecting.

Post by shortcuts » Thu Jul 11, 2019 05:32

divinglog wrote:
Wed Jul 10, 2019 20:07
Hi

Thank you for testing and reporting! Actually Diving Log (and as far as I know also the Shearwater software) will unpair any paired Shearwater and re-pair it again before downloading. I found that this seems to do usually the trick (as you also found out).

The last 3 lines of your protocol are interesting:

00:02:342 Number of Gatt Services: 1 (0 Pairing Loops)
00:02:344 Could not connect to service fe25c237-0ece-443c-b0aa-e02033e7029d
00:02:344 Service available: 00001801-0000-1000-8000-00805f9b34fb

Looks like there seems to be a timing issue and I might have to apply a short timeout.
I can't comment because the above is beyond my understanding. All I do know is that I can see in the list of devices that the Perdix is paired with my desktop computer. I then see it as connected but neither Diving Log or Shearwater software can find the dive computer. No matter how many times I un-pair and re-pair the Perdix dive computer with my desktop computer the situation does not change. I've never been able to download from the Perdix to the desktop software. All that I have ever succeeded in doing is downloading to the Diving Log software on my iPad and then syncing that to the desktop.

Post Reply