Importing Shearwater Perdix AI - All Dive numbers show Dive 0

132 views
Skip to first unread message

Sean Spratt

unread,
May 15, 2018, 9:10:12 AM5/15/18
to Subsurface Divelog
When posting questions you can help us answer you more quickly if you make sure you include some basic information:
Which version are you using (hint: look at the About screen)?Which OS are you running?(if applicable) which dive computer are you using?
Feel free to delete this text when posting your question.

Using latest Subsurface for iOS 2.0.1 (4.7.4.280) with iOS 11.2.6 and Shearwater Perdix AI (latest firmware).

When I import the dives (which is kind of tricky since the connection list show lots of entries), I get all the dives imported, but ever single dive is listed as Dive # 0? My Perdix has been set to number from 260 dives onward.

Is subsurface supposed to pickup the dive numbers? I have 260 dives already showing in Subsurface (they were imported from Datatrak),but I can’t get it to properly increment the dive # when it imports from the Perdix.

Also, I can’t even see any way to manually edit the dive # from within iOS mobile app? I am using the cloud sync option for subsurface.

Linus Torvalds

unread,
May 15, 2018, 1:10:27 PM5/15/18
to Subsurface Divelog
On Tue, May 15, 2018 at 6:10 AM Sean Spratt <seans...@gmail.com> wrote:

> When I import the dives (which is kind of tricky since the connection
list show lots of entries), I get all the dives imported, but ever single
dive is listed as Dive # 0? My Perdix has been set to number from 260
dives onward.

> Is subsurface supposed to pickup the dive numbers?

Subsurface actually ignores the dive number reported by the dive computer,
because particularly when you dive with multiple computers it tends to be
nonsense.

What subsurface does is basically

*if* the newly downloaded dives are all newer than the old dives you
already had

*and* the last old dive before the download had a number

*then* we assign incrementing numbers to the downloaded dives.

Basically, the logic is that if you download things out of order, or if
your last dive before the download wasn't numbered, then we don't try to
number anything.

On the desktop, you can renumber the selected dives, but I don't think you
can on the mobile app.

Linus

Sean Spratt

unread,
May 16, 2018, 9:41:39 AM5/16/18
to Subsurface Divelog
Excellent explanation....and leave it to Linus to do it using IF / AND / THEN statements

:)

I renumbered the dives using Sub-Surface on Windows, synced to the cloud, then synced on iOS and then imported some more dives and everything is incrementing as expected.

Thanks, Linus, for your help (and Subsurface and *all* your contributions)

Reply all
Reply to author
Forward
0 new messages