Re: [PATCH] gatt-database: allow GattService anywhere in ObjectManager tree

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

 




On 1/10/16, 2:37 PM, "Luiz Augusto von Dentz" <luiz.dentz@xxxxxxxxx> wrote:

>Hi Adam,
>
>> Hi Luiz,
>>
>> You are right - though I still like the initial design of having one
>> service per ObjectManager, as it makes it easier to cleanup or restart
>>(or
>> D-Bus export/unexport) an individual service at the ObjectManager API
>> level.
>>
>> I only added the pointer to manager_path because it was better to test
>> that for that prefix than it was to not do any checking.  I couldn¹t do
>> the stronger test for the GattService path because there is no
>>guaranteed
>> order to the proxy callbacks.
>
>Please check the patch-set Ive sent last week, the idea is that you
>would register the application only once, later on we might implement
>support for InterfacesAdded/InterfacesRemoved allowing services to be
>added/removed without having to unregistering and registering again.

Thanks very much, Luiz!  Looks good - I tried aligning my application to
the new API and it works fine after removing my workaround patch.


>
>> How strict do you think we need to be here in validating the
>>parent/child
>> relationships in the object tree?
>
>Right now it expects the objects to appear in order, service ->
>characteristic -> descriptor, so that we can established proper
>relationship between the objects. I did not add any check for multiple
>applications within the same connection id except if it is the very
>same object path given for the object manager.


Statement of Confidentiality

The contents of this e-mail message and any attachments are confidential and are intended solely for the addressee. The information may also be legally privileged. This transmission is sent in trust, and the sole purpose of delivery to the intended recipient. If you have received this transmission in error, any use, reproduction or dissemination of this transmission is strictly prohibited. If you are not the intended recipient, please immediately notify the sender by reply e-mail or at 508.683.2500 and delete this message and its attachments, if any.

ÿ淸º{.nÇ+돴윯돪†+%듚ÿ깁負¥Šwÿº{.nÇ+돴¥Š{깰¹nzÚ(¶â왲^n‡r⊆¦zË곷h솳鈺Ú&{àz요z받쀺+€Ê+zf"·hš닱~넮녬iÿÿï곴ÿ묎çz_溫æj:+v돣þ)山øm




[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