Skip to main content

AfdxIsPacketValid

Valid for: CANoe DE • CANoe:lite DE • CANoe4SW DE • CANoe4SW:lite DE

Function Syntax

Description

This function checks if a received packet has a protocol error. Packets with a protocol error are marked with an error icon in the Trace Window.

Parameters

  • packet: Handle of the message that should be checked.

Return Values

  • 0: Packet is valid.
  • 1: Packet has protocol errors.

Example

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