Re: [WORKAROUND BlueZ 1/3] gdbus: Add fallback to GetProperties

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Mon, Oct 8, 2012 at 4:25 PM, Luiz Augusto von Dentz
<luiz.dentz@xxxxxxxxx> wrote:
> Hi Marcel,
>
> On Mon, Oct 8, 2012 at 3:43 PM, Marcel Holtmann <marcel@xxxxxxxxxxxx> wrote:
>> Hi Luiz,
>>
>>> This adds a fallback for GetProperties method when it is not
>>> implemented.
>>> ---
>>> This set of patches are workarounds to old properties interface to be able to
>>> test new code until other components are ported.
>>
>> I am not sure I want this at all. This is a nasty hack.
>>
>> Especially since interfaces that previously had neither or only some of
>> these methods get these methods. Bad idea. It might work inside BlueZ
>> where we always added these methods, but in other projects some of these
>> methods had been left out since the properties where send via signals
>> with the object path being announced.
>
> Yep, I fully agree this is not meant to be upstream (only perhaps
> behind a compilation flag or something like that), also this does not
> work with clients which do use the introspection data like dbus-python
> because the fallback methods are not part of it the python scripts
> will just fail.

Actually it does work with our test scripts for some reason.

-- 
Luiz Augusto von Dentz
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux