C2xCompletePacket
Valid for: CANoe DEFunction Syntax
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
- 0: No error, OK
- ≠0: Error code