Skip to main content
Open topic with navigation CAPL Functions » LIN » linResetManualChecksum

linResetManualChecksum

Valid for: CANoe DE • CANoe4SW DE

Function Syntax

void linResetManualChecksum(linFrame linFrame);

Description

Sets the correct checksum of a LIN frame, whose checksum has been changed by using linSetManualChecksum() function. The checksum is calculated using the frame data.

Parameters

  • linFrame: LIN frame for which the correct checksum will be used again.

Return Values

Example

Reset checksum error caused by previously called linSetManualChecksum()
...
linFrame MotorControl frmMotorControl;
linResetManualChecksum(frmMotorControl);
output(frmMotorControl); // it is important to call output() to make the changes active