@NonNull
	protected WriteRequest writeDescriptor(@Nullable final BluetoothGattDescriptor descriptor,
										   @Nullable final Data data) {
		return Request.newWriteRequest(descriptor, data != null ? data.getValue() : null)
				.setRequestHandler(requestHandler);
	}
Writes the given data to the descriptor.
<p>
Use {@link WriteRequest#split() split()} or
{@link WriteRequest#split(DataSplitter) split(ValueSplitter)} on the returned
{@link WriteRequest} if data should be automatically split into multiple packets.
If the descriptor is null, the {@link Request#fail(FailCallback) fail(FailCallback)}
callback will be called.
<p>
The returned request must be either enqueued using {@link Request#enqueue()} for
asynchronous use, or awaited using await() in synchronous execution.

@param descriptor the descriptor to write to.
@param data       data to be written to the descriptor.
@return The request.
ble/src/main/java/no/nordicsemi/android/ble/BleManager.java