Skip to main content

C2xGetThisData

Valid for: CANoe DE Note
This function is only usable in a CAPL callback that had been registered with C2xReceivePacket.

Function Syntax

Description

This function gets the payload data of the highest interpretable protocol.

Parameters

  • offset: Byte offset relative to the beginning of the payload
  • bufferSize: Number of requested bytes
  • buffer: Buffer in which the requested data are copied

Return Values

Number of copied data bytes.

Example

Node System - PreStart in CAPL Browser
Node Callback Function in CAPL Browser