diff options
author | Matthew Xie <mattx@google.com> | 2013-05-28 15:24:12 -0700 |
---|---|---|
committer | Matthew Xie <mattx@google.com> | 2013-05-28 15:24:12 -0700 |
commit | 5c06681ea4783e7284e9adec7d7c8f338ef263d8 (patch) | |
tree | 952f8fbcee2632f0f962f556c03fff83c65765c0 /api/18.txt | |
parent | 512031da67147e040f2da31cf30877d09898e311 (diff) | |
download | prebuilts_sdk-5c06681ea4783e7284e9adec7d7c8f338ef263d8.zip prebuilts_sdk-5c06681ea4783e7284e9adec7d7c8f338ef263d8.tar.gz prebuilts_sdk-5c06681ea4783e7284e9adec7d7c8f338ef263d8.tar.bz2 |
Change GATT_FAILURE from 0 to 0x101
GATT_FAILURE 0 clashes with GATT_SUCCESS. For now, they represent different
kind of faiure. One for Gatt operation, one for Gatt registration. But we
should separate them as good practice.
bug 9109238
Change-Id: I360467738b1e840aa6af18e017af3b0f5041b18b
Diffstat (limited to 'api/18.txt')
-rw-r--r-- | api/18.txt | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -4923,7 +4923,7 @@ package android.bluetooth { method public boolean setCharacteristicNotification(android.bluetooth.BluetoothGattCharacteristic, boolean); method public boolean writeCharacteristic(android.bluetooth.BluetoothGattCharacteristic); method public boolean writeDescriptor(android.bluetooth.BluetoothGattDescriptor); - field public static final int GATT_FAILURE = 0; // 0x0 + field public static final int GATT_FAILURE = 257; // 0x101 field public static final int GATT_INSUFFICIENT_AUTHENTICATION = 5; // 0x5 field public static final int GATT_INSUFFICIENT_ENCRYPTION = 15; // 0xf field public static final int GATT_INVALID_ATTRIBUTE_LENGTH = 13; // 0xd |