@Override
	public void writeBuffer(ReceiveBuffer wbuf) {
		try {
			Thread.sleep(1);
		} catch (InterruptedException e) {
		}
		if(wbuf.length() >=4 && wbuf.charAt(0)=='M' && wbuf.charAt(1)=='1' &&wbuf.charAt(2)=='0' &&wbuf.charAt(3)=='5'   ){
			isM105=true;
		}
		sendbuf.put(wbuf.array,0,wbuf.length());
		isSend=true;
		buffer[bufferpos++] = sio.state.lastgcode;
		buffercnt++;
		if(sio.state.debug){
			cons.appendText("Dummy Received:'"+wbuf.toString()+"'");
		}
	}