public boolean commandDownloadBuffer(int bufferSize,int bufferid,byte[] bufferData){
		UrpPkg pkg = new UrpPkg();
		UrpCmd cmd = new UrpCmd();
		cmd.setCmdID(COMMAND_DownloadBuffer);
		byte[] com001 = new byte[8+bufferSize];
		Util.putInt(com001, (bufferid),0);
		Util.putInt(com001, (bufferSize),4);
		Util.putByte(com001, bufferData, 8);
		cmd.setData(com001);
		cmd.setdLen(8+bufferSize);
		pkg.setCmdFlag(COMMAND_FLAG);
		pkg.setCmd(cmd);
		pkg.setSeqID(++MainFrame.sequence);
		UrpPkg reply = _UDPCommunication.send(detectorIp, detectorPort, pkg,false);
		UrpCmd urpcmd = reply.getCmd();
		if(urpcmd!=null){ 
			byte[] data = urpcmd.getData();
			byte status  = data[0];
//			0x00 : Download okay
//			 0x01 : Size incorrect (total downloaded size
//			after buffer was received is larger than size
//			specified in Configure Download Command).
//			 0x02: Unknown ‘Download Identifier’ (this
//			error should have been returned earlier in the
//			last ‘Configure Download Reply’)
//			 0x03: Out of Order Buffer Id.
			if(status == 0x00){
				logger.info("[Download Buffer Reply]:Download okay");
				return true;
			}else if(status == 0x01){
				logger.error("[Download Buffer Reply]: Size incorrect (total downloaded size after buffer was received is larger than size specified in Configure Download Command).");
			}else if(status == 0x02){
				logger.error("[Download Buffer Reply]:Unknown ‘Download Identifier’ (this error should have been returned earlier in the last ‘Configure Download Reply’)");
			}else if(status == 0x03){
				logger.error("[Download Buffer Reply]: Out of Order Buffer Id.");
			}
		}
		return false;
	}