On Tue, Apr 10, 2018 at 8:27 AM, Dirk Hohndel <
di...@hohndel.org> wrote:
> I'll admit that I'm not familiar with the Mares Quad. Clearly some people
> have been able to download from it, but that seemed to be through a USB
> interface from what I could tell from their emails.
> Typically every BLE dive computer needs some special handling to get their
> encapsulation of their communication via BLE taken care of.
>
> Linus, you're the expert on this, can you help Allen?
So the Mares Quad should just work over the USB cable that acts like a
serial line.
But Allen doesn't seem to see any actual communication. It could be
anything: bad cable positioning (some of the Mares clip-on things are
very finicky from what I remember) or just picking the wrong serial
device.
I think the Mares Dive Link 2 used the Silicon Labs CP210x USB serial
chip. Allen, I assume you have the driver for that thing? Has it
worked before?
The drivers can be found at
https://www.silabs.com/products/development-tools/software/usb-to-uart-bridge-vcp-drivers
afaik.
The BLE case has no chance in hell of working right now -
libdivecomputer doesn't even have any support for it, and we've never
seen a BLE trace. So getting BLE working would require somebody to
first get a successful trace from the Mares app, and then likely a
whole lot of work to figure out the protocol. It *might* be one of
those easy cases ("very usual BLE serial emulation, same protocol as
the old serial protocol") but it might be a big job. But even the
"easy case" tends to be pretty nasty with BLE.
Linus