Skip to main content
Open topic with navigation CAPL Functions » LIN » LINtp_GetRxData

LINtp_GetRxData

Valid for: CANoe DE • CANoe4SW DE

Function Syntax

void LINtp_GetRxData(byte data[], long size);

Description

Retrieve data bytes received.

Parameters

  • data: Copy bytes into this buffer.
  • size: Maximum number of bytes to copy.

Return Values

Example

LINtp_DataInd(long count, DWORD nad)
{
  byte rxBuffer[4096];
  LINtp_GetRxData(rxBuffer, count);
  write("received <%02x ...> from/for node %02x", rxBuffer[0], nad);
}