Question about the android app

Jef Driesen jef at libdivecomputer.org
Fri Jan 8 08:07:28 PST 2016


On 2016-01-08 08:24, Henrik Brautaset Aronsen wrote:
> On Fri, Jan 8, 2016 at 8:05 AM, Jef Driesen <jef at libdivecomputer.org> 
> wrote:
>> 
>> Divemate has created a small hardware accessory (Fusion IR) to make 
>> this
>> work. I assume the IrDA stack is running on the device, and on the 
>> host
>> side (PC, Android) it's just a normal USB device.
>> 
>> http://www.divemate.de/
> 
> Cool!  I see that it supports Liquivision as well.  Would it be 
> possible to
> use that together with OSX and libdivecomputer/subsurface right now?  
> Or
> does something need to be implemented?

I really don't know. I assume the FusionIR contains some kind of USB 
IrDA chip. But how does it interface with the host system? If it's just 
a regular IrDA dongle with an IrDA interface, then the libdivecomputer 
IrDA backend should work just fine. However, on Mac OS X we're back to 
the same problem of course. If it provides some USB interface, then we 
can probably talk to it with libusb. But then we need to know (and 
implement) the protocol.

Are you sure the Liquivision devices are IrDA devices? When I 
investigated the Xeo/Xen a few years ago, they where using a FTDI chip. 
They appeared to use the D2XX driver instead of the normal VCP (virtual 
serial port) driver. Note that not all infrared communication is IrDA! 
Some of the older mares devices also use infrared light for the 
communication with the dive compuer, but on the host side the interface 
is a regular usb-serial chip.

Have you asked the divemate developers? Or Liquivision?

Jef


More information about the subsurface mailing list