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

linGetProtectedID

Valid for: CANoe DE • CANoe4SW DE

Function Syntax

Description

With this function it is possible to calculate protected ID for the corresponding LIN frame identifier (i.e. the frame identifier with parity bits).

Parameters

  • frameID: LIN frame identifier whose protected ID will be calculated.
    Value range: 0 .. 63

Return Values

Returns the calculated protected identifier or a value greater than 255 on failure.

Example

Display in Write Window a protected ID for each LIN frame seen on the bus