Skip to main content

C2xCompletePacket

Valid for: CANoe DE

Function Syntax

long C2xCompletePacket( long packet );

Description

This function completes a packet before sending it with C2xOutputPacket. It calculates the fields that are marked with CompleteProtocol in the protocol overview, e.g. checksum, lengths, etc.

Parameters

  • packet: Handle of a packet that has been created with C2xInitPacket.

Return Values

Example

See example of C2xInitPacket.