diff options
author | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2012-02-06 15:19:01 +0200 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2012-02-07 12:34:12 +0200 |
commit | 21da0977bb103d8e63bd168287821da58a5895be (patch) | |
tree | 7ade7c1a1023d7ad2abb3ee4e8061e908c558b51 | |
parent | 0e7476039b9a42e0f2c75404caa87fc104d76625 (diff) | |
download | bluez-21da0977bb103d8e63bd168287821da58a5895be.tar.gz |
sdptool: Add GoepL2capPsm decoding support
-rw-r--r-- | tools/sdptool.c | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/tools/sdptool.c b/tools/sdptool.c index aea495471..1a89245aa 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) }, |