[PATCH] Add support for OBEX Action command

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx>

Add support for parsing OBEX Action command and related headers.
---
 parser/obex.c |    8 +++++++-
 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";
 	}
-- 
1.7.5.4

--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux