summaryrefslogtreecommitdiff
path: root/tools/btgatt-client.c
diff options
context:
space:
mode:
authorGowtham Anandha Babu <gowtham.ab@samsung.com>2015-04-14 17:07:48 +0530
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2015-05-15 14:48:27 +0300
commit25eadc12eada033a0a918410084b739122619d62 (patch)
treefb762ad927021b2b569114642fe32fe0e31b4246 /tools/btgatt-client.c
parent54906b01d1363ce313881646935c8f79ad9f3367 (diff)
downloadbluez-25eadc12eada033a0a918410084b739122619d62.tar.gz
tools: Handle the common profile & service ecode
Handles the common profile and service error codes sent over the Attribute Protocol in btgatt-client and monitor.
Diffstat (limited to 'tools/btgatt-client.c')
-rw-r--r--tools/btgatt-client.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/btgatt-client.c b/tools/btgatt-client.c
index fbc01dba0..7c964bd78 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";
}