Dive Computer Protocols
An open, implementation-neutral specification of how dive logs are downloaded from dive computers and how the returned dive data is encoded. It covers about 40 protocol families across more than 300 models, from serial cables and infrared to USB HID and Bluetooth Low Energy.
The specification is written from scratch and licensed under MIT OR Apache-2.0, so that implementations in any language can use permissive licenses. It is the basis for the Rust crates of divecomputer-rs.
Status: draft. Most facts are marked likely; only facts backed by vendor documentation or captured device traffic are marked verified. Corrections, captures and dumps are welcome.
Browser tools
- Download dives from a Shearwater computer over Web Bluetooth, or reopen a raw JSON download saved by the downloader. Save as DiveJSON or UDDF.
- Convert dive logs between DiveJSON and UDDF, with a report of omitted values and conversion decisions.
Both tools run on your device. Dive files are not sent to a server. The downloader needs Chrome or Edge and a Bluetooth adapter; file conversion does not need Bluetooth.
Where to start
- Specification overview: layout and clean-room policy
- Conventions: notation, units and confidence levels
- Transports: serial, USB, Bluetooth, IrDA, and which web API fits each
- Checksums, date and time and the common data model
- Protocol families: one document per family