Main Site Documentation

Inaccurate I2C exception message in 4.3


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.


feedback best left at Codeplex