linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC BlueZ 0/1] Introduce bt_gatt.
@ 2014-05-16 20:37 Arman Uguray
  2014-05-16 20:37 ` [RFC BlueZ 1/1] src/shared/gatt: Introduce bt_gatt skeleton Arman Uguray
  0 siblings, 1 reply; 5+ messages in thread
From: Arman Uguray @ 2014-05-16 20:37 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Arman Uguray

bt_gatt implements GATT client operations and will be backed by bt_att. It is
effectively a rewrite of attrib/gatt, where it provides a more high-level
abstraction over GATT operation results (instead of returning raw PDUs) so that
ATT protocol level encoding/decoding is taken care of by the internal bt_att
instance. This is also meant to be a more thorough implementation of GATT
procedures, however some of them are omitted (for now):

  - "Read Using Characteristic UUID"
  - "Read Multiple Characteristic Values"
  - "Signed Write Without Response"
  - "Characteristic Value Reliable Writes"

These operations can be easily added in the future as needed, since bt_att will
provide all possible ATT protocol interactions.

bt_gatt doesn't implement attribute caching and is not a complete client
implementation on its own. It will be used together with gatt_db, where a higher
level abstraction will be responsible for managing lookups from the database vs
over-the-air and updating the database as needed. bt_gatt only provides the
hooks for performing all the necessary over-the-air GATT procedures.

Comments welcome.

Arman Uguray (1):
  src/shared/gatt: Introduce bt_gatt skeleton.

 Makefile.am       |   3 +-
 src/shared/gatt.c | 192 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 src/shared/gatt.h | 189 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 383 insertions(+), 1 deletion(-)
 create mode 100644 src/shared/gatt.c
 create mode 100644 src/shared/gatt.h

-- 
1.8.3.2


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-05-28  8:53 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-16 20:37 [RFC BlueZ 0/1] Introduce bt_gatt Arman Uguray
2014-05-16 20:37 ` [RFC BlueZ 1/1] src/shared/gatt: Introduce bt_gatt skeleton Arman Uguray
2014-05-25  6:01   ` Marcel Holtmann
2014-05-28  6:20     ` Arman Uguray
2014-05-28  8:53       ` Marcel Holtmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).