Re: Swift AI GPS Backfill Tool for MacDive
Posted: Wed Jul 29, 2026 11:01 pm
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
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