summaryrefslogtreecommitdiff
path: root/tools/parser/obex.c
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2011-06-13 16:46:46 +0300
committerMarcel Holtmann <marcel@holtmann.org>2012-12-17 23:53:03 +0100
commit851b3fd5c759ea84fbc83c13c0365e8c2f446bee (patch)
tree06b86121a23d25d877180931b54bbeb049cc505b /tools/parser/obex.c
parentda3149f3185e7cc241a624155fc75e32c6901f86 (diff)
downloadbluez-851b3fd5c759ea84fbc83c13c0365e8c2f446bee.tar.gz
hcidump: Add support for OBEX Action command
Add support for parsing OBEX Action command and related headers.
Diffstat (limited to 'tools/parser/obex.c')
-rw-r--r--tools/parser/obex.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/tools/parser/obex.c b/tools/parser/obex.c
index 1767efd09..ede674823 100644
--- a/tools/parser/obex.c
+++ b/tools/parser/obex.c
@@ -52,7 +52,7 @@ static char *opcode2str(uint8_t opcode)
case 0x05:
return "SetPath";
case 0x06:
- return "Reserved";
+ return "Action";
case 0x07:
return "Session";
case 0x7f:
@@ -181,6 +181,12 @@ static char *hi2str(uint8_t hi)
return "Session Parameters";
case 0x13:
return "Session Sequence Number";
+ case 0x14:
+ return "Action ID";
+ case 0x15:
+ return "DestName";
+ case 0x16:
+ return "Permission";
default:
return "Unknown";
}