bool OTGWSerial::StopHardware() { m_bIsStarted=false; terminate(); StopPollerThread(); return true; }
bool Meteostick::StopHardware() { m_bIsStarted = false; terminate(); StopPollerThread(); return true; }
bool OTGWSerial::StopHardware() { m_bIsStarted=false; if (isOpen()) { try { clearReadCallback(); close(); doClose(); setErrorStatus(true); } catch(...) { //Don't throw from a Stop command } } StopPollerThread(); return true; }