diff --git a/monitor/l2cap.c b/monitor/l2cap.c
index c42633d..bee2cd8 100644
--- a/monitor/l2cap.c
+++ b/monitor/l2cap.c
frame->data + 1, frame->size - 1);
}
+static void att_write_req(const struct l2cap_frame *frame)
+{
+ print_field("Handle: 0x%4.4x", bt_get_le16(frame->data));
+ print_hex_field(" Data", frame->data + 2, frame->size - 2);
+}
+
static void att_handle_value_notify(const struct l2cap_frame *frame)
{
const struct bt_l2cap_att_handle_value_notify *pdu = frame->data;
att_read_group_type_req, 6, false },
{ 0x11, "Read By Group Type Response",
att_read_group_type_rsp, 4, false },
- { 0x12, "Write Request" },
+ { 0x12, "Write Request" ,
+ att_write_req, 2, false },
{ 0x13, "Write Response" },
{ 0x16, "Prepare Write Request" },
{ 0x17, "Prepare Write Response" },