monitor: Decode GATT Caching errors
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Tue, 6 Mar 2018 15:56:13 +0000 (17:56 +0200)
committerhimanshu <h.himanshu@samsung.com>
Wed, 22 Jan 2020 13:58:35 +0000 (19:28 +0530)
This enables decoding of Database Out of Sync and Value Not Allowed
ATT errors introduced with GATT Caching improvements.

Change-Id: Ia130b26716745691b3cf72e81d2b9aac643657b5
Signed-off-by: himanshu <h.himanshu@samsung.com>
monitor/l2cap.c

index f667335..00d8fce 100755 (executable)
@@ -2151,6 +2151,12 @@ static void att_error_response(const struct l2cap_frame *frame)
        case 0x11:
                str = "Insufficient Resources";
                break;
+       case 0x12:
+               str = "Database Out of Sync";
+               break;
+       case 0x13:
+               str = "Value Not Allowed";
+               break;
        case 0xfd:
                str = "CCC Improperly Configured";
                break;