Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Transports

This directory describes the link layers that the family documents in ../families/ build on. A family document names its transport, its line or GATT parameters, and refers here for everything that is shared: how to drive a USB-serial bridge chip, how HID reports are sized, how a GATT link is turned into a byte stream, how IrDA dongles are spoken to, and how file-based devices are read.

DocumentCovers
serial.mdGeneric byte-stream serial model (line settings, DTR/RTS, break, purge, timeouts); FTDI, CP210x, PL2303 and CDC-ACM driven directly over USB control/bulk transfers
usb-hid.mdDevices that tunnel their protocol through HID interrupt reports
usb-raw.mdVendor-class USB devices driven with control and bulk transfers
bluetooth-classic.mdRFCOMM / Serial Port Profile links
ble.mdBluetooth Low Energy “GATT serial” links, plus the consolidated table of every known vendor service and characteristic UUID and advertised-name pattern
irda.mdIrLAP, IrLMP, IAS and TinyTP as used by dive computers; USB IrDA dongles
usb-storage-mtp.mdDevices exposing their logs as files over USB mass storage or MTP

Layering model

Every family protocol in this specification is written against one of two abstract interfaces:

  1. Byte stream. write(bytes), read(n, timeout), purge(), plus optional serial-only controls (configure(baud, bits, parity, stop), set_dtr, set_rts, set_break). Serial ports, USB-serial bridges, CDC-ACM, RFCOMM, BLE “GATT serial” links and IrDA (after the IrLMP/TinyTP connection is up) all present this interface. Some families add their own packetisation on top (for example HDLC-style framing over BLE); that is described in the family document or, where shared, in ble.md.
  2. Message / file. USB HID reports, raw vendor USB transfers, USB mass storage and MTP do not behave like a byte stream. The family document describes the exact transfer pattern.

Hosts SHOULD keep the family protocol independent of the transport implementation, so that the same family code runs over, for example, a native serial port, a WebUSB FTDI driver or Web Serial.

USB identification

Sorted by VID:PID. “Family” lists the protocol families known to sit behind the ID; generic bridge chips are used by many unrelated products and MUST NOT by themselves be taken as proof of a particular dive computer. Confidence per row: V = verified against a public vendor/standards document, L = likely (one reliable source), U = uncertain.

