Re: Multiple instances of same characteristics (was: Re: GATT Dbus API on BlueZ - attirbute-api.txt modifications)

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

 



Hi Mike,

>> [MT]How can this handle the multiple instances of same characteristics within a single service? The characteristic UUID will not be unique in that case.

In BlueZ GATT services are represented by a D-Bus object path, in the format:

<device-path>/service<handle1>/characteristic<handle2>

Where <device-path> is a path specific to a device connected to a
adapter (there can be multiple adapters on the same host), and
<handle1>/<handle2> are attribute handles for the service and
characteristic declarations, respectively.

Example:

/org/bluez/2161/hci0/dev_00_02_5B_00_D5_D0/service0001/characteristic000a

So, even if you have multiple characteristics with same UUID, they
will have different declaration handles, and thus different object
paths in D-Bus.

>> Also, how is the profile specific characteristic descriptor handled?

I think Chen's proposal does not address this. But there was another
proposal sent by Vijaykumar Dadmode on Oct 4th (subject "Proposal for
GATT Client Dbus API") to this list where it was handling
profile-specific descriptors. We made some comments on it, and we are
waiting for an updated proposal.

We need to consolidate at least these two proposals: Chen's and Vijaykumar's.

Regards,
-- 
Anderson Lizardo
Instituto Nokia de Tecnologia - INdT
Manaus - Brazil
--
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