OSDN Git Service
(root)
/
android-x86
/
external-bluetooth-bluez.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
da3149f
)
hcidump: Add support for OBEX Action command
author
Luiz Augusto von Dentz
<luiz.von.dentz@intel.com>
Mon, 13 Jun 2011 13:46:46 +0000
(16:46 +0300)
committer
Marcel Holtmann
<marcel@holtmann.org>
Mon, 17 Dec 2012 22:53:03 +0000
(23:53 +0100)
Add support for parsing OBEX Action command and related headers.
tools/parser/obex.c
patch
|
blob
|
history
diff --git
a/tools/parser/obex.c
b/tools/parser/obex.c
index
1767efd
..
ede6748
100644
(file)
--- 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";
}