Diff between 34d0109af52b42d570e43558130a8b1a4bb0db62 and 24e9f567b4f1841567022de47c749e36cb56b546

Changed Files

File Additions Deletions Status
monitor/l2cap.c +7 -1 modified

Full Patch

diff --git a/monitor/l2cap.c b/monitor/l2cap.c
index a4d5729..102b7ae 100644
--- a/monitor/l2cap.c
+++ b/monitor/l2cap.c
@@ -1731,6 +1731,11 @@ static void att_read_blob_req(const struct l2cap_frame *frame)
 	print_field("Offset: 0x%4.4x", bt_get_le16(frame->data + 2));
 }
 
+static void att_read_blob_rsp(const struct l2cap_frame *frame)
+{
+	packet_hexdump(frame->data, frame->size);
+}
+
 static void att_read_group_type_req(const struct l2cap_frame *frame)
 {
 	print_handle_range("Handle range", frame->data);
@@ -1807,7 +1812,8 @@ static const struct att_opcode_data att_opcode_table[] = {
 			att_read_rsp, 0, false },
 	{ 0x0c, "Read Blob Request",
 			att_read_blob_req, 4, true },
-	{ 0x0d, "Read Blob Response"		},
+	{ 0x0d, "Read Blob Response",
+			att_read_blob_rsp, 0, false },
 	{ 0x0e, "Read Multiple Request"		},
 	{ 0x0f, "Read Multiple Response"	},
 	{ 0x10, "Read By Group Type Request",