getSerialFD method

int getSerialFD()

Returns the file descriptor (for the underlying tty device) of the Serial handle.

Implementation

int getSerialFD() {
  _checkStatus();
  return _nativeSerialFd(_serialHandle);
}