[RFC 0/3] Gatt Client Characteristic Configuration

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

 



This adds Client Characteristic Configuration descriptor for Service Changed
Characteristic registered on gatt init. This stored value should be persistent
across connections for bonded devices, thus gatt specific api was aded to
bluetooth core profile exposing storage functionality.

We could consider creating more generic functions, allowing to store custom
<key, value> pairs. that other profiles could use aswell. Then on every value
read we would access the file as we do on write, instead of storing it in device
along with other properties.

I'm not sure which aproach would be better. Should we go with the generic
version already or do it later if it turns out that we need to store more
thing for more profiles?

Regards,

Jakub Tyszkowski (3):
  android: Add gatt CCC value storage
  android/gatt: Store CCC and indicate service change
  android/gatt: Make CCC descriptor readable

 android/bluetooth.c |  45 +++++++++++++++++
 android/bluetooth.h |   4 ++
 android/gatt.c      | 141 ++++++++++++++++++++++++++++++++++++++++++++++------
 3 files changed, 174 insertions(+), 16 deletions(-)

--
1.9.3

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