LINtp_GetRxData
Valid for: CANoe DE • CANoe4SW DEFunction Syntax
Description
Retrieve data bytes received.Parameters
- data: Copy bytes into this buffer.
- size: Maximum number of bytes to copy.
void LINtp_GetRxData(byte data[], long size);
LINtp_DataInd(long count, DWORD nad)
{
byte rxBuffer[4096];
LINtp_GetRxData(rxBuffer, count);
write("received <%02x ...> from/for node %02x", rxBuffer[0], nad);
}