Skip to main content

Documentation Index

Fetch the complete documentation index at: https://notevil.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

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.