Skip to content

Commit 57f5208

Browse files
authored
Merge pull request #5 from carlospuk/master
Return GATT_SUCCESS when Descriptor is read
2 parents e61f3f5 + 105637a commit 57f5208

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/main/java/com/example/androidthings/gattserver/GattServerActivity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ public void onDescriptorReadRequest(BluetoothDevice device, int requestId, int o
360360
}
361361
mBluetoothGattServer.sendResponse(device,
362362
requestId,
363-
BluetoothGatt.GATT_FAILURE,
363+
BluetoothGatt.GATT_SUCCESS,
364364
0,
365365
returnValue);
366366
} else {

0 commit comments

Comments
 (0)