| 182 | } |
| 183 | |
| 184 | QByteArray SerialIf_ReadLine() |
| 185 | { |
| 186 | if(m_Interface == IF_SERIAL) |
| 187 | { |
| 188 | return m_serialPort.readLine(); |
| 189 | } |
| 190 | else if(m_Interface == IF_ETHERNET) |
| 191 | { |
| 192 | return m_tcpSocket.readLine(); |
| 193 | } |
| 194 | |
| 195 | // Return empty array |
| 196 | return QByteArray(); |
| 197 | } |
| 198 | |
| 199 | qint64 SerialIf_Read(quint8 *data, qint64 max) |
| 200 | { |
no outgoing calls
no test coverage detected