modify serial device settings instead of using empty template; check if serial fd is a valid terminal

This commit is contained in:
Roland Jax
2014-11-28 14:19:31 +01:00
parent 8c5de31d98
commit 10839f770f
2 changed files with 16 additions and 17 deletions
+3 -3
View File
@@ -106,13 +106,13 @@ public:
ssize_t sizeRecvBuffer() const { return m_recvBuffer.size(); }
protected:
/** if of file descriptor */
/** file descriptor from input device */
int m_fd;
/** state of device*/
/** true if device is opened */
bool m_open;
/** state of device check */
/** true if device check is disabled */
bool m_noDeviceCheck;
/** queue for received bytes */