MCPcopy Create free account
hub / github.com/AstroPrint/AstroBox / getCTS

Method getCTS

src/ext/makerbot_pyserial/serialcli.py:216–219  ·  view source on GitHub ↗

Read terminal status line: Clear To Send

(self)

Source from the content-addressed store, hash-verified

214 self._port_handle.DtrEnable = bool(level)
215
216 def getCTS(self):
217 """Read terminal status line: Clear To Send"""
218 if not self._port_handle: raise portNotOpenError
219 return self._port_handle.CtsHolding
220
221 def getDSR(self):
222 """Read terminal status line: Data Set Ready"""

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected