class Request {

	@Deprecated
	@NonNull
	public static WriteRequest newWriteRequest(
			@Nullable final BluetoothGattCharacteristic characteristic,
			@Nullable final byte[] value) {
		return new WriteRequest(Type.WRITE, characteristic, value, 0,
				value != null ? value.length : 0,
				characteristic != null ?
						characteristic.getWriteType() :
						BluetoothGattCharacteristic.WRITE_TYPE_DEFAULT);
	}

	  Request(@NonNull final Type type);
	  Request(@NonNull final Type type, @Nullable final BluetoothGattCharacteristic characteristic);
	  Request(@NonNull final Type type, @Nullable final BluetoothGattDescriptor descriptor);

}