USB communication changes

Jef Driesen jef at libdivecomputer.org
Tue Aug 11 10:34:25 PDT 2020


On 11/08/2020 19:22, Jef Driesen wrote:
> Native USB communication (used only by the Atomic Aquatics Cobalt backend) was
> not yet ported to the I/O stream interface. This has now changed because I just
> pushed a new USB based I/O transport implementation the libdivecomputer master
> branch. This means the application is now responsible for setting up the USB I/O
> stream, just like all others transports. The Atomic Aquatics Cobalt backend does
> no longer open the USB device internally. Passing a NULL pointer for the
> iostream will no longer work!
> 
> The advantage is that an application can now also use a custom implementation on
> platforms where libusb isn't available (iOS) or doesn't work very well due to
> permission problems (Android).

Attached is a patch with the necessary changes for subsurface.

Jef
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Setup-the-USB-transport-manually.patch
Type: text/x-patch
Size: 1685 bytes
Desc: not available
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20200811/cbcacd93/attachment.bin>


More information about the subsurface mailing list