diff options
author | Johan Hedberg <johan.hedberg@intel.com> | 2012-06-06 16:05:30 +0800 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2012-06-06 16:05:30 +0800 |
commit | fec848dba730b827e29c82c28cc34222ca89ed07 (patch) | |
tree | 2d5f9be816939b7ee97c9e50c5ad64a23de2f557 /attrib/att.h | |
parent | 5232f762143bcd340c97826ca1212c4d5b07575a (diff) | |
download | bluez-fec848dba730b827e29c82c28cc34222ca89ed07.tar.gz |
att: Start application error codes from the beginning of the range
Application error codes start off with 0x80 onwards. In CSSv2 the range
0xE0-0xFF is reserved for "Common Profile Error Codes" so we should
ensure not to mix that with our own definitions.
Diffstat (limited to 'attrib/att.h')
-rw-r--r-- | attrib/att.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/attrib/att.h b/attrib/att.h index 8979c9567..144513fe6 100644 --- a/attrib/att.h +++ b/attrib/att.h @@ -71,9 +71,9 @@ #define ATT_ECODE_UNSUPP_GRP_TYPE 0x10 #define ATT_ECODE_INSUFF_RESOURCES 0x11 /* Application error */ -#define ATT_ECODE_IO 0xFF -#define ATT_ECODE_TIMEOUT 0xFE -#define ATT_ECODE_ABORTED 0xFD +#define ATT_ECODE_IO 0x80 +#define ATT_ECODE_TIMEOUT 0x81 +#define ATT_ECODE_ABORTED 0x82 /* Characteristic Property bit field */ #define ATT_CHAR_PROPER_BROADCAST 0x01 |