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

linSetManualChecksum

Valid for: CANoe DE • CANoe4SW DE

Function Syntax

void linSetManualChecksum(linFrame linFrame, byte csValue);

Description

Sets a checksum (that is usually not a correct one) for a LIN frame.

Parameters

  • linFrame: LIN frame for which a checksum will be set.
  • csValue: The checksum value to be set.

Return Values

Example

...
linFrame MotorControl frmMotorControl;
linSetManualChecksum(frmMotorControl, 0x1A);
output(frmMotorControl); // it is important to call output() to make the changes active
linResetManualChecksum