MCPcopy Create free account
hub / github.com/Schildkroet/Candle2 / SerialIf_GetError

Function SerialIf_GetError

src/interface/SerialInterface.cpp:104–116  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

102}
103
104QString SerialIf_GetError()
105{
106 if(m_Interface == IF_SERIAL)
107 {
108 return m_serialPort.errorString();
109 }
110 else if(m_Interface == IF_ETHERNET)
111 {
112 return m_tcpSocket.errorString();
113 }
114
115 return QString("");
116}
117
118qint64 SerialIf_Write(const QByteArray &data)
119{

Callers 1

on_btnConnect_clickedMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected