getI2Cfd method

int getI2Cfd()

Returns the file descriptor (for the underlying i2c-dev device) of the I2C handle.

Implementation

int getI2Cfd() {
  _checkStatus();
  return _nativeI2Cfd(_i2cHandle);
}