* [PATCH BlueZ] deviceinfo: Remove redundant gattrib include
@ 2012-08-15 14:19 Claudio Takahasi
2012-08-15 14:19 ` [PATCH BlueZ] lib: Rename GAP UUID Claudio Takahasi
2012-08-16 7:38 ` [PATCH BlueZ] deviceinfo: Remove redundant gattrib include Johan Hedberg
0 siblings, 2 replies; 4+ messages in thread
From: Claudio Takahasi @ 2012-08-15 14:19 UTC (permalink / raw)
To: linux-bluetooth; +Cc: Claudio Takahasi
---
profiles/deviceinfo/deviceinfo.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/profiles/deviceinfo/deviceinfo.c b/profiles/deviceinfo/deviceinfo.c
index 4548553..ca849ad 100644
--- a/profiles/deviceinfo/deviceinfo.c
+++ b/profiles/deviceinfo/deviceinfo.c
@@ -32,7 +32,6 @@
#include "gattrib.h"
#include "attio.h"
#include "att.h"
-#include "gattrib.h"
#include "gatt.h"
#include "log.h"
#include "deviceinfo.h"
--
1.7.8.6
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH BlueZ] lib: Rename GAP UUID
2012-08-15 14:19 [PATCH BlueZ] deviceinfo: Remove redundant gattrib include Claudio Takahasi
@ 2012-08-15 14:19 ` Claudio Takahasi
2012-08-16 7:39 ` Johan Hedberg
2012-08-16 7:38 ` [PATCH BlueZ] deviceinfo: Remove redundant gattrib include Johan Hedberg
1 sibling, 1 reply; 4+ messages in thread
From: Claudio Takahasi @ 2012-08-15 14:19 UTC (permalink / raw)
To: linux-bluetooth; +Cc: Claudio Takahasi
Cosmetic patch changing the GAP UUID declaration to follow the same
standard of the others GATT based services.
---
lib/uuid.h | 2 +-
src/device.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/uuid.h b/lib/uuid.h
index 2c2b351..3bad8cc 100644
--- a/lib/uuid.h
+++ b/lib/uuid.h
@@ -80,7 +80,7 @@ extern "C" {
#define DUN_GW_UUID "00001103-0000-1000-8000-00805f9b34fb"
-#define GAP_SVC_UUID "00001800-0000-1000-8000-00805f9b34fb"
+#define GAP_UUID "00001800-0000-1000-8000-00805f9b34fb"
#define PNP_UUID "00001200-0000-1000-8000-00805f9b34fb"
typedef struct {
diff --git a/src/device.c b/src/device.c
index dad9c79..f781298 100644
--- a/src/device.c
+++ b/src/device.c
@@ -1894,7 +1894,7 @@ static void primary_cb(GSList *services, guint8 status, gpointer user_data)
for (l = services; l; l = l->next) {
struct gatt_primary *prim = l->data;
- if (strcmp(prim->uuid, GAP_SVC_UUID) == 0)
+ if (strcmp(prim->uuid, GAP_UUID) == 0)
gap_prim = prim;
uuids = g_slist_append(uuids, prim->uuid);
--
1.7.8.6
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH BlueZ] deviceinfo: Remove redundant gattrib include
2012-08-15 14:19 [PATCH BlueZ] deviceinfo: Remove redundant gattrib include Claudio Takahasi
2012-08-15 14:19 ` [PATCH BlueZ] lib: Rename GAP UUID Claudio Takahasi
@ 2012-08-16 7:38 ` Johan Hedberg
1 sibling, 0 replies; 4+ messages in thread
From: Johan Hedberg @ 2012-08-16 7:38 UTC (permalink / raw)
To: Claudio Takahasi; +Cc: linux-bluetooth
Hi Claudio,
On Wed, Aug 15, 2012, Claudio Takahasi wrote:
> ---
> profiles/deviceinfo/deviceinfo.c | 1 -
> 1 files changed, 0 insertions(+), 1 deletions(-)
Applied. Thanks.
Johan
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH BlueZ] lib: Rename GAP UUID
2012-08-15 14:19 ` [PATCH BlueZ] lib: Rename GAP UUID Claudio Takahasi
@ 2012-08-16 7:39 ` Johan Hedberg
0 siblings, 0 replies; 4+ messages in thread
From: Johan Hedberg @ 2012-08-16 7:39 UTC (permalink / raw)
To: Claudio Takahasi; +Cc: linux-bluetooth
Hi Claudio,
On Wed, Aug 15, 2012, Claudio Takahasi wrote:
> Cosmetic patch changing the GAP UUID declaration to follow the same
> standard of the others GATT based services.
> ---
> lib/uuid.h | 2 +-
> src/device.c | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
Applied. Thanks.
Johan
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2012-08-16 7:39 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-15 14:19 [PATCH BlueZ] deviceinfo: Remove redundant gattrib include Claudio Takahasi
2012-08-15 14:19 ` [PATCH BlueZ] lib: Rename GAP UUID Claudio Takahasi
2012-08-16 7:39 ` Johan Hedberg
2012-08-16 7:38 ` [PATCH BlueZ] deviceinfo: Remove redundant gattrib include Johan Hedberg
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).