VID:PIDDevice / chipClass seen by hostFamilies / productsConf.
0403:6001FTDI FT232R / FT232BMvendor (FTDI)Generic cable chip; used by several vendors’ interface cables. Also seen on FTDI-based IrDA adaptersL
0403:6015FTDI FT-X seriesvendor (FTDI)GenericL
0403:87D0FTDI, custom PIDvendor (FTDI)Cressi PC interface cableV (public FTDI PID registry as shipped in Linux)
0403:F460FTDI, custom PIDvendor (FTDI)Oceanic / Pelagic dive-instrument cableV (same)
0403:F680FTDI, custom PIDvendor (FTDI)Suunto sports-instrument cableV (same)
0403:03EA, 0403:03EBFTDI VID, unknown PIDs?Listed in a USB device filter without further useU
040E:0568unidentifiedmass storageA file-based dive computer (vendor not determined)U
0471:0888Philips VID, custom devicevendor class, bulkAtomic Aquatics Cobalt / Cobalt 2 (usb-raw.md)L
066F:4200SigmaTel STIr4200vendor (raw SIR)USB IrDA dongle (irda.md)L
066F:4210SigmaTel STIr4210/4220USB IrDA bridge classUSB IrDA dongle; also reported by a third-party multi-mode adapterL
066F:4310SigmaTel (IrDA bridge family)USB IrDA bridge classUSB IrDA dongleU
067B:2303Prolific PL2303vendor (Prolific)Generic older cable chipL
091E:0003Garminmass storageGarmin Descent Mk1 (file access)L
091E:2B2BGarminmass storageGarmin Descent Mk1 (file access)L
091E:4CBAGarminMTPGarmin Descent Mk2 / Mk2iL
091E:51B6GarminMTPGarmin fēnix 8 (43 mm)L
091E:4000 | idGarminMTPAny Garmin wearable whose FIT product id is id (see usb-storage-mtp.md)L
0930:6544Toshiba flash drivemass storageProbably a test device, not a dive computerU
0AAD:00EBunknown?Listed in a USB device filter without further useU
0DF8:0001unidentifiedvendor (raw SIR, STIr4200-compatible)USB IrDA dongleU
0E55:110AunidentifiedUSB IrDA bridge classUSB IrDA dongleU
10C4:EA60Silicon Labs CP210xvendor (SiLabs)Generic cable chip; used by e.g. Uwatec Meridian/Chromis/Mantis cradles and ReefNet Sensus Ultra. Some third-party adapters reuse it with a different personality (see serial.md)L
1493:0030SuuntoHIDSuunto EON SteelL
1493:0033SuuntoHIDSuunto EON CoreL
1493:0035SuuntoHIDSuunto D5L
1493:0036SuuntoHIDSuunto EON Steel BlackL
1685:0200unidentifiedvendor (raw SIR, STIr4200-like, different init)USB IrDA dongleU
2047:082BTexas Instruments VIDCDC-ACMAeris / Oceanic A300 CS class deviceU
2544:0004unidentifiedmass storageA file-based dive computerU
2E6C:3201ScubaproHIDScubapro G2, G2 TEKL
2E6C:3211ScubaproHIDScubapro G2 ConsoleL
2E6C:4201ScubaproHIDScubapro G2 HUDL
9710:7780MosChip MCS7780vendor (raw SIR)USB IrDA dongleL
A600:E211unidentifiedmass storageA file-based dive computerU
C251:2006Keil VIDHIDScubapro Aladin SquareL
FFFF:0005(unregistered VID)CDC-ACMMares Icon HD family USB cable/cradleL

04E8:6860 (a Samsung phone’s MTP personality) also appears in one source’s MTP list and is almost certainly a developer test device.

Confidence: likely overall; individual rows as marked.

Which web API fits each transport

TransportBrowser APINotes
Native serial port / OS-driven USB-serialWeb SerialChromium desktop. The OS driver handles the bridge chip; the page only sees a port. DTR/RTS via setSignals, break via setSignals({break}).
USB-serial bridge without OS driver (Android, kiosk)WebUSBThe page implements the chip driver itself using the control requests in serial.md. Requires that no OS driver holds the interface.
CDC-ACMWeb Serial (OS driver present) or WebUSBSame split as above.
USB HIDWebHIDHID is a protected class in WebUSB and cannot be claimed there.
Vendor-class USBWebUSBStraightforward: claim interface, control + bulk transfers.
Bluetooth classic (RFCOMM)Web Serial with Bluetooth RFCOMM portsChromium desktop only; the device must already be paired at OS level. No browser API for discovery or PIN entry.
Bluetooth Low EnergyWeb BluetoothService UUIDs must be declared up front (filters / optionalServices); no MTU control; see ble.md.
IrDAWebUSB to a USB IrDA dongleThe page runs the whole IrLAP/IrLMP/TinyTP stack (irda.md). No OS IrDA socket API is reachable from a browser.
USB mass storageFile System Access API (directory picker)Mass storage is a protected WebUSB class; the OS mounts the volume and the user picks the folder.
MTPnone reliableThe OS usually owns the device. Desktop users copy files out; WebUSB is possible only where no OS MTP driver claims the interface.

Confidence: likely (browser behaviour changes between versions; check current Chromium documentation).

References

  • libdivecomputer (LGPL-2.1), used as a factual reference; no code copied. https://www.libdivecomputer.org/
  • Linux kernel FTDI product-ID list (public VID/PID registry), https://github.com/torvalds/linux/blob/master/drivers/usb/serial/ftdi_sio_ids.h
  • Garmin FIT SDK product ids, https://developer.garmin.com/fit/
  • WebUSB specification (protected interface classes), https://wicg.github.io/webusb/
  • WebHID, Web Serial, Web Bluetooth and File System Access drafts, https://wicg.github.io/