MCPcopy Create free account
hub / github.com/OpenZWave/open-zwave / Close

Method Close

cpp/src/platform/SerialController.cpp:151–163  ·  view source on GitHub ↗

----------------------------------------------------------------------------- Close a serial port -----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

149// Close a serial port
150//-----------------------------------------------------------------------------
151bool SerialController::Close
152(
153)
154{
155 if( !m_bOpen )
156 {
157 return false;
158 }
159
160 m_pImpl->Close();
161 m_bOpen = false;
162 return true;
163}
164
165//-----------------------------------------------------------------------------
166// <SerialController::Write>

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected