[PATCH] Added support for parsing temperature in the dive, header
Jef Driesen
jef at libdivecomputer.org
Tue Sep 9 03:50:19 PDT 2014
On 06-09-14 20:03, Dirk Hohndel wrote:
>
> On September 6, 2014 10:05:36 AM Jef Driesen <jef at libdivecomputer.org> wrote:
>> Adding support for new devices is very important too. But reverse engineering
>> and implementing a new protocol, especially if it's using a completely new
>> technology (USB HID) takes time. Keep in mind that I'm basically the only
>> person
>> doing most of the work, and my resources (e.g. time) are limited. So I have to
>> prioritize things. (Just to give you a bit of context, there are already two
>> other new backends waiting to be implemented, for which I have much more
>> concrete information than the Square.)
>
> I think we really need to try to get more people to contribute...
> I'm sure we can find some people who will help if they can get access to
> the necessary data.
Usually, people that request support for a new devices are not software
developers. And those that are, either have a device that is already supported,
or are not interested in working on a device they don't own. At least that's my
impression from the past years.
> I certainly will work on the two new dive computers i have ordered...
That's much appreciated!
>> We have been talking about redesigning the libdivecomputer api for several
>> years
>> now, but it always got postponed because I have been prioritizing device
>> support. But if I keep doing that, we'll never get there. So after the next
>> release I'm planning and work on the new api, rather than new devices.
>>
>> This may not be the answer you were looking for, but I just can't do
>> everything.
>> So support for the Square is not going to happen very soon, unless someone else
>> jumps on it.
>
> What's missing? What do we have?
According to the usb device descriptors it's a USB HID device. That's basically
everything I know. Once I discovered libusb doesn't seem to support USB HID very
well, I didn't investigate much further due to a lack of time.
I wouldn't be surprised if the high level communication protocol is still the
same as the other Uwatec devices. For the Meridian Scubapro/Uwatec also switched
only the low-level layer from IrDA to usb-serial, and kept everything else the
same. But of course that's just an educated guess, and I could be complete wrong.
Jef
More information about the devel
mailing list