private bool readAnswer(commands command) { m_dataPort.Active = false; for (int n = RXBUFFERLENGTH; n > 0; n--) m_tempBuffer[n-1] = readByte(); m_dataPort.Active = true; return (m_tempBuffer[RXCOMMANDPOS] == (Byte)command); }