I just got the Swift AI GPS but for me, MacDive doesn't even see the air pressure. Both the chart, and the starting / ending pressure fields are empty. The script works great for GPS backfill though!
It seems the pressure data is stored in a different slot in the raw binary blob:
Dive Raw mode Raw pressure location Decoded raw pressure MacDive DB result
━━━━━━ ━━━━━━━━━━━━━━━━━━━━ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━━━━━━━━━━━━━━━━━━━ ━━━━━━━━━━━━━━━━━━━
256 AI_ON, log v14 normal sample tank slot 1 3092 → 1344 psi imported air
────── ──────────────────── ────────────────────────────────── ────────────────────── ───────────────────
257 AI_ON, log v14 normal sample tank slot 1 3192 → 1616 psi imported air
────── ──────────────────── ────────────────────────────────── ────────────────────── ───────────────────
262 AI_ON_GPS, log v17 0xE1 extended sample tank slot 2 2846 → 1114 psi 0 → 0
────── ──────────────────── ────────────────────────────────── ────────────────────── ───────────────────
263 AI_ON_GPS, log v17 0xE1 extended sample tank slot 2 2998 → 1582 psi 0 → 0
Swift AI GPS Backfill Tool for MacDive
Re: Swift AI GPS Backfill Tool for MacDive
I decided to fix that and submitted a Pull Request here: https://github.com/rbollar/macdive-swiftai-gps/pull/1
Re: Swift AI GPS Backfill Tool for MacDive
Merged. Thanks!