aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2011-06-13 16:46:46 +0300
committerJohan Hedberg <johan.hedberg@intel.com>2011-06-13 17:11:50 +0300
commit477a8db29589eae73cd08709c11eb871eef4fd1a (patch)
tree2b3e57b3cbd487c69fa9f327df87a85c9f17cb82
parentf0b89eca3ed3c80fc61c29bb3a720adfacf37a90 (diff)
downloadbluez-hcidump-477a8db29589eae73cd08709c11eb871eef4fd1a.tar.gz
bluez-hcidump-477a8db29589eae73cd08709c11eb871eef4fd1a.tar.xz
bluez-hcidump-477a8db29589eae73cd08709c11eb871eef4fd1a.zip
Add support for OBEX Action command
Add support for parsing OBEX Action command and related headers.
-rw-r--r--parser/obex.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/parser/obex.c b/parser/obex.c
index 1767efd..ede6748 100644
--- a/parser/obex.c
+++ b/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";
}