Diff between 54906b01d1363ce313881646935c8f79ad9f3367 and 25eadc12eada033a0a918410084b739122619d62

Changed Files

File Additions Deletions Status
monitor/l2cap.c +9 -0 modified
tools/btgatt-client.c +6 -0 modified

Full Patch

diff --git a/monitor/l2cap.c b/monitor/l2cap.c
index fc565b1..55efa54 100644
--- a/monitor/l2cap.c
+++ b/monitor/l2cap.c
@@ -2046,6 +2046,15 @@ static void att_error_response(const struct l2cap_frame *frame)
 	case 0x11:
 		str = "Insufficient Resources";
 		break;
+	case 0xfd:
+		str = "CCC Improperly Configured";
+		break;
+	case 0xfe:
+		str = "Procedure Already in Progress";
+		break;
+	case 0xff:
+		str = "Out of Range";
+		break;
 	default:
 		str = "Reserved";
 		break;
diff --git a/tools/btgatt-client.c b/tools/btgatt-client.c
index fbc01db..7c964bd 100644
--- a/tools/btgatt-client.c
+++ b/tools/btgatt-client.c
@@ -114,6 +114,12 @@ static const char *ecode_to_string(uint8_t ecode)
 		return "Group type Not Supported";
 	case BT_ATT_ERROR_INSUFFICIENT_RESOURCES:
 		return "Insufficient Resources";
+	case BT_ERROR_CCC_IMPROPERLY_CONFIGURED:
+		return "CCC Improperly Configured";
+	case BT_ERROR_ALREADY_IN_PROGRESS:
+		return "Procedure Already in Progress";
+	case BT_ERROR_OUT_OF_RANGE:
+		return "Out of Range";
 	default:
 		return "Unknown error type";
 	}