AnsweredAssumed Answered

I2C HAL For Protocols With Length Specified in Data

Question asked by Magnussen.Jon.001 on Jan 15, 2016
Latest reply on Jun 11, 2017 by johnson.seth
I need to read from a device with a variable length response, where the length of the following data is specified in the first byte received.  I don't see a way to accomplish this using the HAL, as it appears you need to know the rx length at the time of the call.  I think this is a fairly common scenario.  Does anyone have any ideas how to work around this short of writing my own I2C implementation?

Outcomes