[RFC 00/16] Gatt database initial implementation

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

 



This is proposal how gatt database implementation could look and
how it can be used in Android. Current implementation contains:
 - create/destroy gatt_db
 - adding services, with given number of handles. This function returns
	service attribute andle
 - adding characteristics, descriptors and included services
 - function to start/stop service - it will be used when we expose services
	to client

Next steps in gatt_db implementation should be:
 - handling read/write callbacks
 - handling attribute's permissions
 - now we just increment available handle. We should check if we have free handles
	between existing services

Comments are welcome
Marcin Kraglak

Marcin Kraglak (16):
  gatt: Add skeleton of gatt-db
  gatt: Add services list to gatt_db struct
  gatt: Add method for creating services in gatt_db
  gatt: Remove service functionality
  gatt: Add new sharacteristic functionality
  gatt: Add characteristic descriptor method
  gatt: Add included service functionality
  android/gatt: Add service functionality
  android/gatt: Add implementation of delete service
  android/gatt: Add included service implementation
  android/gatt: Add characteristic implementation
  android/gatt: Add descriptor implementation
  gatt: Add start/stop service functionality
  android/gatt: Add handling of start service command
  android/gatt: Add stop service command handling
  android/gatt: Fix typo in event handlers array

 android/Android.mk   |   1 +
 android/Makefile.am  |   1 +
 android/gatt.c       | 242 +++++++++++++++++++++++++++++++-
 android/hal-gatt.c   |   2 +-
 src/shared/gatt-db.c | 388 +++++++++++++++++++++++++++++++++++++++++++++++++++
 src/shared/gatt-db.h |  67 +++++++++
 6 files changed, 693 insertions(+), 8 deletions(-)
 create mode 100644 src/shared/gatt-db.c
 create mode 100644 src/shared/gatt-db.h

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