Skip to main content

Iso11783GetRxData

Valid for: CANoe DE • CANoe4SW DE

Function Syntax

dword Iso11783GetRxData( dword bufferSize, char buffer[] );

Description

An auxiliary function for receiving PG data within a callback function. The DLL interface will not permit you to transfer data arrays via callback. Therefore it serves the purpose of “retrieving” data from the node layer. Since this function is called within a callback, there is no need to transfer an ECU handle. If the function is called from outside of a callback, the call has no effect.

Parameters

  • bufferSize: Size of the buffer
  • buffer: Buffer which should receive the data

Return Values

Number of bytes copied

Example

char data[100];
dword count;

count = Iso11783GetRxData( elCount(data), data );