Linux bluetooth development
 help / color / mirror / Atom feed
* [PATCH v3 0/5] Add new UUID utility functions and use them in GATT
@ 2011-03-14 18:53 Elvis Pfützenreuter
  2011-03-14 18:53 ` [PATCH v3 1/5] Add new UUID utility functions Elvis Pfützenreuter
                   ` (4 more replies)
  0 siblings, 5 replies; 15+ messages in thread
From: Elvis Pfützenreuter @ 2011-03-14 18:53 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: epx

This series creates new UUID utility functions and, at this momemt, puts
them into use in GATT/Low Energy code. Major differences between 'old'
and 'new' UUID functions are:

* UUID is stored in host order, and converted to/from network or
  Bluetooth order upon use.
* in bt_uuid{16,32,128}_create, raw numeric value (uint16, uint32 or
  uint128) is always passed by value.
* sdp_* prefix is replaced by bt_* for generality.

Types and macros needed by both "old" and "new" UUID functions as well as
their clients are moved to lib/bluetooth.h. This includes ntoh64(),
ntoh128() and friends.

Claudio Takahasi (1):
  Add new UUID utility functions

Elvis Pfützenreuter (4):
  Add more functions for new UUID handling
  Use new UUID functions in GATT
  Use new UUID functions in example GATT server
  Add "unit test" for new UUID functions

 Makefile.am          |    6 +-
 Makefile.tools       |    6 +-
 attrib/att.c         |   47 +++-----
 attrib/att.h         |   69 ++++++++++-
 attrib/client.c      |   26 ++---
 attrib/example.c     |   92 ++++++++-------
 attrib/gatt.c        |   68 ++++++-----
 attrib/gatt.h        |    4 +-
 attrib/gattrib.c     |    3 +-
 attrib/gatttool.c    |   18 ++--
 attrib/interactive.c |   22 ++--
 attrib/utils.c       |    1 +
 health/mcap_sync.c   |   15 ---
 lib/bluetooth.h      |   54 +++++++++
 lib/sdp.c            |   43 -------
 lib/sdp.h            |    4 +-
 lib/uuid.c           |  274 +++++++++++++++++++++++++++++++++++++++++++
 lib/uuid.h           |   65 ++++++++++
 src/adapter.c        |    1 +
 src/attrib-server.c  |   93 ++++++++-------
 src/attrib-server.h  |    4 +-
 src/device.c         |    1 +
 src/main.c           |    1 +
 test/hciemu.c        |   16 ---
 test/uuidtest.c      |  319 ++++++++++++++++++++++++++++++++++++++++++++++++++
 25 files changed, 971 insertions(+), 281 deletions(-)
 create mode 100644 lib/uuid.c
 create mode 100644 lib/uuid.h
 create mode 100644 test/uuidtest.c


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

end of thread, other threads:[~2011-03-15 17:39 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-14 18:53 [PATCH v3 0/5] Add new UUID utility functions and use them in GATT Elvis Pfützenreuter
2011-03-14 18:53 ` [PATCH v3 1/5] Add new UUID utility functions Elvis Pfützenreuter
2011-03-14 20:57   ` Brian Gix
2011-03-14 21:59     ` Elvis Pfützenreuter
2011-03-14 22:10     ` [PATCH v3.1 " Elvis Pfützenreuter
2011-03-14 18:53 ` [PATCH v3 2/5] Add more functions for new UUID handling Elvis Pfützenreuter
2011-03-15  8:49   ` Johan Hedberg
2011-03-14 18:53 ` [PATCH v3 3/5] Use new UUID functions in GATT Elvis Pfützenreuter
2011-03-15  8:52   ` Johan Hedberg
2011-03-15 12:39     ` Elvis Pfützenreuter
2011-03-15 13:05     ` [PATCH v4 1/2] " Elvis Pfützenreuter
2011-03-15 17:39       ` Johan Hedberg
2011-03-15 13:05     ` [PATCH v4 2/2] Add "unit test" for new UUID functions Elvis Pfützenreuter
2011-03-14 18:53 ` [PATCH v3 4/5] Use new UUID functions in example GATT server Elvis Pfützenreuter
2011-03-14 18:53 ` [PATCH v3 5/5] Add "unit test" for new UUID functions Elvis Pfützenreuter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox