summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIulia Tanasescu <iulia.tanasescu@nxp.com>2023-05-05 11:29:40 +0300
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2023-05-05 10:55:55 -0700
commitd5d921881b7e143f0a879a1b5d5e43ffb1c7c18f (patch)
tree2ba751a3a10a6ec3d0d708edf35272fad5b17ae8
parent4e549cf48b712088d22028282baabbfc93e5f033 (diff)
downloadbluez-d5d921881b7e143f0a879a1b5d5e43ffb1c7c18f.tar.gz
shared/att-types: Add BT_ERROR_WRITE_REQUEST_REJECTED error code
This adds Write Request Rejected Common Profile and Service Error Code.
-rw-r--r--src/shared/att-types.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/shared/att-types.h b/src/shared/att-types.h
index a08b24155..69f45b6aa 100644
--- a/src/shared/att-types.h
+++ b/src/shared/att-types.h
@@ -4,6 +4,7 @@
* BlueZ - Bluetooth protocol stack for Linux
*
* Copyright (C) 2014 Google Inc.
+ * Copyright 2023 NXP
*
*
*/
@@ -101,9 +102,10 @@ struct bt_att_pdu_error_rsp {
/*
* Common Profile and Service Error Code descriptions (see Supplement to the
* Bluetooth Core Specification, sections 1.2 and 2). The error codes within
- * 0xE0-0xFC are reserved for future use. The remaining 3 are defined as the
+ * 0xE0-0xFB are reserved for future use. The remaining 4 are defined as the
* following:
*/
+#define BT_ERROR_WRITE_REQUEST_REJECTED 0xfc
#define BT_ERROR_CCC_IMPROPERLY_CONFIGURED 0xfd
#define BT_ERROR_ALREADY_IN_PROGRESS 0xfe
#define BT_ERROR_OUT_OF_RANGE 0xff