From f125fdd089dd2dcb4a6d6759be2635c351bc26ba Mon Sep 17 00:00:00 2001 From: Luiz Augusto von Dentz Date: Tue, 18 Oct 2022 16:43:09 -0700 Subject: [PATCH] monitor/att: Revert treating Notification/Indication as a request Notification/Indication shall be treated as response (rsp=true) so the correct database is used: > ACL Data RX: Handle 3585 flags 0x02 dlen 14 ATT: Handle Value Notification (0x1b) len 9 Handle: 0x002a Type: Report (0x2a4d) Data: 0000feffff0000 Signed-off-by: Manika Shrivastava Signed-off-by: Ayush Garg --- monitor/att.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/monitor/att.c b/monitor/att.c index 7cd9967..5dc326d 100644 --- a/monitor/att.c +++ b/monitor/att.c @@ -2784,7 +2784,7 @@ static void print_notify(const struct l2cap_frame *frame, uint16_t handle, struct gatt_handler *handler; struct l2cap_frame clone; - print_handle(frame, handle, false); + print_handle(frame, handle, true); print_hex_field(" Data", frame->data, len); if (len > frame->size) { -- 2.7.4