AnsweredAssumed Answered

Does fread() have a timeout feature (MQX4.2)?

Question asked by Mark Kalior on Oct 8, 2015
Latest reply on Oct 19, 2015 by Daniel Chen

I am reading a response from a perpherial, but some timesome I get no response at all.   If the driver is blocking, then the driver waits forever.   If the driver is non-blocking, then the application must loop on fread() for whatever the timeout period is. 

 

Is there feature of fread() or some other read function, that waits for a response until the timeout period has expired (and becomes non-blocking)?

Outcomes