byte[] getData(@IntRange(from = 23, to = 517) final int mtu) {
		final int maxLength = longReadSupported ? 512 : mtu - 3;
		if (data.length < maxLength)
			return data;
		return Bytes.copy(data, 0, maxLength);
	}
Returns the data to be assigned to characteristic or descriptor.
If {@link #allowLongRead(boolean)} was called with parameter set to false, the data set will
be truncated to match the MTU. Otherwise, they will be truncated to match the maximum
length of Long-Read procedure, that is 512 bytes.
See Bluetooth Core Specification version 5.1 | Vol 3, Part F, 3.2.9 Long Attribute Values.

@param mtu the current MTU.
@return The data to be set to the given characteristic or descriptor.
ble/src/main/java/no/nordicsemi/android/ble/SetValueRequest.java