Re: [PATCH] core: add D-Bus property for ServiceData

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

 



Hi Scott, Johan,

On Mon, Dec 8, 2014 at 8:43 PM, Johan Hedberg <johan.hedberg@xxxxxxxxx> wrote:
> Hi Scott,
>
> On Wed, Sep 24, 2014, Scott James Remnant wrote:
>> Since the standard doesn't make any specific requirement that a UUID
>> present in a Service Data field be also present in a specific UUIDs
>> field, the UUIDs are also added to that list as well.
>> ---
>>  doc/device-api.txt |  9 ++++++
>>  src/adapter.c      |  1 +
>>  src/device.c       | 85 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
>>  src/device.h       |  1 +
>>  src/eir.c          | 72 +++++++++++++++++++++++++++++++++++++++++++++
>>  src/eir.h          | 11 +++++++
>>  6 files changed, 179 insertions(+)
>
> This too looks fine, but the documentation and EIR parsing parts should
> be split into their own patches.

Another possibility would be to add a Data property to
org.bluez.GattService1, but then if the service is not gatt based
perhaps we need something else. I had actually plans to introduce a
generic Service interface as a plugin, it was originally meant to
provide a better control over connections for classic, the interface
documentation can be found here:

https://gitorious.org/bluez/vudentzs-clone/source/b19b4b043fff27e6c3bdbb5e5eefef9b7c0de95b:doc/service-api.txt

This could be exposed in the same object as org.bluez.GattService1 but
we would need to align because right now the paths are different,
having another Property would be easy to add and we can mark some
properties optional in case they don't make sense in LE.


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