I'm working converting some old MQX I2C communication to the KSDK and I'm running into issues on how to format the request. In MQX I need to handle all of the ACK, NACK, and time delays to perform the read and writes. The KSDK seems to only have a single command so I'm not sure how to handle communication as I can't seem to get communication up. I've attached my code that opens and does reads and writes to the EEPROM. It includes my original code and also the code I tried to do communication via KSDK.
Original Attachment has been moved to: i2c-sample.c.zip