Bluetooth: Add GATT_INSUFFICIENT_AUTHORIZATION error code

Bug: 150670922
Sponsor: jpawlowski@
Tag: #feature
Test: compilation
Change-Id: I25bc13c658caba48cc37b0f1f253a77fd1336b29
This commit is contained in:
Jakub Tyszkowski
2021-08-03 12:48:43 +02:00
committed by Jakub Pawlowski
parent 9e3abef9b3
commit c74aebb4db
2 changed files with 4 additions and 0 deletions

View File

@@ -98,6 +98,9 @@ public final class BluetoothGatt implements BluetoothProfile {
/** A read or write operation was requested with an invalid offset */
public static final int GATT_INVALID_OFFSET = 0x7;
/** Insufficient authorization for a given operation */
public static final int GATT_INSUFFICIENT_AUTHORIZATION = 0x8;
/** A write operation exceeds the maximum length of the attribute */
public static final int GATT_INVALID_ATTRIBUTE_LENGTH = 0xd;