Re: CreateSecureDevice

Marcel Holtmann <[email protected]>
Newsgroups gmane.linux.bluez.devel
Message-ID <[email protected]>
Hi Andrew,

>>> Aren't you maintaining bluez-gnome?  Could you add this fallback to
>>> properties/input.c?
>>
>> feel free to send a patch :)
>
> Trouble is that it doesn't return anything, it just segfaults.
> Probably it's being called in some wrong way.  I might look at it
> someday but given that I can just remove 'Secure' if bluez-utils is
> too old I think I'll just leave the package patched.

if it segfaults then it is a bug in bluez-gnome. It should never  
segfault only because a method is not available.

>>> I'm curious what you mean by "would have broken the API."  Do you  
>>> mean
>>> if we were to remove the method now after it has been released?   
>>> If so
>>> then I agree, it's too late.
>>
>> We can't add any parameters to an already established method call.  
>> And
>> there are cases were we wanna use a device in an unpaired way.
>
> There can be an input device that can be used in either paired or
> unpaired mode as desired?  I wouldn't have thought any such thing
> existed, but if that's so then I agree and am sorry to have troubled
> you about it.

The HID specification and its implementation are broken in some cases :(

Regards

Marcel


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.