* [PATCH BlueZ] tools: add GoepL2capPsm decoding support to sdptool
@ 2012-02-06 13:19 Luiz Augusto von Dentz
2012-02-07 10:36 ` Johan Hedberg
0 siblings, 1 reply; 2+ messages in thread
From: Luiz Augusto von Dentz @ 2012-02-06 13:19 UTC (permalink / raw)
To: linux-bluetooth
From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
---
tools/sdptool.c | 11 +++++++++--
1 files changed, 9 insertions(+), 2 deletions(-)
diff --git a/tools/sdptool.c b/tools/sdptool.c
index aea4954..1a89245 100644
--- a/tools/sdptool.c
+++ b/tools/sdptool.c
@@ -226,6 +226,11 @@ static struct attrib_def audio_attrib_names[] = {
{ 0x302, "Remote audio volume control", NULL, 0 },
};
+/* Name of the various GOEP attributes. See BT assigned numbers */
+static struct attrib_def goep_attrib_names[] = {
+ { 0x200, "GoepL2capPsm", NULL, 0 },
+};
+
/* Same for the UUIDs. See BT assigned numbers */
static struct uuid_def uuid16_names[] = {
/* -- Protocols -- */
@@ -261,8 +266,10 @@ static struct uuid_def uuid16_names[] = {
{ 0x1102, "LANAccessUsingPPP", NULL, 0 },
{ 0x1103, "DialupNetworking (DUN)", NULL, 0 },
{ 0x1104, "IrMCSync", NULL, 0 },
- { 0x1105, "OBEXObjectPush", NULL, 0 },
- { 0x1106, "OBEXFileTransfer", NULL, 0 },
+ { 0x1105, "OBEXObjectPush",
+ goep_attrib_names, sizeof(goep_attrib_names)/sizeof(struct attrib_def) },
+ { 0x1106, "OBEXFileTransfer",
+ goep_attrib_names, sizeof(goep_attrib_names)/sizeof(struct attrib_def) },
{ 0x1107, "IrMCSyncCommand", NULL, 0 },
{ 0x1108, "Headset",
audio_attrib_names, sizeof(audio_attrib_names)/sizeof(struct attrib_def) },
--
1.7.7.6
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH BlueZ] tools: add GoepL2capPsm decoding support to sdptool
2012-02-06 13:19 [PATCH BlueZ] tools: add GoepL2capPsm decoding support to sdptool Luiz Augusto von Dentz
@ 2012-02-07 10:36 ` Johan Hedberg
0 siblings, 0 replies; 2+ messages in thread
From: Johan Hedberg @ 2012-02-07 10:36 UTC (permalink / raw)
To: Luiz Augusto von Dentz; +Cc: linux-bluetooth
Hi Luiz,
On Mon, Feb 06, 2012, Luiz Augusto von Dentz wrote:
> From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
>
> ---
> tools/sdptool.c | 11 +++++++++--
> 1 files changed, 9 insertions(+), 2 deletions(-)
Applied. Thanks.
Johan
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-02-07 10:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-06 13:19 [PATCH BlueZ] tools: add GoepL2capPsm decoding support to sdptool Luiz Augusto von Dentz
2012-02-07 10:36 ` 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).