Main Site Documentation

Inaccurate I2C exception message in 4.3


#1

I am writing a driver for 4.3. I have found one inaccurate exception message. There is this line in hardware I2C code:

if (count != transacted)
     throw NewLengthErrorException();

The line above calls the following method:

internal Exception NewLengthErrorException()
{
     return new ApplicationException("SoftwareI2C: Exception writing to device at address " + this.Address + " - perhaps device is not responding or not plugged in.");
}

But it is Hardware I2C (NativeI2CBus), not Software.


#2

feedback best left at Codeplex