Repository navigation
Cable downloads on macOS: dive computers on a USB-serial cable, over USB HID, on raw USB (Atomic Aquatics Cobalt, Beta) and over a paired classic-Bluetooth port (Shearwater, Beta), all through the 1.21.0 session core with its commit-acknowledge fingerprint. iOS is unchanged. Full details in CHANGELOG.md.
Added
- macOS: serial cable downloads.
IOKitCableDiscoverylists USB-serial ports from the IORegistry and follows hot-plug without opening any port; a known cable with no driver is listed asdriverMissingwith a message saying what to install.CableHintsmaps a cable's VID:PID to the families it can reach (#89) - macOS:
DiveComputerSession.open(_:model:discovery:recorder:deviceStorage:lease:)opens cable endpoints through aTapStream; cancelling throws at once, even whileopen(2)is stuck.DiveComputerSession.close(completion:)on all platforms (#89) - macOS:
CableError(permissionDenied,busy,notFound,driverMissing,unplugged,noResponse,cancelled,unsupportedTransportand more), with English messages and per-family connect instructions (#89) - macOS: USB HID downloads for the EON Steel, EON Core, D5, EON Steel Black, G2 family and Aladin Square, via
HIDStreamonIOHIDDevice. Discovery never opens the HID manager, so listing never raises the Input Monitoring prompt (#91) - macOS (Beta): raw USB downloads for the Atomic Aquatics Cobalt and Cobalt 2, via
USBStreamon IOUSBLib (#92) - macOS (Beta): classic-Bluetooth downloads for the Shearwater Predator, Petrel, Petrel 2, Nerd and Perdix over the paired Serial Port Profile port, with
CableError.bluetoothNotConnectedand.bluetoothLinkLost(#93) - macOS: Beta labels via
DeviceCatalog.betaFamilies,DCModel.isBeta(on:)andCableEndpoint.isBeta. No cable path has run on a real computer yet (#92) - Tests: pseudo-terminal serial sessions, emulated EON Steel, Uwatec Smart and Cobalt drivers, recorded
.dcrecreplays, and opt-in hardware harnesses for each transport (#89, #91, #92, #93)
Changed
- macOS:
CableSupport.transportsis[.serial, .classicBTSerial, .usbHID, .usb], only the transports with a cable opener (#93) DeviceCatalog: the OSTC 4 and OSTC 5 no longer offer.serial, since they have no data cable (#89)- macOS: a session download keeps a Cobalt's reported model 0 as its identity (#92)
libdivecomputer is unchanged (still 1b201bb).