I am developing a device that reads/writes data blocks to a proprietary sensor over i2c. There is a 2 byte hdr to the data block message so I was using i2c_transfer() to create a 2 msg transaction to write the header, then write the data block with no start/stop in between. This works great for data blocks that are les than or equal to 14 bytes. But anything larger than that I get an error -28 (ENOSPC). Is there a way to increase this limitation? Is this a kernel compile option somewhere? Or is there a format trick I don't know of.
Here is my code:
Thanks,