Example #1
0
void USHIEngineTester::ePoll_(int stm)
{
    QString message;

    while (process_[stm] && process_[stm]->canReadLine())
    {
        message = process_[stm]->readLine().simplified();

        processMessage_(stm, message);
    }
}
Example #2
0
Message_t* Communication::receive(int timeout)
{
  xbee.readPacket(timeout);
  return processMessage_();
}
Example #3
0
Message_t* Communication::receive()
{
  xbee.readPacket();
  return processMessage_();
}