|
Reads a message from the receive buffer. If no message is available, the function returns immediately with return code canERR_NOMSG.
canOK (zero) if a message was read.
canERR_NOMSG (negative) if there was no message available.
canERR_xxx (negative) if failure.