Re: [RFC v2 1/1] doc/gatt-api: New API properties and methods for the GATT D-Bus API.

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

 



Hi Arman,

> This patch introduces the following new properties to the GattService1
> interface:
> 
>  Device: A remote-service-only property that contains the D-Bus object
>  path of the associated device.
> 
>  Primary: Reflects whether or not a services is primary or secondary.
> 
> This patch also introduces new methods to GattCharacteristic1 and
> GattDescriptor1 for reading and writing the corresponding attribute
> values and a new signal for being notified of received notifications and
> indications.
> 
> The "Value" D-Bus property is removed from both interfaces
> and replaced with asynchronous ReadValue and WriteValue functions. This
> is due to the fact that DBus.Properties.Get is synchronous and without
> an asynchronous way of issuing a GATT value read request, there are
> cases where a single read and cache based approach becomes limiting
> (e.g. when a characteristic allows reads but no notifications) and
> relying on the PropertyChanged signal to retrieve the value of a read
> request asynchonously as well as to signal notifications/indications
> makes for a vague API.
> ---
> doc/gatt-api.txt | 124 +++++++++++++++++++++++++++++++++++++++++++++++++------
> 1 file changed, 112 insertions(+), 12 deletions(-)

I honestly forgot where we left off with this. I remember vaguely that the patch for the API document should got upstream, but I do not remember if it was this version or not. It also seems that neither Johan nor Luiz picked it up.

Regards

Marcel

--
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