docs: private void setPacketReceiptNotifications(final int number)
  			throws DfuException, DeviceDisconnectedException, UploadAbortedException,
  			UnknownResponseException, RemoteDfuException {
  		if (!mConnected)
  			throw new DeviceDisconnectedException("Unable to read Checksum: device disconnected");
  
  		// Send the number of packets of firmware before receiving a receipt notification
  		logi("Sending the number of packets before notifications (Op Code = 2, Value = " + number + ")");
  		setNumberOfPackets(OP_CODE_PACKET_RECEIPT_NOTIF_REQ, number);
  		writeOpCode(mControlPointCharacteristic, OP_CODE_PACKET_RECEIPT_NOTIF_REQ);
  
  		// Read response
  		final byte[] response = readNotificationResponse();
  		final int status = getStatusCode(response, OP_CODE_PACKET_RECEIPT_NOTIF_REQ_KEY);
  		if (status == SecureDfuError.EXTENDED_ERROR)
  			throw new RemoteDfuExtendedErrorException("Sending the number of packets failed", response[3]);
  		if (status != DFU_STATUS_SUCCESS)
  			throw new RemoteDfuException("Sending the number of packets failed", status);
  	}