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

linTransmitHeader

Valid for: CANoe DE • CANoe4SW DE

Function Syntax

dword linTransmitHeader(dword frameId); // form 1
dword linTransmitHeader(linFrame frame); // form 2

Description

Transmits a frame header for a specific LIN frame. Note Consider to set always the appropriate bus context in a multibus environment before the function is called. Further information on site MultiBus Environment.

Parameters

  • frameId: ID of the LIN frame whose header will be transmitted.
    Value range: 0..63
  • frame: The LIN frame whose header will be transmitted.

Return Values

Returns 1 if the transmission succeeded, otherwise 0.

Example

// Transmit a LIN header with the id 0x01

linFrame 0x01 frm1;
linTransmitHeader(frm1);
linUpdateResponse