| 83 | } |
| 84 | |
| 85 | bool SerialIf_IsOpen() |
| 86 | { |
| 87 | if(m_Interface == IF_SERIAL) |
| 88 | { |
| 89 | return m_serialPort.isOpen(); |
| 90 | } |
| 91 | else if(m_Interface == IF_ETHERNET) |
| 92 | { |
| 93 | return m_SocketOpen; |
| 94 | } |
| 95 | |
| 96 | return false; |
| 97 | } |
| 98 | |
| 99 | void SerialIf_Clear() |
| 100 | { |
no outgoing calls
no test coverage detected