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

Method getCD

src/ext/makerbot_pyserial/serialcli.py:232–235  ·  view source on GitHub ↗

Read terminal status line: Carrier Detect

(self)

Source from the content-addressed store, hash-verified

230 return False #XXX an error would be better
231
232 def getCD(self):
233 """Read terminal status line: Carrier Detect"""
234 if not self._port_handle: raise portNotOpenError
235 return self._port_handle.CDHolding
236
237 # - - platform specific - - - -
238 # none

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected