@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);
	}
@Test
	public void split_basic() {
		final WriteRequest request = Request.newWriteRequest(characteristic, text.getBytes(), BluetoothGattCharacteristic.WRITE_TYPE_DEFAULT)
				.split();
		chunk = request.getData(MTU);

		// Verify the chunk
		assertNotNull(chunk);
		assertEquals(MTU - 3, chunk.length);
		final String expected = text.substring(0, MTU - 3);
		assertArrayEquals(expected.getBytes(), chunk);
	}